PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
tommyb
Hangin' Around


Joined: May 31, 2006
Posts: 49

PostPosted: Mon Jul 10, 2006 1:44 am Reply with quote Back to top

I created a new nuke site which I want to overwrite an existing one with. When I trialed this and tried to log into admin it would redirect me to the old sites admin panel. My question is what values do I need to change in the database in config etc. to alter the paths so it all works with the new address?

e.g.
Only registered users can see links on this board!
Get registered or login to the forums!
redirects to
Only registered users can see links on this board!
Get registered or login to the forums!

but i don't want it to Sad

Thanks
View user's profile Send private message
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1472
Location: In front of a screen....HELP! lol

PostPosted: Mon Jul 10, 2006 5:55 am Reply with quote Back to top

The way nuke defines which site its in is by calling the server and asking it for the info of where its at, makes no sense for it to be relinking you to the old admin.php.

A link to show us may help.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
jaded
Theme Guru


Joined: Nov 01, 2003
Posts: 914

PostPosted: Mon Jul 10, 2006 6:03 am Reply with quote Back to top

it could just be your computers cache and cookies. try deleting all of that and then reboot. that could solve your issue.
View user's profile Send private message Visit poster's website
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 2203
Location: near Albany NY

PostPosted: Mon Jul 10, 2006 6:48 am Reply with quote Back to top

You could also check your .htaccess file to see if there are any redirects in there. But the most likely solution is to change your config.php to point to the new database. There are fields for the database name, the database user name, and the password and those have to be pointing to your new database.
View user's profile Send private message Visit poster's website
tommyb
Hangin' Around


Joined: May 31, 2006
Posts: 49

PostPosted: Mon Jul 10, 2006 6:52 am Reply with quote Back to top

I've changed the values in config.php etc. Sentinal was installed with http auth on so i'm wondering if this could be the cause. Thanks for the replies so far. Unfortunately now i'm having major problems with my hosting company so trying various solutions may now take some time. I'm pretty sure its not to do with cookies or cache though as I tried clearing all that data when I first had the problem.

thanks
View user's profile Send private message
tommyb
Hangin' Around


Joined: May 31, 2006
Posts: 49

PostPosted: Mon Jul 10, 2006 7:44 am Reply with quote Back to top

Ok every link points to the old site for some reason. As i said i have changed config.php to reflect the new database name etc yet every module seems to be grabbing data from the old site. I must be missing a simple value somewhere but I can't think where I edited the config table in the mysql database to change the siteurl to the new url as well. Shocked
View user's profile Send private message
gregexp
The Mouse Is Extension Of Arm


Joined: Feb 21, 2006
Posts: 1472
Location: In front of a screen....HELP! lol

PostPosted: Mon Jul 10, 2006 7:54 am Reply with quote Back to top

what is the REAL url and the old url?
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
tommyb
Hangin' Around


Joined: May 31, 2006
Posts: 49

PostPosted: Mon Jul 10, 2006 8:06 am Reply with quote Back to top

argh it doesn't matter now all my databases have stopped working due to a fault server end...... Sad Crying or Very sad thanks for offering though darklord
View user's profile Send private message
tommyb
Hangin' Around


Joined: May 31, 2006
Posts: 49

PostPosted: Tue Jul 11, 2006 10:01 am Reply with quote Back to top

I found out my problem now my hosts servers a working. I'd set the base url in the header fil and forgot about it s copying the site it thought it should still go to this base url instead. Maybe one day i'll not my changes.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum