2013-11-26 130 views
-3

我在WordPress插件WP安全工作,我做了一些備份文件時,WordPress的封鎖,旁邊是坡平了事情是這樣的,我不知道如何解決這個..MySQL服務器已消失的wordpress

Settings (general_settings) Error: fetch - MySQL server has gone away 
--- 
Query: select * from d4o1yq7rl_revslider_settings 
#0 /home/hkt/public_html/wp-content/plugins/revslider/inc_php/framework/db.class.php(22): UniteFunctionsRev::throwError('fetch - MySQ...', -1) 
#1 /home/hkt/public_html/wp-content/plugins/revslider/inc_php/framework/db.class.php(36): UniteDBRev->throwError('fetch - MySQ...') 
#2 /home/hkt/public_html/wp-content/plugins/revslider/inc_php/framework/db.class.php(124): UniteDBRev->checkForErrors('fetch') 
#3 /home/hkt/public_html/wp-content/plugins/revslider/inc_php/revslider_params.class.php(42): UniteDBRev->fetch('d4o1yq7rl_revsl...') 
#4 /home/hkt/public_html/wp-content/plugins/revslider/inc_php/revslider_operations.class.php(331): RevSliderParams->getFieldFromDB('general') 
#5 /home/hkt/public_html/wp-content/plugins/revslider/settings/general_settings.php(26): RevOperations->getGeneralSettingsValues() 
#6 /home/hkt/public_html/wp-content/plugins/revslider/inc_php/framework/base_admin.class.php(220): require('/home/hkt/publi...') 
#7 /home/hkt/public_html/wp-content/plugins/revslider/revslider_admin.php(49): UniteBaseAdminClassRev::requireSettings('general_setting...') 
#8 /home/hkt/public_html/wp-content/plugins/revslider/revslider_admin.php(32): RevSliderAdmin->init() 
#9 /home/hkt/public_html/wp-content/plugins/revslider/revslider.php(77): RevSliderAdmin->__construct('/home/hkt/publi...') 
#10 /home/hkt/public_html/wp-settings.php(203): include_once('/home/hkt/publi...') 
#11 /home/hkt/public_html/wp-config.php(98): require_once('/home/hkt/publi...') 
#12 /home/hkt/public_html/wp-load.php(29): require_once('/home/hkt/publi...') 
#13 /home/hkt/public_html/wp-admin/admin.php(30): require_once('/home/hkt/publi...') 
#14 /home/hkt/public_html/wp-admin/index.php(10): require_once('/home/hkt/publi...') 
#15 {main} 
Revolution Slider Error:Settings general not found 
Warning: Cannot modify header information - headers already sent by (output started at /home/hkt/public_html/wp-content/plugins/revslider/inc_php/framework/base_admin.class.php:222) in /home/hkt/public_html/wp-includes/pluggable.php on line 899 

請如果有人可以幫助,這將是偉大的,我必須有2個小時上傳這個網站!

+0

http://stackoverflow.com/questions/15693796/wordpress-database-error-mysql-server-has-gone-away-for-query?rq=1 –

+0

http://stackoverflow.com/questions/1801794/mysql-server-has-gone-away?rq=1 –

+0

在獲得幫助方面,急迫性在這裏幫不了什麼忙,雖然它會幫助你得到低估。您是否嘗試刪除/ home/hkt/public_html/wp-content/plugins/revslider /?這是標準的WP程序,用於刪除導致問題的插件,並且看起來像是一個開始的好地方。 – jameslafferty

回答

0

嘗試改變max_allowed_pa​​cket的設置爲服務器中的較大值。

打開「my.ini/cnf」,位於您的MySQL安裝文件夾中,並在[mysqld]部分更改「max_allowed_packet = 64M」,並且不要忘記重新啓動服務器。 可以通過執行檢查值:

SHOW VARIABLES LIKE 'max_allowed_packet';