PDOException

PDOException

SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

程序日志
时间 等级 类别 信息
08:10:10.32664 error exception.PDOException
PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone
away in /home/www/sites/framework/db/CDbConnection.php:495
Stack trace:
#0 /home/www/sites/framework/db/CDbConnection.php(495):
PDO->beginTransaction()
#1
/home/www/sites/techbrood/protected/modules/User/services/AccountService.php(497):
CDbConnection->beginTransaction()
#2 /home/www/sites/techbrood/protected/base/Cms.php(182):
AccountService->updateRank(Array)
#3
/home/www/sites/techbrood/protected/modules/User/components/StatWidget.php(36):
Cms::service('User/Account/up...', Array)
#4 /home/www/sites/techbrood/protected/extensions/helpers/Template.php(38):
StatWidget->run()
#5 /home/www/sites/techbrood/themes/techbrood/views/user.php(3):
Template::widget('USER_STAT', 'application.mod...')
#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...', NULL, true)
#8 /home/www/sites/framework/web/CController.php(869):
CBaseController->renderFile('/home/www/sites...', NULL, true)
#9 /home/www/sites/framework/web/CController.php(782):
CController->renderPartial('/user', NULL, true)
#10
/home/www/sites/techbrood/protected/controllers/CmsBaseController.php(82):
CController->render('/user')
#11
/home/www/sites/techbrood/protected/controllers/DefaultController.php(40):
CmsBaseController->showTemplate()
#12 /home/www/sites/framework/web/actions/CInlineAction.php(49):
DefaultController->actionIndex()
#13 /home/www/sites/framework/web/CController.php(308):
CInlineAction->runWithParams(Array)
#14 /home/www/sites/framework/web/CController.php(286):
CController->runAction(Object(CInlineAction))
#15 /home/www/sites/framework/web/CController.php(265):
CController->runActionWithFilters(Object(CInlineAction), Array)
#16 /home/www/sites/framework/web/CWebApplication.php(282):
CController->run('index')
#17 /home/www/sites/framework/web/CWebApplication.php(141):
CWebApplication->runController('default/index')
#18 /home/www/sites/framework/base/CApplication.php(168):
CWebApplication->processRequest()
#19 /home/www/sites/techbrood/index.php(31): CApplication->run()
#20 {main}
REQUEST_URI=/user/53157
HTTP_REFERER=http://techbrood.com/user/53157
---