• Resolved akallen

    (@akallen)


    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(https://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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • 1. Check your db credentials with the server admin/support

    2. Check your wp-config.php file.

    Thread Starter akallen

    (@akallen)

    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.

    Thread Starter akallen

    (@akallen)

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘problem with move to new web server, same db server’ is closed to new replies.