• Resolved kewpie3

    (@kewpie3)


    One of my clients has a site that was taken down and then was restored. The hosting company would not restore the site to the same server as before – new, upgraded server, new database, etc. I was told to expect database errors and that’s what we see – just a white page with some php “depricated” errors. Same thing for any page I try to reach, including wp-admin.

    I’m sure the WP version was out of date. And I’m pretty good around WP as I manage several sites, but I have never had database problems. This is the first time I’ve ever dealt with a site “moving.”

    Can anyone tell me what happened, and how to go about getting this corrected? I can’t log in to wp-admin, I don’t know how to update the database at this stage.

    Thanks in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The errors that you’re seeing are most likely to do with the new server having a newer version of PHP then the old server.

    What’s the URL of your site, so we can see what the errors are? without knowing what they are, it’s almostimpossible to give suggestions on what to try to fix it.

    Thread Starter kewpie3

    (@kewpie3)

    Thanks! nymichael.com, and here are the error messages:

    Deprecated: Assigning the return value of new by reference is deprecated in /home/content/56/12485356/html/wp-settings.php on line 520

    Deprecated: Assigning the return value of new by reference is deprecated in /home/content/56/12485356/html/wp-settings.php on line 535

    Deprecated: Assigning the return value of new by reference is deprecated in /home/content/56/12485356/html/wp-settings.php on line 542

    Deprecated: Assigning the return value of new by reference is deprecated in /home/content/56/12485356/html/wp-settings.php on line 578

    Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/content/56/12485356/html/wp-settings.php on line 18

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/56/12485356/html/wp-settings.php:520) in /home/content/56/12485356/html/wp-includes/pluggable.php on line 850

    Not sure who nymichael is… :/

    But… ??

    Check your wp-cinfig.php file, and ensure that it has this in it:

    define('WP_DEBUG', false);

    Hoepfully that will stop the majority of the error messages until you can get back in to upgrade.

    If that doesn’t work, I’d suggest trying a manual upgrade, which is a bit more of an effort. You’d need to back up all of the sites files, plus the database (most people forget the database…) just in caes something does go wrong. Then you can upload a new version of WordPress over your existing files. The only things that you woldn’t upload are your wp-config.php file and the wp-content folder.

    Thread Starter kewpie3

    (@kewpie3)

    Thank you! I had to go through the manual upgrade, but then I was able to get to wp-admin and that took me automatically to the database upgrade. Basically got it working just fine. Thanks very much!

    Excelent. I’m glad that it’s worked for you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Site restored on a new server, all I see are php errors’ is closed to new replies.