Hostwinds Tutorials
Search results for:
Table of Contents
Tags: WordPress
If all you get when you go to your site is a blank white screen, this is called the white screen of death, and it's a common WordPress problem. A fatal PHP error normally causes it, and if you don't have error reporting turned on, you won't see anything but that white screen. Common causes include:
As always, be sure you back up your files and backup your databases before making any changes so that Hostwinds can easily restore your account from a backup.
Turn on Debug
Go to your cPanel's File Manager or connect through FTP
Go to your WordPress document root or folder where this is installed
Open the wp-config.php file
Add the following line:
define('WP_DEBUG', true);
Take note of any errors that show up, if any, so that we can help
Plugins
The second thing we recommend is checking your plugins.
Themes
If it wasn't a plugin, check that it's not your theme.
Memory
If neither of the above has helped, your site may be running out of memory needed to load everything on your site.
Go to your site's root directory in cPanel or FTP
Find the wp-config file
Make a backup copy of this file
Add this line:
define('WP_MEMORY_LIMIT', '128M');
Corrupt files
If all else fails, it might be that you've ended up with corrupt files in your WordPress installation. You can download the newest WordPress version and unzip the file somewhere or update WordPress through Softaculous if you have installed WordPress using Softaculous. If you have installed WordPress manually, you can upload and replace these folders:
Important: Do not upload and replace the wp-content folder, or you'll lose all your pages, posts, plugins, and everything else.
If you're trying to upload images and getting the error "Unable to create directory /wp-content/uploads — try this:
Lastly, if these don't work, check your folder and file permissions in cPanel or through FTP:
If you have any trouble, please open a support ticket to help you in any way that we can.
Written by Hostwinds Team / December 13, 2016