我在wordpress插件wp安全工作,我确实备份了一些文件,当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 :(得分:0)
问题可能是由于查询关闭了mysql连接或超时。你可以在这里找到详细信息 http://dev.mysql.com/doc/refman/5.0/en/gone-away.html 如果它是可以由您管理的本地mysql服务器,请尝试重新启动它 否则使用另一个mysql用户连接
答案 1 :(得分:0)
尝试将max_allowed_packet设置更改为服务器中的较大值。
打开位于MySQL安装文件夹中的“my.ini/cnf
”,并在[mysqld]部分下更改“max_allowed_packet = 64M
”,不要忘记重新启动服务器。
您可以通过执行以下命令来检查值:
SHOW VARIABLES LIKE 'max_allowed_packet';