akallen
Member
Posted 12 months ago #
My university moved to a new web server and upgraded to php 5.3.6. I am running 2 wp sites and now get the following errors:
1. Error establishing a database connection
2. Constant ABSPATH already defined in M:\Depts\agriculturalsciences\news\wp-config.php on line 27
Although the web address hasn't changed(http://www.depts.ttu.edu/agriculturalsciences/news/), the directory changed from \\depts.ttu.edu\agriculturalsciences
to
\\depts.tosm.ttu.edu\agriculturalsciences
Can you please tell me what I have to do to fix this?
Thanks!
1. Check your db credentials with the server admin/support
2. Check your wp-config.php file.
akallen
Member
Posted 12 months ago #
My db credentials work and are correct in wp-config. The db hasn't changed and the url is the same. Any ideas?
Thanks again.
If your db credentials were correct, then you wouldn't get "Error establishing a database connection". My guess is that the db hostname has changed.
akallen
Member
Posted 12 months ago #
The db administrator confirmed that he can access the db with the creds and the wp-config.php file is correct. He says there must be an issue with the new web server.