Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Pictures break when moving from localhost
Previous Previous
 
Next Next
New Post 10/2/2008 10:16 AM
User is offline airpanther
76 posts
10th Ranked


Pictures break when moving from localhost 

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 1:34 PM
Online now... Ian Robinson
677 posts
www.engagesoftware.com
7th Ranked


Re: Pictures break when moving from localhost 
Modified By Ian Robinson  on 10/2/2008 3:35: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


Ian Robinson
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
New Post 10/2/2008 4:50 PM
User is offline airpanther
76 posts
10th Ranked


Re: Pictures break when moving from localhost 

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 4:00 PM
Online now... Ian Robinson
677 posts
www.engagesoftware.com
7th Ranked


Re: Pictures break when moving from localhost 

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


Ian Robinson
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
New Post 10/3/2008 4:59 PM
User is offline Sebastian Leupold
16121 posts
www.deutschnetnuke.de
1st Ranked












Re: Pictures break when moving from localhost 

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.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group European Network of DotNetNuke Professionals

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Pictures break when moving from localhost
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


PointClick DotNetNuke Solutions
PointClick Technologies provides high-end DNN Hosting for businesses.
PointClick.Net Hosted Solutions
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com
DotNetNuke Marketplace - Modules & Skins
The DotNetNuke Marketplace is the official e-commerce gateway for the DNN ecosystem. It's the place to buy and sell DotNetNuke modules, DotNetNuke skins, and other DNN offerings.
DotNetNuke Marketplace

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP