TDbException

Description

TDbCommand failed to execute the query SQL "SELECT t.id, t.source, t.target, t.comments FROM trans_unit t, catalogue c WHERE c.cat_id = t.cat_id AND c.name = :variant ORDER BY id ASC": SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine

Source File

/var/www/freshadmin/tfclbc/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/tfclbc/www/prado/I18N/core/MessageSource_Database.php(95): TDbCommand->query()
#1 /var/www/freshadmin/tfclbc/www/prado/I18N/core/MessageSource.php(199): MessageSource_Database->loadData('messages.cs')
#2 /var/www/freshadmin/tfclbc/www/prado/I18N/core/MessageFormat.php(141): MessageSource->load('messages')
#3 /var/www/freshadmin/tfclbc/www/prado/I18N/core/MessageFormat.php(190): MessageFormat->loadCatalogue('messages')
#4 /var/www/freshadmin/tfclbc/www/prado/I18N/core/MessageFormat.php(168): MessageFormat->formatString('Category', Array, 'messages')
#5 /var/www/freshadmin/tfclbc/www/prado/PradoBase.php(622): MessageFormat->format('Category', Array, 'messages', 'UTF-8')
#6 /var/www/freshadmin/tfclbc/www/FreshSystem/UI/Components/FWidgetControl.php(122): PradoBase::localize('Category')
#7 /var/www/freshadmin/tfclbc/www/FreshSystem/UI/Components/FWidgetControl.php(182): FWidgetControl->ctField('category', NULL, Array)
#8 /var/www/freshadmin/tfclbc/www/FreshSystem/UI/Components/FWidgetControl.php(65): FWidgetControl->ctCCombo('category', NULL, Array)
#9 /var/www/freshadmin/tfclbc/www/FreshSystem/UI/FWidgetGateway.php(65): FWidgetControl->getData()
#10 /var/www/freshadmin/tfclbc/www/FreshSystem/UI/FWidgetGateway.php(235): FWidgetGateway->getMetaData(Object(TControlCollection))
#11 /var/www/freshadmin/tfclbc/www/FreshSystem/UI/FContentReader.php(141): FWidgetGateway->getComponent(Object(TControlCollection))
#12 /var/www/freshadmin/tfclbc/www/FreshSystem/UI/FContentReader.php(129): FContentReader->factory(Object(ContentRecord))
#13 /var/www/freshadmin/tfclbc/www/prado/Web/UI/WebControls/TDataBoundControl.php(354): FContentReader->performDataBinding(Object(TMap))
#14 /var/www/freshadmin/tfclbc/www/FreshSystem/UI/FContentReader.php(62): TDataBoundControl->dataBind()
#15 /var/www/freshadmin/tfclbc/www/FreshSystem/UI/FContentReader.php(34): FContentReader->readContents()
#16 /var/www/freshadmin/tfclbc/www/prado/Web/UI/TControl.php(1270): FContentReader->onInit(NULL)
#17 /var/www/freshadmin/tfclbc/www/prado/Web/UI/TControl.php(1255): TControl->initRecursive(Object(Master))
#18 /var/www/freshadmin/tfclbc/www/prado/Web/UI/TControl.php(1255): TControl->initRecursive(Object(Master))
#19 /var/www/freshadmin/tfclbc/www/prado/Web/UI/TCompositeControl.php(35): TControl->initRecursive(Object(NormalPage))
#20 /var/www/freshadmin/tfclbc/www/prado/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(Object(NormalPage))
#21 /var/www/freshadmin/tfclbc/www/prado/Web/UI/TControl.php(1255): TTemplateControl->initRecursive(Object(NormalPage))
#22 /var/www/freshadmin/tfclbc/www/prado/Web/UI/TCompositeControl.php(35): TControl->initRecursive(NULL)
#23 /var/www/freshadmin/tfclbc/www/prado/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(NULL)
#24 /var/www/freshadmin/tfclbc/www/prado/Web/UI/TPage.php(207): TTemplateControl->initRecursive()
#25 /var/www/freshadmin/tfclbc/www/prado/Web/UI/TPage.php(198): TPage->processNormalRequest(Object(THtmlWriter))
#26 /var/www/freshadmin/tfclbc/www/prado/Web/Services/TPageService.php(498): TPage->run(Object(THtmlWriter))
#27 /var/www/freshadmin/tfclbc/www/prado/Web/Services/TPageService.php(444): TPageService->runPage(Object(NormalPage), Array)
#28 /var/www/freshadmin/tfclbc/www/prado/TApplication.php(1095): TPageService->run()
#29 /var/www/freshadmin/tfclbc/www/prado/TApplication.php(382): TApplication->runService()
#30 /var/www/freshadmin/tfclbc/www/index.php(44): TApplication->run()
#31 {main}
2019-04-24 12:08 Apache/2.2.16 (Debian) PRADO/3.1.10