Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Pictures break when moving from localhostPictures break when moving from localhost
Previous
 
Next
New Post
10/2/2008 12:16 PM
 

I've been experiencing an issue, whenever I launch a portal, where all the pictures on the site are broken. Before launching the site, I always make sure to update the Portal aliases. The live site pulls up, and works fine... but all the picture links are broken. The pictures are all fine on the localhost.

When I developed the site, it was in a virtual directory with a subdirectory (/akascr), I don't want the domain to require a sub-directory. if I move the site to mydomain.com/akascr, it works fine... but I don't want to have to put all my DNN sites in sub-directories just to solve this issue. I know I must be overlooking something.

P.S. - By launch, I mean just changing the nameservers of the domain name to the DNN server. I haven't moved anything, so I know it's not a permission issue. Both links go to the "same site."

Take a look:

Using the pre-launch address (works fine because of /akascr):
http://prat1.selfip.com/akascr

Same location... but using the domain name (all pictures broken):
http://www.aka-southcentralregion.com/default.aspx

Thanks!
Robert

 
New Post
10/2/2008 3:34 PM
 

Robert,

This is a pretty common delimma, and the main reason why the Engage: F3 module was created. What happens is that because previously your primary URL was: "yoursite.com/akascr" - having links in your skin or modules to "/akascr/Portals/0/..." was fine. But now "akascr" doesn't have any place in your URL or file system, but your skin and modules still contain references to the old URLs.

I'd suggest just removing "akascr" from the beginning of your URLs, you can do this with a find and replace in notepad for items such as your skin, but I'd suggest using Engage: F3 to find and replace any references in Text/HTML modules. Remember: always to backup your file system and database before or after making any significant changes to your site, such as installing a module.

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
10/2/2008 6:50 PM
 

I sincerely appreciate your response! Sorry to hear it's not something very simple to change. Hopefully there will be something in future versions to prevent this. I will download the module and give it a go!

What does everyone else do to get around this?

Thanks much for your prompt response Ian!
Robert

 
New Post
10/3/2008 6:00 PM
 

Robert,

You're welcome! Let us know how it goes and if you have any feedback on the module or tips for other community members that may encounter the same situation.

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
10/3/2008 6:59 PM
 

The problem is caused by the richtext editor control, which stored links relative of the domain root and not relative within the site. Unfortunately this is not easy to fix without introducing breaking changes. I still hope we will get it fixed when replacing the URLControl with a more powerful successor in DNN 5.1 or 5.2.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Pictures break when moving from localhostPictures break when moving from localhost


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out