techbrood.com
程序日志 | ||||
---|---|---|---|---|
时间 | 等级 | 类别 | 信息 | |
03:21:20.23145 | error | system.db.CDbCommand | CDbCommand::fetchAll() failed: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away. The SQL statement executed was: SHOW FULL COLUMNS FROM `categories`. |
|
03:21:20.26267 | error | exception.CDbException | CDbException: 数据库中无法找到 active record class "Category" 对应的 table "categories". in /home/www/sites/framework/db/ar/CActiveRecord.php:2310 Stack trace: #0 /home/www/sites/framework/db/ar/CActiveRecord.php(387): CActiveRecordMetaData->__construct(Object(Category)) #1 /home/www/sites/framework/db/ar/CActiveFinder.php(215): CActiveRecord::model('Category') #2 /home/www/sites/framework/db/ar/CActiveFinder.php(48): CActiveFinder->buildJoinTree(Object(CJoinElement), 'Categories') #3 /home/www/sites/framework/db/ar/CActiveRecord.php(271): CActiveFinder->__construct(Object(Article), 'Categories') #4 /home/www/sites/framework/db/ar/CActiveRecord.php(141): CActiveRecord->getRelated('Categories') #5 /home/www/sites/techbrood/protected/modules/News/services/ArticleService.php(76): CActiveRecord->__get('Categories') #6 /home/www/sites/techbrood/protected/base/Cms.php(182): ArticleService->searchByCategoryId(Array) #7 /home/www/sites/techbrood/protected/modules/News/components/LatestNewsInSideWidget.php(15): Cms::service('News/Article/se...', Array) #8 /home/www/sites/techbrood/protected/extensions/helpers/Template.php(38): LatestNewsInSideWidget->run() #9 /home/www/sites/techbrood/themes/techbrood/views/home.php(177): Template::widget('TOP_NEWS_LATEST', 'application.mod...') #10 /home/www/sites/framework/web/CBaseController.php(126): require('/home/www/sites...') #11 /home/www/sites/framework/web/CBaseController.php(95): CBaseController->renderInternal('/home/www/sites...', NULL, true) #12 /home/www/sites/framework/web/CController.php(869): CBaseController->renderFile('/home/www/sites...', NULL, true) #13 /home/www/sites/framework/web/CController.php(782): CController->renderPartial('/home', NULL, true) #14 /home/www/sites/techbrood/protected/controllers/CmsBaseController.php(82): CController->render('/home') #15 /home/www/sites/techbrood/protected/controllers/DefaultController.php(40): CmsBaseController->showTemplate() #16 /home/www/sites/framework/web/actions/CInlineAction.php(49): DefaultController->actionIndex() #17 /home/www/sites/framework/web/CController.php(308): CInlineAction->runWithParams(Array) #18 /home/www/sites/framework/web/CController.php(286): CController->runAction(Object(CInlineAction)) #19 /home/www/sites/framework/web/CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array) #20 /home/www/sites/framework/web/CWebApplication.php(282): CController->run('') #21 /home/www/sites/framework/web/CWebApplication.php(141): CWebApplication->runController('') #22 /home/www/sites/framework/base/CApplication.php(168): CWebApplication->processRequest() #23 /home/www/sites/techbrood/index.php(31): CApplication->run() #24 {main} REQUEST_URI=/?t=briefs&q=%E6%9D%8F%E5%BD%A9%E4%BA%94%E6%98%9F%E7%89%B9%E6%AE%8A%E6%95%B0%E6%8D%AE%E5%88%86%E6%9E%90%E3%80%90%E2%94%8B%E7%BB%99%E5%8A%9B2%E2%85%A07431%5B%E6%89%A3%E3%80%93%E3%80%91 HTTP_REFERER=http://www.techbrood.com/?t=briefs&q=%E6%9D%8F%E5%BD%A9%E4%BA%94%E6%98%9F%E7%89%B9%E6%AE%8A%E6%95%B0%E6%8D%AE%E5%88%86%E6%9E%90%E3%80%90%E2%94%8B%E7%BB%99%E5%8A%9B2%E2%85%A07431%5B%E6%89%A3%E3%80%93%E3%80%91 --- |