SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine
Warning (512): _cake_core_ cache was unable to write 'cake_vie' to File cache [CORE/Cake/Cache/Cache.php, line 309]
Error:
An Internal Error Has Occurred. ),
E_USER_WARNING
);
$key = 'cake_vie'
$value = array(
'LC_MESSAGES' => array()
)
$config = '_cake_core_'
$settings = array(
'prefix' => '*****',
'engine' => 'File',
'path' => '/home/nhtrajm0/domains/tra-cong-phu.com/public_html/app/tmp/cache/persistent/',
'serialize' => true,
'duration' => (int) 10,
'lock' => true,
'isWindows' => false,
'mask' => (int) 436,
'probability' => (int) 100,
'groups' => array()
)
$success = false
Cache::write() - CORE/Cake/Cache/Cache.php, line 309
I18n::translate() - CORE/Cake/I18n/I18n.php, line 176
__d - CORE/Cake/basics.php, line 561
include - APP/View/Errors/error500.ctp, line 21
View::_evaluate() - CORE/Cake/View/View.php, line 920
View::_render() - CORE/Cake/View/View.php, line 883
View::render() - CORE/Cake/View/View.php, line 475
Controller::render() - CORE/Cake/Controller/Controller.php, line 957
ExceptionRenderer::_outputMessageSafe() - CORE/Cake/Error/ExceptionRenderer.php, line 297
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 278
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 257
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 170
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??
Stack Trace
- CORE/Cake/Model/Datasource/DboSource.php line 461 → 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 288 → DboSource->_execute(string)
$table = $this->fullTableName($model);
$fields = false;
$cols = $this->_execute('SHOW FULL COLUMNS FROM ' . $table);
if (!$cols) {
'SHOW FULL COLUMNS FROM `nhtrajm0_2`.`catproducts`'
- CORE/Cake/Model/Model.php line 1304 → Mysql->describe(Catproduct)
$db = $this->getDataSource();
$db->cacheSources = ($this->cacheSources && $db->cacheSources);
if (method_exists($db, 'describe') && $this->useTable !== false) {
$this->_schema = $db->describe($this);
} elseif ($this->useTable === false) {
object(Catproduct) { name => 'Catproduct' displayField => 'name' actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'catproducts' id => false data => array([maximum depth reached]) schemaName => 'nhtrajm0_2' table => 'catproducts' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null alias => 'Catproduct' 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]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'first' 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] ) tablePrefix => '' }
- CORE/Cake/Model/Datasource/DboSource.php line 2296 → Model->schema()
}
$allFields = empty($fields);
if ($allFields) {
$fields = array_keys($model->schema());
} elseif (!is_array($fields)) {
- CORE/Cake/Model/Datasource/DboSource.php line 1052 → DboSource->fields(Catproduct)
$bypass = true;
$queryData['fields'] = $this->fields($model, null, $queryData['fields']);
} else {
$queryData['fields'] = $this->fields($model);
}
object(Catproduct) { name => 'Catproduct' displayField => 'name' actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'catproducts' id => false data => array([maximum depth reached]) schemaName => 'nhtrajm0_2' table => 'catproducts' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null alias => 'Catproduct' 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]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'first' 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] ) tablePrefix => '' }
- CORE/Cake/Model/Model.php line 2630 → DboSource->read(Catproduct, array)
return null;
}
$results = $this->getDataSource()->read($this, $query);
$this->resetAssociations();
object(Catproduct) { name => 'Catproduct' displayField => 'name' actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'catproducts' id => false data => array([maximum depth reached]) schemaName => 'nhtrajm0_2' table => 'catproducts' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null alias => 'Catproduct' 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]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'first' 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] ) tablePrefix => '' } array( 'conditions' => array( 'Catproduct.slug' => null ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => null )
- CORE/Cake/Model/Datasource/DboSource.php line 600 → Model->find(string, array)
if (isset($params[3 + $off])) {
$recursive = $params[3 + $off];
}
return $args[2]->find('first', compact('conditions', 'fields', 'order', 'recursive'));
}
'first' array( 'conditions' => array( 'Catproduct.slug' => null ), 'fields' => null, 'order' => null, 'recursive' => null )
- CORE/Cake/Model/Model.php line 784 → DboSource->query(string, array, Catproduct)
if ($result !== array('unhandled')) {
return $result;
}
$return = $this->getDataSource()->query($method, $params, $this);
return $return;
'findBySlug' array( (int) 0 => null ) object(Catproduct) { name => 'Catproduct' displayField => 'name' actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'catproducts' id => false data => array([maximum depth reached]) schemaName => 'nhtrajm0_2' table => 'catproducts' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null alias => 'Catproduct' 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]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'first' 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] ) tablePrefix => '' }
- APP/Controller/ProductController.php line 26
Warning (2): implode() [function.implode]: Invalid arguments passed [CORE/Cake/View/Elements/exception_stack_trace.ctp, line 36]
→ Model->__call(string, array)Code Context$viewFile = '/home/nhtrajm0/domains/tra-cong-phu.com/public_html/lib/Cake/View/Elements/exception_stack_trace.ctp' $dataForView = array( 'code' => '500', 'url' => '/san-pham/page:93', 'name' => 'SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine', 'error' => object(PDOException) { errorInfo => array( [maximum depth reached] ) queryString => 'SHOW FULL COLUMNS FROM `nhtrajm0_2`.`catproducts`' }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name', (int) 3 => 'error' ) ) $code = '500' $url = '/san-pham/page:93' $name = 'SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine' $error = object(PDOException) { errorInfo => array( (int) 0 => 'HY000', (int) 1 => (int) 1030, (int) 2 => 'Got error 28 from storage engine' ) queryString => 'SHOW FULL COLUMNS FROM `nhtrajm0_2`.`catproducts`' } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name', (int) 3 => 'error' ) $stack = array( 'file' => '/home/nhtrajm0/domains/tra-cong-phu.com/public_html/app/Controller/ProductController.php', 'line' => (int) 26, 'function' => '__call', 'class' => 'Model', 'type' => '->', 'args' => array( (int) 0 => 'findBySlug', (int) 1 => array( (int) 0 => null ) ) ) $i = (int) 8 $arguments = '' $excerpt = '<div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre>' $params = array() $args = array( (int) 0 => 'string', (int) 1 => 'array', (int) 2 => 'Catproduct' ) $arg = object(Catproduct) { name => 'Catproduct' displayField => 'name' actsAs => array( (int) 0 => 'Tree' ) useDbConfig => 'default' useTable => 'catproducts' id => false data => array() schemaName => 'nhtrajm0_2' table => 'catproducts' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null alias => 'Catproduct' tableToModel => array( 'catproducts' => 'Catproduct' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) tablePrefix => '' } $called = 'DboSource->query'
implode - [internal], line ?? include - CORE/Cake/View/Elements/exception_stack_trace.ctp, line 36 View::_evaluate() - CORE/Cake/View/View.php, line 920 View::_render() - CORE/Cake/View/View.php, line 883 View::element() - CORE/Cake/View/View.php, line 424 include - APP/View/Errors/error500.ctp, line 26 View::_evaluate() - CORE/Cake/View/View.php, line 920 View::_render() - CORE/Cake/View/View.php, line 883 View::render() - CORE/Cake/View/View.php, line 475 Controller::render() - CORE/Cake/Controller/Controller.php, line 957 ExceptionRenderer::_outputMessageSafe() - CORE/Cake/Error/ExceptionRenderer.php, line 297 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 278 ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 257 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 170 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
'findBySlug' array( (int) 0 => null )
- APP/Controller/ProductController.php line 26
Warning (2): implode() [function.implode]: Invalid arguments passed [CORE/Cake/View/Elements/exception_stack_trace.ctp, line 36]
→ Catproduct->findBySlug(null)Code Context$viewFile = '/home/nhtrajm0/domains/tra-cong-phu.com/public_html/lib/Cake/View/Elements/exception_stack_trace.ctp' $dataForView = array( 'code' => '500', 'url' => '/san-pham/page:93', 'name' => 'SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine', 'error' => object(PDOException) { errorInfo => array( [maximum depth reached] ) queryString => 'SHOW FULL COLUMNS FROM `nhtrajm0_2`.`catproducts`' }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name', (int) 3 => 'error' ) ) $code = '500' $url = '/san-pham/page:93' $name = 'SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine' $error = object(PDOException) { errorInfo => array( (int) 0 => 'HY000', (int) 1 => (int) 1030, (int) 2 => 'Got error 28 from storage engine' ) queryString => 'SHOW FULL COLUMNS FROM `nhtrajm0_2`.`catproducts`' } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name', (int) 3 => 'error' ) $stack = array( 'file' => '/home/nhtrajm0/domains/tra-cong-phu.com/public_html/app/Controller/ProductController.php', 'line' => (int) 26, 'function' => 'findBySlug', 'class' => 'Catproduct', 'type' => '->', 'args' => array( (int) 0 => null ) ) $i = (int) 9 $arguments = '' $excerpt = '<div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre>' $params = array() $args = array( (int) 0 => 'string', (int) 1 => 'array' ) $arg = array( (int) 0 => null ) $called = 'Model->__call'
implode - [internal], line ?? include - CORE/Cake/View/Elements/exception_stack_trace.ctp, line 36 View::_evaluate() - CORE/Cake/View/View.php, line 920 View::_render() - CORE/Cake/View/View.php, line 883 View::element() - CORE/Cake/View/View.php, line 424 include - APP/View/Errors/error500.ctp, line 26 View::_evaluate() - CORE/Cake/View/View.php, line 920 View::_render() - CORE/Cake/View/View.php, line 883 View::render() - CORE/Cake/View/View.php, line 475 Controller::render() - CORE/Cake/Controller/Controller.php, line 957 ExceptionRenderer::_outputMessageSafe() - CORE/Cake/Error/ExceptionRenderer.php, line 297 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 278 ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 257 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 170 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
null
- [internal function] → ProductController->index()
- CORE/Cake/Controller/Controller.php line 485 → ReflectionMethod->invokeArgs(ProductController, array)
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(ProductController) { name => 'Product' uses => array( [maximum depth reached] ) helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Product' layoutPath => null viewVars => array([maximum depth reached]) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} components => array( [maximum depth reached] ) viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Catproduct' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Catproduct => object(Catproduct) {} } array()
- CORE/Cake/Routing/Dispatcher.php line 186 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'san-pham/page:93' base => '' webroot => '/' here => '/san-pham/page:93' }
- CORE/Cake/Routing/Dispatcher.php line 161 → Dispatcher->_invoke(ProductController, CakeRequest, CakeResponse)
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(ProductController) { name => 'Product' uses => array( [maximum depth reached] ) helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Product' layoutPath => null viewVars => array([maximum depth reached]) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} components => array( [maximum depth reached] ) viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Catproduct' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Catproduct => object(Catproduct) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'san-pham/page:93' base => '' webroot => '/' here => '/san-pham/page:93' } object(CakeResponse) { }
- APP/webroot/index.php line 92 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'san-pham/page:93' base => '' webroot => '/' here => '/san-pham/page:93' } object(CakeResponse) { }