Was doing local test for PHP update, then some live site pages down. Error 500

  • Unknown's avatar

    Hello, I was supposed to update the PHP version of our website from 5.x to 7.0. I used a plugin called UpdraftPlus to backup files(database, theme, plugin, uploads, others) from live site and restore those file in my local machine(XAMPP, Apache, local MySQL database).
    I replace the urllinks, home link, and some hardcoded address value in the local database tables, from live site link to localhost. However, we I opened my staging site, there are still some pages pointed to live site such as login page.
    Then, I checked the wp-login.php file and found that the link was code as ‘wp_safe_redirect( ‘https://’ . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’] );’. I am not sure that if this the reason for those pages were still pointed to live site. Also, I am not sure that is this the reason that my live site worked correctly the day after I tested my staging site but then showed error 500 on the third day when I tried to log in. Something wired, only the login page and some other random pages showed Error 500, most pages worked correctly.
    We are a nonprofit organization and since we cannot afford a professional web support technical team, we now have no idea happen during these works. We even have not yet started to update the PHP part.
    It’s a long description of our website issue, appreciate your time and patient. Your suggestion and help mean a lot for us, thank you!
    (Our website is http://www.washingtonautismadvocacy.org/updates/, it belongs to Washington Autism Alliance & Advocacy, not in this personal WordPress account)

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    Your site is not hosted by us (WordPress.com). It is using the self-hosted version of WordPress and it is hosted by Hostmonster. Therefore, you need to contact them regarding your issue.

    We’re only able to provide support for WordPress websites that are hosted by us. For help with a self-hosted WordPress site you can ask over at the WordPress.org forums:

    https://wordpress.org/support/

    If you want to know more about the differences between WordPress.com and the self-hosted WordPress.org you can read this article:

    WordPress.com vs. WordPress.org

  • The topic ‘Was doing local test for PHP update, then some live site pages down. Error 500’ is closed to new replies.