NFX DNN Creative Magazine Subscriber
 Nuke Newbie Posts:4
 |
| 14 Aug 2007 10:03 PM |
|
I have restored my DB and copied my DNN site to my local and it all seems good, but when I navigate the the http://localhost/mysite I get immediately redirected back to the live site and my URL changes to http://www.mysite.com/
Any ideas what would cause this?
|
|
|
|
|
jncraig DNN Creative Staff
 Nuke Master II Posts:2318

 |
|
NFX DNN Creative Magazine Subscriber
 Nuke Newbie Posts:4
 |
| 17 Aug 2007 12:10 PM |
|
I did that. I have discovered that the issue appears to be tied to the Friendly URLs provider from Ventrian. When I disable the "HumanFriendly" attribute, the site works as expected with localhost.
Thanks
|
|
|
|
|
leesykes DNN Creative Staff
 Nuke Master III Posts:3325
 |
|
Declic Video FX
 Nuke Pro Posts:67

 |
| 24 Aug 2007 8:56 AM |
|
Posted By NFX on 17 Aug 2007 12:10 PM I did that. I have discovered that the issue appears to be tied to the Friendly URLs provider from Ventrian. When I disable the "HumanFriendly" attribute, the site works as expected with localhost.
Thanks
Thanks, it also helps me !!! But it is a pity, then I can not do all my test, because sometimes, new modules does not work with Friendly URL, and I am obliged to do the test on the prod site... Any idea ???
DV
|
|
Déclic Vidéo FX - http://declic-video-fx.com |
|
|
Declic Video FX
 Nuke Pro Posts:67

 |
| 20 Nov 2007 10:04 AM |
|
Hello
Using windows explorer to navigate to c:\inetpub\wwwroot, then right click and select "New" -> "Folder" and create a folder with the same name as your existing DNN installation. (If you installed to a different location you may simply navigate to that path and substitute it for any further path references)
If I choose for example mydnn as a folder, and I connect to http://localhost/mydnn, my website is showing, excepted that ALL my images are not shown. I need to edit each module, to find the correct path for the images. And the path is modified from: /Portals/0/images/myimage.gif to /mydnn/Portals/0/images/myimage.gif
WHY ? Where is my mistake ??? I tried to re-do the tutorial 5 times, without success.... I have found that in HOST SETTINGS, relative paths is not null compared to my live website. It is set to \mydnn How could I modify this please ???
I give up. DV |
|
Déclic Vidéo FX - http://declic-video-fx.com |
|
|
jncraig DNN Creative Staff
 Nuke Master II Posts:2318

 |
| 20 Nov 2007 10:42 AM |
|
| Try removing the leading /mydnn from the URL. |
|
Joe Craig DNN Creative Support Subscribe to the website |
|
|
Declic Video FX
 Nuke Pro Posts:67

 |
| 21 Nov 2007 4:24 AM |
|
It does not work... I have strictly followed what is written in the tutorial, but without success for the images... Any other idea ???
DV PS: I have heard on other forums that this is a well known problem of DNN... In such case, I do not understand the interest of having a local installation synchronised with a live one... And I do not understand the purpose of the latest Issue26...
|
|
Déclic Vidéo FX - http://declic-video-fx.com |
|
|
leesykes DNN Creative Staff
 Nuke Master III Posts:3325
 |
|
Declic Video FX
 Nuke Pro Posts:67

 |
| 21 Nov 2007 9:40 AM |
|
Posted By leesykes on 21 Nov 2007 5:52 AM Perhaps I should have said something in the videos in issue 26. - I assumed that you have already viewed the tutorials from issue 22 and understood the issue with image urls. - The solution when transferring local to live and vice versa for image urls is in this tutorial: Find and Replace SQL queries for DotNetNuke
(To fix problems after transferring a localhost database to a live website and other useful functions)
(3 videos – 25mins) I think I will add a note to the tutorial page for the synchronization tutorial just to avoid future confusion of image URLs. Thanks, Lee Mmmm, I never see this tutorial. VERY INTERESTING. Thanks so much, DV PS: For information, the problem with image is not mentionned in ISSUE22... You should add a note ??
|
|
Déclic Vidéo FX - http://declic-video-fx.com |
|
|
leesykes DNN Creative Staff
 Nuke Master III Posts:3325
 |
|
Declic Video FX
 Nuke Pro Posts:67

 |
| 22 Nov 2007 5:10 AM |
|
Ok, Sorry... But in general, I download the video, I do not go back to the HTML page...
DV |
|
Déclic Vidéo FX - http://declic-video-fx.com |
|
|