Database Error
Error: SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine
SQL Query: SHOW FULL COLUMNS FROM `fashion195_db`.`langs`
Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp
Stack Trace
- CORE/Cake/Model/Datasource/DboSource.php line 460 → PDOStatement->execute(array)
try {$query = $this->_connection->prepare($sql, $prepareOptions);$query->setFetchMode(PDO::FETCH_LAZY);if (!$query->execute($params)) {$this->_results = $query;array()
- CORE/Cake/Model/Datasource/Database/Mysql.php line 333 → DboSource->_execute(string)
$table = $this->fullTableName($model);$fields = false;$cols = $this->_execute('SHOW FULL COLUMNS FROM ' . $table);if (!$cols) {'SHOW FULL COLUMNS FROM `fashion195_db`.`langs`'
- CORE/Cake/Model/Model.php line 1353 → Mysql->describe(AppModel)
$db = $this->getDataSource();$db->cacheSources = ($this->cacheSources && $db->cacheSources);if (method_exists($db, 'describe')) {$this->_schema = $db->describe($this);}object(AppModel) { useDbConfig => 'default' useTable => 'langs' id => false data => array([maximum depth reached]) schemaName => 'fashion195_db' table => 'langs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Lang' alias => 'Lang' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } - CORE/Cake/Model/Datasource/DboSource.php line 2293 → Model->schema()
}$allFields = empty($fields);if ($allFields) {$fields = array_keys($model->schema());} elseif (!is_array($fields)) { - CORE/Cake/Model/Datasource/DboSource.php line 1047 → DboSource->fields(AppModel)
$bypass = true;$queryData['fields'] = $this->fields($model, null, $queryData['fields']);} else {$queryData['fields'] = $this->fields($model);}object(AppModel) { useDbConfig => 'default' useTable => 'langs' id => false data => array([maximum depth reached]) schemaName => 'fashion195_db' table => 'langs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Lang' alias => 'Lang' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } - CORE/Cake/Model/Model.php line 2880 → DboSource->read(AppModel, array)
* @return array*/protected function _readDataSource($type, $query) {$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(AppModel) { useDbConfig => 'default' useTable => 'langs' id => false data => array([maximum depth reached]) schemaName => 'fashion195_db' table => 'langs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Lang' alias => 'Lang' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'conditions' => null, 'fields' => null, 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true ) - CORE/Cake/Model/Model.php line 2852 → Model->_readDataSource(string, array)
return null;}return $this->_readDataSource($type, $query);}'all' array( 'conditions' => null, 'fields' => null, 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )
- APP/Plugin/Default/Controller/DefaultAppController.php line 122 → Model->find(string)
public function get_lang(){$this->Lang = ClassRegistry::init('Lang');$data = $this->Lang->find('all');'all'
- APP/Plugin/Default/Controller/DefaultAppController.php line 92 → DefaultAppController->get_lang()
$this->lang = $this->Session->read('lang');}$this->get_lang();$this->settings(); - [internal function] → DefaultAppController->beforeFilter(CakeEvent)
object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(NodeController) {} [protected] _stopped => false } - CORE/Cake/Event/CakeEventManager.php line 248 → call_user_func(array, CakeEvent)
if ($listener['passParams'] === true) {$result = call_user_func_array($listener['callable'], $event->data);} else {$result = call_user_func($listener['callable'], $event);}array( (int) 0 => object(NodeController) {}, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(NodeController) {} [protected] _stopped => false } - CORE/Cake/Controller/Controller.php line 674 → CakeEventManager->dispatch(CakeEvent)
* @return void*/public function startupProcess() {$this->getEventManager()->dispatch(new CakeEvent('Controller.initialize', $this));$this->getEventManager()->dispatch(new CakeEvent('Controller.startup', $this));object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(NodeController) {} [protected] _stopped => false } - CORE/Cake/Routing/Dispatcher.php line 184 → Controller->startupProcess()
*/protected function _invoke(Controller $controller, CakeRequest $request, CakeResponse $response) {$controller->constructClasses();$controller->startupProcess(); - CORE/Cake/Routing/Dispatcher.php line 162 → Dispatcher->_invoke(NodeController, CakeRequest, CakeResponse)
));}$response = $this->_invoke($controller, $request, $response);if (isset($request->params['return'])) {object(NodeController) { theme => 'Default' product_pagination_limit => (int) 16 news_pagination_limit => (int) 10 document_pagination_limit => (int) 12 hook => array( [maximum depth reached] ) components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) Controller => null lang => 'vi' lang_array => null settings => null nodeData => null cModalName => null cActionName => null cFlagPage => false currentCategory => null action_array => array( [maximum depth reached] ) cBuff => array([maximum depth reached]) name => 'Node' helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Node' layoutPath => null viewVars => array([maximum depth reached]) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => 'Default' cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Category' modelKey => 'node' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Ccontent => object(CcontentComponent) {} Cmodal => object(CmodalComponent) {} Cmeta => object(CmetaComponent) {} Capp => object(CappComponent) {} Clayout => object(ClayoutComponent) {} RequestHandler => object(RequestHandlerComponent) {} Lang => object(AppModel) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'default/node/index/van-ban-tai-lieu/thong-bao-ve-viec-thanh-ly-huy-hang-hoa-vat-tu-ton-dong-lau-nam.html/luat-cand-so-73-2014.html/cong-bo-thong-tin-hoat-dong-cua-cong-ty-19-5-bo-cong-an-nam-2017.html/cong-bo-thong-tin-hoat-dong-cua-cong-ty-19-5-bo-cong-an-nam-2021.html/thong-bao-ve-viec-thanh-ly-hang-hoa-vat-tu-ton-dong-1483429081.html/luat-so-59-2014-qh13-cua-quoc-hoi-luat-can-cuoc-cong-dan.html/thong-bao-ve-viec-ban-tai-san-thanh-ly-nam-2022.html/xn-cktp-thong-bao-ve-viec-thanh-ly-tscd-cong-cu-dung-cu-nam-2025.html/page:3' base => '' webroot => '/' here => '/default/node/index/van-ban-tai-lieu/thong-bao-ve-viec-thanh-ly-huy-hang-hoa-vat-tu-ton-dong-lau-nam.html/luat-cand-so-73-2014.html/cong-bo-thong-tin-hoat-dong-cua-cong-ty-19-5-bo-cong-an-nam-2017.html/cong-bo-thong-tin-hoat-dong-cua-cong-ty-19-5-bo-cong-an-nam-2021.html/thong-bao-ve-viec-thanh-ly-hang-hoa-vat-tu-ton-dong-1483429081.html/luat-so-59-2014-qh13-cua-quoc-hoi-luat-can-cuoc-cong-dan.html/thong-bao-ve-viec-ban-tai-san-thanh-ly-nam-2022.html/xn-cktp-thong-bao-ve-viec-thanh-ly-tscd-cong-cu-dung-cu-nam-2025.html/page:3' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } - APP/webroot/index.php line 111 → Dispatcher->dispatch(CakeRequest, CakeResponse)
$Dispatcher->dispatch(new CakeRequest(),new CakeResponse());object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'default/node/index/van-ban-tai-lieu/thong-bao-ve-viec-thanh-ly-huy-hang-hoa-vat-tu-ton-dong-lau-nam.html/luat-cand-so-73-2014.html/cong-bo-thong-tin-hoat-dong-cua-cong-ty-19-5-bo-cong-an-nam-2017.html/cong-bo-thong-tin-hoat-dong-cua-cong-ty-19-5-bo-cong-an-nam-2021.html/thong-bao-ve-viec-thanh-ly-hang-hoa-vat-tu-ton-dong-1483429081.html/luat-so-59-2014-qh13-cua-quoc-hoi-luat-can-cuoc-cong-dan.html/thong-bao-ve-viec-ban-tai-san-thanh-ly-nam-2022.html/xn-cktp-thong-bao-ve-viec-thanh-ly-tscd-cong-cu-dung-cu-nam-2025.html/page:3' base => '' webroot => '/' here => '/default/node/index/van-ban-tai-lieu/thong-bao-ve-viec-thanh-ly-huy-hang-hoa-vat-tu-ton-dong-lau-nam.html/luat-cand-so-73-2014.html/cong-bo-thong-tin-hoat-dong-cua-cong-ty-19-5-bo-cong-an-nam-2017.html/cong-bo-thong-tin-hoat-dong-cua-cong-ty-19-5-bo-cong-an-nam-2021.html/thong-bao-ve-viec-thanh-ly-hang-hoa-vat-tu-ton-dong-1483429081.html/luat-so-59-2014-qh13-cua-quoc-hoi-luat-can-cuoc-cong-dan.html/thong-bao-ve-viec-ban-tai-san-thanh-ly-nam-2022.html/xn-cktp-thong-bao-ve-viec-thanh-ly-tscd-cong-cu-dung-cu-nam-2025.html/page:3' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }
