WordPress pages shows blank pages

If your WordPress blog is not responding or stalling, this most likely results from a corrupted plugin or theme. When loading the blog in your browser, it will continuously load until it times out, or load with a blank page.

Database Issue

If you are using WordPress 3.1.x, incorrect information in your wp-config.php file can cause a white page to appear. If the MySQL username or MySQL password in this file are incorrect, a white page will appear. In previous versions of WordPress this would appear as a “Error establishing a database connection” message, but that is no longer the case with version 3.1.x.

To fix this issue you must create a new MySQL user and update the wp-config.php file to have the new MySQL username and MySQL Password. Simply locate the following information in that file, and update the bold sections with your new information:

/** MySQL database username */
define(‘DB_USER’, ‘user_wp1’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘password’);

Plugins Issue

You can easily determine if it is a plugin causing the issue by disabling the plugins temporarily. When a plugin is the issue, it is unlikely you will be able to access to the WordPress Admin Dashboard to disable the plugin. The Dashboard can be access by going to your WordPress blog and adding /wp-admin/ onto the end of the URL.

You can determine if it is a plugin issue by simply renaming the directory that stores the plugins. Inside of the /wp-content/ directory, rename the subdirectory /plugins/ to /plugins-bak/. Note this will disable all of your plugins, but it will allow you to access your WordPress.

Alternatively, to disable a specific plugin, you can look under the /wp-content/plugins/ directory of your WordPress installation. Inside of this directory you will see a listing of all of the plugins. You can remove or rename the new plugins directory to deactivate it. Each plugin will have a directory associated with it. You can go down the list and disable a plugin by renaming the directory for that plugin. An example of this would be if you had a plugin directory of /headerplugin/, it could be renamed to /headerplugin-bak/. If your WordPress loads after renaming it, it is likely that specific plugin that is causing the issue.

Themes Issue

If it is not a plugin issue, it may be a theme related issue. If you have access to the WordPress Admin Dashboard, it is recommended to simply log in and change which theme is your default theme. Though some issues can cause you to lose access the WordPress Admin Dashboard. In order to change the theme in this case, you must access the database directly using phpMyAdmin. To determine which database the WordPress is configured to, you would look inside the wp-config.php file to the line: define(‘DB_NAME’, ‘user_wrdp1’);

Once inside of the database, you will need to select the wp_options table from the list.
Inside of this table you will see a list of rows. These rows hold all of the configuration information for your WordPress. Such as the settings to limit number of posts per page, enable comments, etc. The rows we are looking for are template and stylesheet. To edit a row, you simply click on the pencil icon next to the row.

For WordPress 2.9.x and below, you will then replace the option_value for each of these rows to the word default. This will force the default theme to load instead of the custom theme.

For WordPress 3.0.x and above, you will then replace the option_value for each of these rows to the word twentyten. This will force the new 3.0 default theme to load instead of the custom theme.

If you still have problems, please contact us live chat, or email support@webhost.us.com so we can check for hanging processes.

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.