TDbCommand failed to execute the query SQL "SHOW FULL FIELDS FROM `cms_containers`": SQLSTATE[HY000]: General error: 126 Incorrect key file for table '/tmp/#sql_6c2_0.MYI'; try to repair it
/var/www/freshadmin/bowling2/www/prado/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)
#0 /var/www/freshadmin/bowling2/www/prado/framework/Data/Common/Mysql/TMysqlMetaData.php(56): TDbCommand->query()
#1 /var/www/freshadmin/bowling2/www/prado/framework/Data/Common/TDbMetaData.php(93): TMysqlMetaData->createTableInfo('cms_containers')
#2 /var/www/freshadmin/bowling2/www/prado/framework/Data/ActiveRecord/TActiveRecordGateway.php(121): TDbMetaData->getTableInfo('cms_containers')
#3 /var/www/freshadmin/bowling2/www/prado/framework/Data/ActiveRecord/TActiveRecordGateway.php(93): TActiveRecordGateway->getTableInfo(Object(TDbConnection), 'cms_containers')
#4 /var/www/freshadmin/bowling2/www/prado/framework/Data/ActiveRecord/TActiveRecordGateway.php(138): TActiveRecordGateway->getRecordTableInfo(Object(ContainerRecord))
#5 /var/www/freshadmin/bowling2/www/prado/framework/Data/ActiveRecord/TActiveRecordGateway.php(224): TActiveRecordGateway->getCommand(Object(ContainerRecord))
#6 /var/www/freshadmin/bowling2/www/prado/framework/Data/ActiveRecord/TActiveRecord.php(584): TActiveRecordGateway->findRecordsByCriteria(Object(ContainerRecord), Object(TActiveRecordCriteria))
#7 /var/www/freshadmin/bowling2/www/FreshSystem/FCmsModule.php(194): TActiveRecord->find('code = ?', 'www.bowling.cz')
#8 /var/www/freshadmin/bowling2/www/FreshSystem/FCmsModule.php(166): FCmsModule->getContainerOne('www.bowling.cz')
#9 /var/www/freshadmin/bowling2/www/FreshSystem/FCmsUrlMapping.php(46): FCmsModule->getContainer('www.bowling.cz')
#10 /var/www/freshadmin/bowling2/www/prado/framework/Web/THttpRequest.php(589): FCmsUrlMapping->parseUrl()
#11 /var/www/freshadmin/bowling2/www/prado/framework/Web/THttpRequest.php(605): THttpRequest->parseUrl()
#12 /var/www/freshadmin/bowling2/www/prado/framework/TApplication.php(959): THttpRequest->resolveRequest(Array)
#13 /var/www/freshadmin/bowling2/www/prado/framework/TApplication.php(370): TApplication->initApplication()
#14 /var/www/freshadmin/bowling2/www/index.php(51): TApplication->run()
#15 {main}