PDA

View Full Version : Changing Domain and Sever


AWMGolfer
03-22-2009, 03:11 PM
I am beyond frustrated at this point as I have done this a number of times before and this time it is just not working for me so I want to make sure this all sounds like I am doing it correctly. I am changing the domain and moving the forum to another server.

I copied and downloaded the database from phpmyadmin and uploaded it on the new site. I zipped down all the files and uploaded them to the new server. I went into the config file and changed the database name, user, and user password to the new one. Put the site link in and I get a Database error.


http://jediphilosophy.net/image.php?type=dberror Database error The database has encountered a problem. Please try the following:
Load the page again by clicking the Refresh (http://jediphilosophy.net/install/tools.php#) button in your web browser.
Open the jediphilosophy.net (http://jediphilosophy.net/) home page, then try to open another page.
Click the Back (http://javascript%3Cb%3E%3C/b%3E:history.back%281%29) button to try another link. The jediphilosophy.net forum technical staff have been notified of the error, though you may contact them (dbmaster@example.com) if the problem persists.
We apologise for any inconvenience.

I know for 100% certainty that my database information and user information is correct in the config file. I've done this before with no issues and all of a sudden this time I am getting this issue. Any thoughts on what I can try or do differently would be much appreciated as I'm pulling my hair out at this point..lol.

R1lover
03-22-2009, 03:28 PM
What version of mysql did you have before and what version are you running on the new server?

Antivirus
03-22-2009, 05:32 PM
What exactly is the database error you are receiving? You should be receiving the db error via email if you have it setup in your config.php file. Knowing th exact database error should help troubleshoot the problem as well.

TigerC10
03-22-2009, 06:12 PM
Did you correct your forumpath variable in config.php? Because I've seen general database errors like that occur when a database function isn't defined thanks to a bad include from the forumpath being altered.

Also, upload the tools.php file and run it to correct your site URL and your cookie path data. Just in case.

Dismounted
03-23-2009, 10:11 AM
Right click on that page and view the source (post the source).