Widgets Gone. Database Error
-
I was able to log in fine this morning. I went to delete one widget, the site seemed to time out and then I got:
“Error establishing a database connection”
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?The site continued to time out so I just closed out of everything, waited about 15 minutes and when I logged back in, all of my widgets are gone. There are widgets showing in WP that are not showing on the site and widegets on the site that are not showing in WP.
I checked my error log in BlueHost and this is what I got:
MAIN error_log:
[Tue Sep 28 08:39:26 2010] [error] [client 88.131.106.4] PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so’ – /usr/local/lib/php/extensions/no-debug-non-zts-20060613/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP error_log:
[28-Sep-2010 14:19:19] WordPress database error Table ‘wp_options’ is marked as crashed and should be repaired for query SELECT option_value FROM wp_options WHERE option_name = ‘widget_text’ LIMIT 1 made by require_once, require_once, require_once, do_action, call_user_func_array, wp_widgets_init, do_action, call_user_func_array, WP_Widget_Factory->_register_widgets, WP_Widget->_register, WP_Widget->get_settings, get_option
[28-Sep-2010 14:19:19] WordPress database error Duplicate entry ‘widget_text’ for key ‘option_name’ for query INSERT INTO
wp_options(option_name,option_value,autoload) VALUES (‘widget_text’, ‘a:2:{i:2;a:0:{}s:12:\”_multiwidget\”;i:1;}’, ‘yes’) ON DUPLICATE KEY UPDATEoption_name= VALUES(option_name),option_value= VALUES(option_value),autoload= VALUES(autoload) made by require_once, require_once, require_once, do_action, call_user_func_array, wp_widgets_init, do_action, call_user_func_array, WP_Widget_Factory->_register_widgets, WP_Widget->_register, WP_Widget->get_settings, wp_convert_widget_settings, update_option, add_optionThis has never happened before and I am totally lost!
The topic ‘Widgets Gone. Database Error’ is closed to new replies.