WordPress is a application some times act like anything without any reason , well its not like that.
If you have You recently installed a new plugin or a new theme or made some changes in the WordPress theme files, and boom …you just see a blank page when you visit your website!!. oouch !!You can’t even login to dashboard, as it also shows a blank white screen.
A blank screen means that there is some error in the PHP code on the page that you are trying to display Or the memory its trying to fetch is not sufficient . This is normally caused by an incompatible theme or plugin.
1) 1st steps you should enabled the php display_error and try to get the error on screen.
2) Now increase the PHP memory_limit value to something high. some time increasing it to most higher value did not help in that i suggest you to add below line in your configuration file.
==========================
For WordPress Users
In your wp-config.php, find or add the following line:
define(‘WP_MEMORY_LIMIT’, ’64M’);
WordPress will automatically check if PHP has been allocated less memory than the entered value before utilizing this function. For example, if PHP has been allocated 64MB, there is no need to set this value to 64M as WordPress will automatically use all 64MB if need be.
Notice: By default, WordPress will attempt to increase memory allocated to PHP to 32MB (code is at beginning of wp-settings.php), so the setting in wp-config.php should reflect something higher than 32MB.
For Drupal Users
For drupal :
There is another choice, you can edit sites/default/settings.php. Locate the PHP settings section and add the following line at the end of that section:
ini_set(‘memory_limit’, ‘128M’);
This method will affect only the site using this file.
==========================
3) If above didnt help start by deactivating all your plugins and check the site. If the site is functional again, then it means that one of the plugin is causing the issue.
I suggest the best way To find that plugin, activate them again one by one, and check the site after activating each plugin.
Once you find the culprit plugin, use an alternate plugin that is compatible with your current WordPress version.
Note: How to deactivate/activate plugins without logging into WordPress dashboard? Login to your web server via FTP and rename the folders of all the plugins, like by adding _back to all the folder names. This will automatically deactivate all the active plugins.
If deactivating all your plugins doesn’t help, then try switching to the default theme. To do this, login to your web server via FTP and rename the currently active theme. This will force the default theme to be the active theme automatically.
If your site is working fine but you get a blank page when you try to access WordPress dashboard, and none of the above methods work, then try renaming index.php file present in wordpress plugins directory to index.html.
If you see a blank page only when accessing a particular part of your website like pages, archives etc then this is certainly because of an incompatible theme. In this case, there is no need to deactivate the plugins, simply force switch to default theme.
To do this you can check below:
The solution is to change the currently active theme from database.
Open phpMyAdmin, go to your wp database. Open wp_options table. Search for three option_name – template, stylesheet, and current_theme.
SELECT *
FROM wp_options
WHERE option_name = ‘template’
OR option_name = ‘stylesheet’
OR option_name = ‘current_theme’;
See the option_value fields from the search result. The option_value will be your theme name. Change option_value of the search result to ‘classic’ OR ‘default’. Classic and default are the default wordpress themes present at the time of wp installation.
UPDATE wp_options SET option_value = ‘default’ WHERE option_name = ‘template’;
UPDATE wp_options SET option_value = ‘default’ WHERE option_name = ‘stylesheet’;
UPDATE wp_options SET option_value = ‘default’ WHERE option_name = ‘curre
If still nothing works you have to either get hold of support or wordpress guys.
Regards,
Silvester J
365HostingSupport.com