SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/#sql_549_0.MAI' (Errcode: 28)
Warning (512): SplFileInfo::openFile(/home/xyzdemo/domains/thietbispabico.com/public_html/app/tmp/cache/persistent/myapp_cake_core_cake_vie) [splfileinfo.openfile]: failed to open stream: No space left on device [CORE/Cake/Cache/Engine/FileEngine.php, line 313]Code Context$this->_File = $path->openFile('c+');
} catch (Exception $e) {
trigger_error($e->getMessage(), E_USER_WARNING);
$key = 'myapp_cake_core_cake_vie' $createKey = true $groups = null $dir = '/home/xyzdemo/domains/thietbispabico.com/public_html/app/tmp/cache/persistent/' $path = object(SplFileInfo) { } $exists = false $e = object(RuntimeException) { severity => (int) 2 }FileEngine::_setKey() - CORE/Cake/Cache/Engine/FileEngine.php, line 313 FileEngine::write() - CORE/Cake/Cache/Engine/FileEngine.php, line 117 Cache::write() - CORE/Cake/Cache/Cache.php, line 298 I18n::translate() - CORE/Cake/I18n/I18n.php, line 176 __d - CORE/Cake/basics.php, line 560 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 962 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 ??
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.Code Context),
E_USER_WARNING
);
$key = 'cake_vie' $value = array( 'LC_MESSAGES' => array() ) $config = '_cake_core_' $settings = array( 'prefix' => '*****', 'engine' => 'File', 'path' => '/home/xyzdemo/domains/thietbispabico.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 = falseCache::write() - CORE/Cake/Cache/Cache.php, line 309 I18n::translate() - CORE/Cake/I18n/I18n.php, line 176 __d - CORE/Cake/basics.php, line 560 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 962 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 `xyzdemo_spa`.`catposts`'
- CORE/Cake/Model/Model.php line 1304 → Mysql->describe(Catpost)
$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(Catpost) { name => 'Catpost' displayField => 'name' actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'catposts' id => false data => array([maximum depth reached]) schemaName => 'xyzdemo_spa' table => 'catposts' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' alias => 'Catpost' 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] ) }
- 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(Catpost)
$bypass = true;
$queryData['fields'] = $this->fields($model, null, $queryData['fields']);
} else {
$queryData['fields'] = $this->fields($model);
}
object(Catpost) { name => 'Catpost' displayField => 'name' actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'catposts' id => false data => array([maximum depth reached]) schemaName => 'xyzdemo_spa' table => 'catposts' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' alias => 'Catpost' 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] ) }
- CORE/Cake/Model/Model.php line 2630 → DboSource->read(Catpost, array)
return null;
}
$results = $this->getDataSource()->read($this, $query);
$this->resetAssociations();
object(Catpost) { name => 'Catpost' displayField => 'name' actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'catposts' id => false data => array([maximum depth reached]) schemaName => 'xyzdemo_spa' table => 'catposts' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' alias => 'Catpost' 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] ) } array( 'conditions' => array( 'Catpost.id' => '68' ), '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( 'Catpost.id' => '68' ), 'fields' => null, 'order' => null, 'recursive' => null )
- CORE/Cake/Model/Model.php line 784 → DboSource->query(string, array, Catpost)
if ($result !== array('unhandled')) {
return $result;
}
$return = $this->getDataSource()->query($method, $params, $this);
return $return;
'findById' array( (int) 0 => '68' ) object(Catpost) { name => 'Catpost' displayField => 'name' actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'catposts' id => false data => array([maximum depth reached]) schemaName => 'xyzdemo_spa' table => 'catposts' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' alias => 'Catpost' 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] ) }
- APP/Controller/PostsController.php line 22 → Model->__call(string, array)
$urlSlug = array_pop($arr);
//pr($urlSlug);die;
$typeName = $this->Catpost->findById($urlSlug);
$this->set('typeName', $typeName);
'findById' array( (int) 0 => '68' )
- APP/Controller/PostsController.php line 22 → Catpost->findById(string)
$urlSlug = array_pop($arr);
//pr($urlSlug);die;
$typeName = $this->Catpost->findById($urlSlug);
$this->set('typeName', $typeName);
'68'
- [internal function] → PostsController->index(string)
'gsc-68'
- CORE/Cake/Controller/Controller.php line 490 → ReflectionMethod->invokeArgs(PostsController, array)
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(PostsController) { name => 'Post' helpers => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Post' 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 => 'Post' modelKey => 'post' validationErrors => null Session => object(SessionComponent) {} Catpost => object(Catpost) {} } array( (int) 0 => 'gsc-68' )
- 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 => 'gsc-68.html' base => '' webroot => '/' here => '/gsc-68.html' }
- CORE/Cake/Routing/Dispatcher.php line 161 → Dispatcher->_invoke(PostsController, CakeRequest, CakeResponse)
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(PostsController) { name => 'Post' helpers => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Post' 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 => 'Post' modelKey => 'post' validationErrors => null Session => object(SessionComponent) {} Catpost => object(Catpost) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'gsc-68.html' base => '' webroot => '/' here => '/gsc-68.html' } 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 => 'gsc-68.html' base => '' webroot => '/' here => '/gsc-68.html' } object(CakeResponse) { }