Database Error
Error: SQLSTATE[HY000]: General error: 1021 Disk full (/tmp/#sql_58e3_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
SQL Query: SHOW FULL COLUMNS FROM `bxi1cy1c_donet`.`configs`
Notice: If you want to customize this error message, create public_html/View/Errors/pdo_error.ctp
Stack Trace
- APP/cakephp-2.4.2/lib/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()
- APP/cakephp-2.4.2/lib/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 `bxi1cy1c_donet`.`configs`'
- APP/cakephp-2.4.2/lib/Cake/Model/Model.php line 1353 → Mysql->describe(Config)
$db = $this->getDataSource();$db->cacheSources = ($this->cacheSources && $db->cacheSources);if (method_exists($db, 'describe')) {$this->_schema = $db->describe($this);}object(Config) { displayField => 'email' useDbConfig => 'default' useTable => 'configs' id => false data => array([maximum depth reached]) schemaName => 'bxi1cy1c_donet' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Config' alias => 'Config' 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] ) tablePrefix => '' [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 } - APP/cakephp-2.4.2/lib/Cake/Model/Datasource/DboSource.php line 2293 → Model->schema()
}$allFields = empty($fields);if ($allFields) {$fields = array_keys($model->schema());} elseif (!is_array($fields)) { - APP/cakephp-2.4.2/lib/Cake/Model/Datasource/DboSource.php line 1047 → DboSource->fields(Config)
$bypass = true;$queryData['fields'] = $this->fields($model, null, $queryData['fields']);} else {$queryData['fields'] = $this->fields($model);}object(Config) { displayField => 'email' useDbConfig => 'default' useTable => 'configs' id => false data => array([maximum depth reached]) schemaName => 'bxi1cy1c_donet' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Config' alias => 'Config' 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] ) tablePrefix => '' [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 } - APP/cakephp-2.4.2/lib/Cake/Model/Model.php line 2880 → DboSource->read(Config, array)
* @return array*/protected function _readDataSource($type, $query) {$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Config) { displayField => 'email' useDbConfig => 'default' useTable => 'configs' id => false data => array([maximum depth reached]) schemaName => 'bxi1cy1c_donet' table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Config' alias => 'Config' 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] ) tablePrefix => '' [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' => array( 'name like' => 'site_%' ), 'fields' => null, 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true ) - APP/cakephp-2.4.2/lib/Cake/Model/Model.php line 2852 → Model->_readDataSource(string, array)
return null;}return $this->_readDataSource($type, $query);}'all' array( 'conditions' => array( 'name like' => 'site_%' ), 'fields' => null, 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )
- APP/Controller/AppController.php line 586 → Model->find(string, array)
$lang = $this->params['lang'];$result = Cache::read('config_'.$prefix.'_'.$lang,'oneweb');if(!$result){$a_configs = $this->Config->find('all',array('conditions'=>array('name like'=>$prefix.'_%')));'all' array( 'conditions' => array( 'name like' => 'site_%' ) )
- APP/Controller/AppController.php line 218 → AppController->_getConfig(string)
$this->set(compact('lang'));//CONFIG - SITE$a_site_info = $this->_getConfig('site');if(!empty($a_site_info['domain'])&&$_SERVER['HTTP_HOST']!=$a_site_info['domain']) die;'site'
- APP/Controller/AppController.php line 111 → AppController->_beforeFilterFrontend()
if (empty($a_params['admin'])) {$this->Auth->allow();$this->layout = 'frontend/index';$this->_beforeFilterFrontend();}else{ - APP/Controller/AppController.php line 88 → AppController->__handleAuthentication()
}date_default_timezone_set('Asia/Ho_Chi_Minh');$this->__handleAuthentication();// } - [internal function] → AppController->beforeFilter(CakeEvent)
object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) {} [protected] _stopped => false } - APP/cakephp-2.4.2/lib/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(ProductsController) {}, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ProductsController) {} [protected] _stopped => false } - APP/cakephp-2.4.2/lib/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(ProductsController) {} [protected] _stopped => false } - APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php line 184 → Controller->startupProcess()
*/protected function _invoke(Controller $controller, CakeRequest $request, CakeResponse $response) {$controller->constructClasses();$controller->startupProcess(); - APP/cakephp-2.4.2/lib/Cake/Routing/Dispatcher.php line 162 → Dispatcher->_invoke(ProductsController, CakeRequest, CakeResponse)
));}$response = $this->_invoke($controller, $request, $response);if (isset($request->params['return'])) {object(ProductsController) { helpers => array( [maximum depth reached] ) components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) theme => 'Default' name => 'Products' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Products' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'frontend/template1/index' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Product' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Auth => object(AuthComponent) {} Oneweb => object(OnewebComponent) {} Upload => object(UploadComponent) {} Config => object(Config) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} [private] limit_admin => (int) 50 [private] limit => (int) 40 } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'hand-tool/sort_name-asc/page-2' base => '' webroot => '/' here => '/hand-tool/sort_name-asc/page-2' [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 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
$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 => 'hand-tool/sort_name-asc/page-2' base => '' webroot => '/' here => '/hand-tool/sort_name-asc/page-2' [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]) }
