TDbException

Description

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

Source File

/var/www/freshadmin/skolka-marsovice/www/prado/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/freshadmin/skolka-marsovice/www/prado/Data/Common/Mysql/TMysqlMetaData.php(56): TDbCommand->query()
#1 /var/www/freshadmin/skolka-marsovice/www/prado/Data/Common/TDbMetaData.php(93): TMysqlMetaData->createTableInfo('cms_containers')
#2 /var/www/freshadmin/skolka-marsovice/www/prado/Data/ActiveRecord/TActiveRecordGateway.php(121): TDbMetaData->getTableInfo('cms_containers')
#3 /var/www/freshadmin/skolka-marsovice/www/prado/Data/ActiveRecord/TActiveRecordGateway.php(93): TActiveRecordGateway->getTableInfo(Object(TDbConnection), 'cms_containers')
#4 /var/www/freshadmin/skolka-marsovice/www/prado/Data/ActiveRecord/TActiveRecordGateway.php(138): TActiveRecordGateway->getRecordTableInfo(Object(ContainerRecord))
#5 /var/www/freshadmin/skolka-marsovice/www/prado/Data/ActiveRecord/TActiveRecordGateway.php(224): TActiveRecordGateway->getCommand(Object(ContainerRecord))
#6 /var/www/freshadmin/skolka-marsovice/www/prado/Data/ActiveRecord/TActiveRecord.php(584): TActiveRecordGateway->findRecordsByCriteria(Object(ContainerRecord), Object(TActiveRecordCriteria))
#7 /var/www/freshadmin/skolka-marsovice/www/FreshSystem/FCmsModule.php(194): TActiveRecord->find('code = ?', 'www.skolka-mars...')
#8 /var/www/freshadmin/skolka-marsovice/www/FreshSystem/FCmsModule.php(166): FCmsModule->getContainerOne('www.skolka-mars...')
#9 /var/www/freshadmin/skolka-marsovice/www/FreshSystem/FCmsUrlMapping.php(46): FCmsModule->getContainer('www.skolka-mars...')
#10 /var/www/freshadmin/skolka-marsovice/www/prado/Web/THttpRequest.php(622): FCmsUrlMapping->parseUrl()
#11 /var/www/freshadmin/skolka-marsovice/www/prado/Web/THttpRequest.php(638): THttpRequest->parseUrl()
#12 /var/www/freshadmin/skolka-marsovice/www/prado/TApplication.php(959): THttpRequest->resolveRequest(Array)
#13 /var/www/freshadmin/skolka-marsovice/www/prado/TApplication.php(370): TApplication->initApplication()
#14 /var/www/freshadmin/skolka-marsovice/www/index.php(44): TApplication->run()
#15 {main}
2019-03-26 07:24 Apache/2.2.16 (Debian) PRADO/3.1.10