Support

Site Restoration

#40933 after restoring any recent backup. get wp white screen of death

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
8.2.7
CMS Type
WordPress
CMS Version
6.5
Backup Tool Version
8.2.3
Kickstart version
8.0.4

Latest post by nicholas on Tuesday, 16 July 2024 08:59 CDT

svavra

after restoring any backup version i have stored, i am blessed with the white screen of death. the page source of the white screen is:

 

<?php
  /**
  * Front to the WordPress application. This file doesn't do anything, but loads
  * wp-blog-header.php which does and tells WordPress to load the theme.
  *
  * @package WordPress
  */
   
  /**
  * Tells WordPress to load the WordPress theme and output it.
  *
  * @var bool
  */
  define( 'WP_USE_THEMES', true );
   
  /** Loads the WordPress Environment and Template */
  require __DIR__ . '/wp-blog-header.php';

svavra

please note that i haven't bothered to get an ssl certificate for this as i can't even restore the site.

 

nicholas
Akeeba Staff
Manager

So, this is not a "white screen of death" (HTTP 500 Internal Server Error without an error template file), it's a .htaccess configuration issue.

Edit your .htaccess file and find the AddHandler or SetHandler line. Comment it out by placing a # in front of it.

Then go to your hosting control panel and set the correct PHP version for your site. This will add similar code to the bottom of the .htaccess file, but you will see that the AddHandler or SetHandler line is different.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!