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/_prado_last/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/freshadmin/_prado_last/framework/I18N/core/MessageSource_Database.php(95): TDbCommand->query()
#1 /var/www/freshadmin/_prado_last/framework/I18N/core/MessageSource.php(199): MessageSource_Database->loadData('messages.cs')
#2 /var/www/freshadmin/_prado_last/framework/I18N/core/MessageFormat.php(141): MessageSource->load('messages')
#3 /var/www/freshadmin/_prado_last/framework/I18N/core/MessageFormat.php(190): MessageFormat->loadCatalogue('messages')
#4 /var/www/freshadmin/_prado_last/framework/I18N/core/MessageFormat.php(168): MessageFormat->formatString('Vyhledat', Array, 'messages')
#5 /var/www/freshadmin/_prado_last/framework/PradoBase.php(622): MessageFormat->format('Vyhledat', Array, 'messages', 'UTF-8')
#6 /var/www/freshadmin/_prado_last/framework/Web/UI/TTemplateManager.php(500): PradoBase::localize('Vyhledat')
#7 /var/www/freshadmin/_prado_last/framework/Web/UI/TTemplateManager.php(427): TTemplate->configureProperty(Object(TButton), 'text', Array)
#8 /var/www/freshadmin/_prado_last/framework/Web/UI/TTemplateManager.php(353): TTemplate->configureControl(Object(TButton), 'text', Array)
#9 /var/www/freshadmin/_prado_last/framework/Web/UI/TTemplateControl.php(141): TTemplate->instantiateIn(Object(BingSearchInput))
#10 /var/www/freshadmin/_prado_last/framework/Web/UI/TControl.php(918): TTemplateControl->createChildControls()
#11 /var/www/freshadmin/_prado_last/framework/Web/UI/TTemplateControl.php(225): TControl->ensureChildControls()
#12 /var/www/freshadmin/_prado_last/framework/Web/UI/TControl.php(1255): TTemplateControl->initRecursive(Object(Master))
#13 /var/www/freshadmin/_prado_last/framework/Web/UI/TControl.php(1255): TControl->initRecursive(Object(Master))
#14 /var/www/freshadmin/_prado_last/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(Object(NormalPage))
#15 /var/www/freshadmin/_prado_last/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(Object(NormalPage))
#16 /var/www/freshadmin/_prado_last/framework/Web/UI/TControl.php(1255): TTemplateControl->initRecursive(Object(NormalPage))
#17 /var/www/freshadmin/_prado_last/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(NULL)
#18 /var/www/freshadmin/_prado_last/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(NULL)
#19 /var/www/freshadmin/_prado_last/framework/Web/UI/TPage.php(207): TTemplateControl->initRecursive()
#20 /var/www/freshadmin/_prado_last/framework/Web/UI/TPage.php(198): TPage->processNormalRequest(Object(THtmlWriter))
#21 /var/www/freshadmin/_prado_last/framework/Web/Services/TPageService.php(498): TPage->run(Object(THtmlWriter))
#22 /var/www/freshadmin/_prado_last/framework/Web/Services/TPageService.php(444): TPageService->runPage(Object(NormalPage), Array)
#23 /var/www/freshadmin/_prado_last/framework/TApplication.php(1095): TPageService->run()
#24 /var/www/freshadmin/_prado_last/framework/TApplication.php(382): TApplication->runService()
#25 /var/www/freshadmin/trnkateam/www/index.php(44): TApplication->run()
#26 {main}
2020-08-13 19:36 Apache/2.2.16 (Debian) PRADO/3.1.10