使用第三方网站账号登录

腾讯QQ
CDbException

CDbException

CDbCommand 无法执行 SQL 语句: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

程序日志
时间 等级 类别 信息
11:51:23.558228 error system.db.CDbCommand
CDbCommand::fetch() failed: SQLSTATE[HY000]: General error: 2006 MySQL
server has gone away. The SQL statement executed was: SELECT * FROM
`widgets` `t` WHERE Module = :Module AND Widget = :Widget LIMIT 1. Bound
with :Module='Site', :Widget='FooterWidget'.
11:51:23.558341 error exception.CDbException
CDbException: CDbCommand 无法执行 SQL 语句: SQLSTATE[HY000]: General
error: 2006 MySQL server has gone away in
/home/www/sites/framework/db/CDbCommand.php:541
Stack trace:
#0 /home/www/sites/framework/db/CDbCommand.php(414):
CDbCommand->queryInternal('fetch', Array, Array)
#1 /home/www/sites/framework/db/ar/CActiveRecord.php(1297):
CDbCommand->queryRow()
#2 /home/www/sites/framework/db/ar/CActiveRecord.php(1402):
CActiveRecord->query(Object(CDbCriteria))
#3 /home/www/sites/techbrood/protected/extensions/helpers/Template.php(15):
CActiveRecord->find('Module = :Modul...', Array)
#4 /home/www/sites/techbrood/protected/extensions/helpers/Template.php(23):
Template::getWidgetDefaultSettings('Site.Footer')
#5 /home/www/sites/techbrood/themes/techbrood/views/layouts/reg.php(109):
Template::widget('CMS_FOOTER', 'Site.Footer')
#6 /home/www/sites/framework/web/CBaseController.php(126):
require('/home/www/sites...')
#7 /home/www/sites/framework/web/CBaseController.php(95):
CBaseController->renderInternal('/home/www/sites...', Array, true)
#8 /home/www/sites/framework/web/CController.php(784):
CBaseController->renderFile('/home/www/sites...', Array, true)
#9
/home/www/sites/techbrood/protected/controllers/CmsBaseController.php(82):
CController->render('/login')
#10
/home/www/sites/techbrood/protected/controllers/DefaultController.php(40):
CmsBaseController->showTemplate()
#11 /home/www/sites/framework/web/actions/CInlineAction.php(49):
DefaultController->actionIndex()
#12 /home/www/sites/framework/web/CController.php(308):
CInlineAction->runWithParams(Array)
#13 /home/www/sites/framework/web/CController.php(286):
CController->runAction(Object(CInlineAction))
#14 /home/www/sites/framework/web/CController.php(265):
CController->runActionWithFilters(Object(CInlineAction), Array)
#15 /home/www/sites/framework/web/CWebApplication.php(282):
CController->run('index')
#16 /home/www/sites/framework/web/CWebApplication.php(141):
CWebApplication->runController('default/index')
#17 /home/www/sites/framework/base/CApplication.php(168):
CWebApplication->processRequest()
#18 /home/www/sites/techbrood/index.php(31): CApplication->run()
#19 {main}
REQUEST_URI=/login?back_url=https://wow.techbrood.com/fiddle/39780?vm=full
HTTP_REFERER=http://techbrood.com/login?back_url=https://wow.techbrood.com/fiddle/39780?vm=full
---