You need to Register for free and Login to post a message in the forum.

Forum

Subject: Issue 22 Question
Prev Next
You are not authorized to post a reply.

Author Messages
NFX
DNN Creative Magazine Subscriber
Nuke Newbie
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
Nuke Master II
Posts:2318


15 Aug 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
DNN Creative Support
Subscribe to the website
NFX
DNN Creative Magazine Subscriber
Nuke Newbie
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
Nuke Master III
Posts:3325

20 Aug 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/leesykes

Lee Sykes's Facebook Profile
Declic Video FX
Nuke Pro
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
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
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
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
Nuke Master III
Posts:3325

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

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

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
Declic Video FX
Nuke Pro
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
Nuke Master III
Posts:3325

22 Nov 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/leesykes

Lee Sykes's Facebook Profile
Declic Video FX
Nuke Pro
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
You are not authorized to post a reply.
Forums > Users Lounge > DNN Creative Articles > Issue 22 Question



ActiveForums 3.7

Latest Forum Posts

RE: Reversing Limited Access to the Admin Menu by wynnjon
OK-So I've updated the TABS table entries in the database and set the previously modified entries (t...
RE: localhost Install issues by leesykes
If you go to the subscribe page and click on the get free trial button - this takes you to a page wh...
localhost Install issues by cdees
I've set up a local host and want to run DNN for a local development machine.  The host is set up; h...
RE: Reversing Limited Access to the Admin Menu by wynnjon
That is what I thought.  So for my clients that will need to manage user accounts, I can not limit t...
RE: Reversing Limited Access to the Admin Menu by leesykes
I seem to recall it doesn't work
RE: Reversing Limited Access to the Admin Menu by wynnjon
Thanks Lee-  I will give that a try.An additional question- If you place the "User Accounts" page un...
RE: Reversing Limited Access to the Admin Menu by leesykes
all you need to do is reverse the process within the SQL tables.Compare the data to the other rows i...
RE: Module not working when logged off. by leesykes
thanks for the info,
Reversing Limited Access to the Admin Menu by wynnjon
Hi!  I followed the tutorial for limiting the access to the admin menu.  What a great thing!However,...
RE: Trouble installing! Designer trying to be a Developer. by leesykes
glad to hear you found a solution, thanks,
RE: Skim Question by leesykes
You could but you will not be able to have an XHTML compliant page as the SolpartMenu is non-complia...
RE: Include in Menu - Weird Request by leesykes
For your sitemap.xml file - use GSiteCrawlerYou could create the site map before moving the sub menu...
RE: Trouble installing! Designer trying to be a Developer. by awright14
It looks like I had ASP installed in the wrong order.  Copying and pasting this into the Run Command...
RE: Need Help Changing Containers Contentpane's Text Color by leesykes
Hello,Have you tried adding a class to the content area of your container and then styling the p, a,...
RE: Vertical SolpartMenu by leesykes
hello,If you wish to display the admin and host menus within the house menu, you need to enable it i...
RE: Firefox Does Not Display WMV File In Media Module by leesykes
Hello,I have just tested this and I can play a wmv file in Firefox 3.0.3, so it does suggest that it...
RE: advice wanted convert site to DNN while keeping existing asp functionality by leesykes
You could try using the IFrame module in DotNetNuke and then just link the IFrame to the current pag...
RE: Need Help Changing Containers Contentpane's Text Color by CROKeefe
Thanks for the quick update... I know it looks broken right now, but I had the TITLE classes working...
RE: Need Help Changing Containers Contentpane's Text Color by leesykes
The default class for a container is .head so you will find that the .head class will override any s...
RE: Module not working when logged off. by t.ramya85
have to set the cache time to '0' in that module setting.
DotNetNuke Modules
RSS Feeds