Issue 22 Question
Last Post 11/22/2007 5:10 AM by Déclic Vidéo FX. 11 Replies.
Author Messages
Nelson Fernandez
Nuke Newbie
Nuke Newbie
Posts:6


--
08/14/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?
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    08/15/2007 8:05 AM
    You need to change portalalias in your localhost database.   How to backup a live hosted DotNetNuke website and restore it to a localhost installation shows you how to do this.

    If you have SQL Server Management Studio Express, you can connect to the database and change it that way.

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    Nelson Fernandez
    Nuke Newbie
    Nuke Newbie
    Posts:6


    --
    08/17/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
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    08/20/2007 3:59 AM
    Thanks for the info, that's interesting to know,

    Cheers,
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Déclic Vidéo FX
    Nuke Pro
    Nuke Pro
    Posts:93


    --
    08/24/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
    Déclic Vidéo FX
    Nuke Pro
    Nuke Pro
    Posts:93


    --
    11/20/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
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    11/20/2007 10:42 AM
    Try removing the leading /mydnn from the URL.

    Joe Craig, Patapsco Research Group
    Complete DNN Support
    Déclic Vidéo FX
    Nuke Pro
    Nuke Pro
    Posts:93


    --
    11/21/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
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    11/21/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
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Déclic Vidéo FX
    Nuke Pro
    Nuke Pro
    Posts:93


    --
    11/21/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
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    11/22/2007 4:20 AM
    On the tutorial How to transfer a localhost DotNetNuke installation to a live website, it states:

    "Once you have watched this video tutorial, make sure you follow this tutorial: Find and Replace SQL queries for DotNetNuke (To fix any image URL problems after transferring a localhost database to a live site and other useful functions)"

    Perhaps I need to put a highlight box around it.


    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Déclic Vidéo FX
    Nuke Pro
    Nuke Pro
    Posts:93


    --
    11/22/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


    ---