TDbException

Description

TDbCommand failed to execute the query SQL "SHOW FULL FIELDS FROM `adt_site_categorie`": SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine

Source File

/var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/Data/TDbCommand.php (230)

0219:         try
0220:         {
0221:             // Prado::trace('Query: '.$this->getDebugStatementText(), 'System.Data');
0222:             if($this->_statement instanceof PDOStatement)
0223:                 $this->_statement->execute();
0224:             else
0225:                 $this->_statement=$this->getConnection()->getPdoInstance()->query($this->getText());
0226:             return new TDbDataReader($this);
0227:         }
0228:         catch(Exception $e)
0229:         {
0230: throw new TDbException('dbcommand_query_failed',$e->getMessage(),$this->getDebugStatementText());
0231: } 0232: } 0233: 0234: /** 0235: * Executes the SQL statement and returns the first row of the result. 0236: * This is a convenient method of {@link query} when only the first row of data is needed. 0237: * @param boolean whether the row should be returned as an associated array with 0238: * column names as the keys or the array keys are column indexes (0-based). 0239: * @return array the first row of the query result, false if no result. 0240: * @throws TDbException execution failed 0241: */ 0242: public function queryRow($fetchAssociative=true)

Stack Trace

#0 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/Data/Common/Mysql/TMysqlMetaData.php(56): TDbCommand->query()
#1 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/Data/Common/TDbMetaData.php(93): TMysqlMetaData->createTableInfo('adt_site_catego...')
#2 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/Data/ActiveRecord/TActiveRecordGateway.php(121): TDbMetaData->getTableInfo('adt_site_catego...')
#3 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/Data/ActiveRecord/TActiveRecordGateway.php(93): TActiveRecordGateway->getTableInfo(Object(TDbConnection), 'adt_site_catego...')
#4 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/Data/ActiveRecord/TActiveRecordGateway.php(138): TActiveRecordGateway->getRecordTableInfo(Object(CategorieRecord))
#5 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/Data/ActiveRecord/TActiveRecordGateway.php(224): TActiveRecordGateway->getCommand(Object(CategorieRecord))
#6 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/Data/ActiveRecord/TActiveRecord.php(591): TActiveRecordGateway->findRecordsByCriteria(Object(CategorieRecord), NULL, true)
#7 /var/www/html/asdetrefle.nc/protected/common/MenuCategorie.php(6): TActiveRecord->findAll()
#8 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(4102): MenuCategorie->onInit(NULL)
#9 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(5476): TControl->initRecursive(Object(Layout))
#10 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(5592): TCompositeControl->initRecursive(Object(Layout))
#11 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(4087): TTemplateControl->initRecursive(Object(Layout))
#12 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(5476): TControl->initRecursive(Object(TPage))
#13 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(5592): TCompositeControl->initRecursive(Object(TPage))
#14 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(4087): TTemplateControl->initRecursive(Object(TPage))
#15 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(5476): TControl->initRecursive(NULL)
#16 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(5592): TCompositeControl->initRecursive(NULL)
#17 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(6102): TTemplateControl->initRecursive()
#18 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(6097): TPage->processNormalRequest(Object(THtmlWriter))
#19 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(8228): TPage->run(Object(THtmlWriter))
#20 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(8194): TPageService->runPage(Object(TPage), Array)
#21 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(9172): TPageService->run()
#22 /var/www/html/asdetrefle.nc/prado-3.1.4.r2603/framework/pradolite.php(8774): TApplication->runService()
#23 /var/www/html/asdetrefle.nc/index.php(22): TApplication->run()
#24 {main}
2018-01-21 00:03 Apache/2.2.3 (CentOS) PRADO/3.1.4