If you are experiencing stalled pages or not responding pages on your WordPress blog, there is a good chance this is due to a corrupted theme or plugin.
Fixing The Database
Wordpress 3.1.x will display a blank page if there is an error in your wp-config.php file. This can include username or password errors. The solution for this problem is to create a new user for the database, then update the wp-config.php file with the username and password data. This can be done by opening the wp-config.php file and replacing the italicized text with your username or password.
/** MySQL database username */ define('DB_USER', 'user_name'); define('DB_PASSWORD', 'password'); |
Â
Theme
Some problems might keep you from reliably accessing the WordPress Dashboard, so it is probably a more reliable method to change the theme through phpMyAdmin.
- Find the wp-config.php and open it.
- Find the following line:
define('DB_NAME', 'user_wrdp1'); - Open the database in phpMyAdmin
- Select "wp_options" from the list.
- Find the rows in the table called "template" and "stylesheet".
- If you are using WordPress version 3.0.x or newer, edit the "option_value" for these rows and change the value to the word "twentyfourteen".
- If you are using WordPress version 2.9.x or older, you will edit the "option_value" and change the value to "default".
Â
Plugins
To determine if a plugin if causing these errors, you will need to access the WordPress Dashboard and remove each plugin individually, and load your blog to see if the error is still occurring. When you remove a plugin and the errors stop, you know that plugin caused the problem.