TDbException

Description

TDbCommand failed to execute the query SQL "SHOW FULL FIELDS FROM `ifk_classcatalog`": SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_39a9_1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")

Source File

/home/ifk/web/framework/Data/TDbCommand.php (229)

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

Stack Trace

#0 /home/ifk/web/framework/Data/Common/Mysql/TMysqlMetaData.php(87): TDbCommand->query()
#1 /home/ifk/web/framework/Data/Common/TDbMetaData.php(97): TMysqlMetaData->createTableInfo('ifk_classcatalo...')
#2 /home/ifk/web/framework/Data/ActiveRecord/TActiveRecordGateway.php(119): TDbMetaData->getTableInfo('ifk_classcatalo...')
#3 /home/ifk/web/framework/Data/ActiveRecord/TActiveRecordGateway.php(91): TActiveRecordGateway->getTableInfo(Object(TDbConnection), 'ifk_classcatalo...')
#4 /home/ifk/web/framework/Data/ActiveRecord/TActiveRecordGateway.php(136): TActiveRecordGateway->getRecordTableInfo(Object(KClass))
#5 /home/ifk/web/framework/Data/ActiveRecord/TActiveRecordGateway.php(196): TActiveRecordGateway->getCommand(Object(KClass))
#6 /home/ifk/web/framework/Data/ActiveRecord/TActiveRecord.php(617): TActiveRecordGateway->findRecordByPK(Object(KClass), '291')
#7 /home/ifk/web/protected/Pages/Front/ClassDetails.php(13): TActiveRecord->findByPk('291')
#8 /home/ifk/web/framework/Web/UI/TControl.php(1293): ClassDetails->onLoad(NULL)
#9 /home/ifk/web/framework/Web/UI/TPage.php(220): TControl->loadRecursive()
#10 /home/ifk/web/framework/Web/UI/TPage.php(201): TPage->processNormalRequest(Object(THtmlWriter))
#11 /home/ifk/web/framework/Web/Services/TPageService.php(522): TPage->run(Object(THtmlWriter))
#12 /home/ifk/web/framework/Web/Services/TPageService.php(468): TPageService->runPage(Object(ClassDetails), Array)
#13 /home/ifk/web/framework/TApplication.php(1219): TPageService->run()
#14 /home/ifk/web/framework/TApplication.php(408): TApplication->runService()
#15 /home/ifk/web/index.php(29): TApplication->run()
#16 {main}
2025-05-19 22:24 Apache/2.4.59 (Debian) PRADO/3.2.4