• Hi,

    I yesterday performed a wordpress install on a ubuntu xenial running apache.
    The DB is used was AWS RDS Maria DB. The install was successfull and the wordpress site was up.
    To save costs i shut down the instance, performed a RDS snapshot and delete RDS DB instance.

    Today when i started instance, restored the DB snapshot and pointed to new DB host in wp-config.php the site is not coming up. The connection to DB is fine as tested on port 3306 from server running wordpress.
    The page is not displaying an error just keeps on loading.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Dear @mohanish12,
    Please activate WP DEBUG LOG in your WordPress and replicate the issue. Check the log file and if there are any errors, please paste the in this thread.

    Thread Starter mohanish12

    (@mohanish12)

    hi @ospiotr

    thanks for responding.
    I tried enabling WP DEBUG LOG by following the article you mentioned. Below code i included in my wp-config.php. However there is no log file getting generated under wp-content.

    Please if you can guide

    @mohanish12,

    Visit web hosting control panel or contact your server administrator. It may happen that error logging won’t work. In that case, you need contact your server administrator and ask him to share error log file with you. Many of the web hosts saves such logs by default. In the most of the web hosting control panels, there is a way to download the error log file without need of contacting web host support.

    OR:
    to diagnose these issues, it is essential to review the PHP error logs for your website. Unfortunately, there is no standard location for the PHP error log, and it can be set to be stored in a different location depending on your host. To find the PHP error log, you can:

    1. Create a file name phpinfo.php in the root of your WordPress’s directory
    2.Open the phpinfo.php file in a text editor
    3. Insert the following code into the file: <?php phpinfo(); ?>
    4. Open the file on your site, for example, if your site’s URL is example.com, you can open the file by visiting https://example.com/phpinfo.php
    5. Search the page for the error_log value. The file path listed here is the absolute file path of the PHP error log – visit that address on your server and you should find the PHP error log. If the value is empty, then you need to set a value to log errors on your site.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress not working after RDS DB restore’ is closed to new replies.