SQLSTATE[HY000]: General error: 126 Incorrect key file for table '/tmp/#sql_683_0.MYI'; try to repair it
Error: An Internal Error Has Occurred.
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 310 → DboSource->_execute(string)
$table = $this->fullTableName($model);
$fields = false;
$cols = $this->_execute('SHOW FULL COLUMNS FROM ' . $table);
if (!$cols) {
'SHOW FULL COLUMNS FROM `S33_l8v3L2013`.`nodes`'
- CORE/Cake/Model/Model.php line 1322 → Mysql->describe(Node)
$db = $this->getDataSource();
$db->cacheSources = ($this->cacheSources && $db->cacheSources);
if (method_exists($db, 'describe')) {
$this->_schema = $db->describe($this);
}
object(Node) { name => 'Node' actionsMapping => array( [maximum depth reached] ) actsAs => array( [maximum depth reached] ) type => null guid => null validate => array( [maximum depth reached] ) filterArgs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) findMethods => array( [maximum depth reached] ) useCache => true useDbConfig => 'default' useTable => 'nodes' id => false data => array([maximum depth reached]) schemaName => 'S33_l8v3L2013' table => 'nodes' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => 'Nodes' alias => 'Node' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) 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]) [protected] _displayFields => array([maximum depth reached]) [protected] _editFields => 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 2295 → Model->schema()
}
$allFields = empty($fields);
if ($allFields) {
$fields = array_keys($model->schema());
} elseif (!is_array($fields)) {
- CORE/Cake/Model/Datasource/DboSource.php line 1051 → DboSource->fields(Node)
$bypass = true;
$queryData['fields'] = $this->fields($model, null, $queryData['fields']);
} else {
$queryData['fields'] = $this->fields($model);
}
object(Node) { name => 'Node' actionsMapping => array( [maximum depth reached] ) actsAs => array( [maximum depth reached] ) type => null guid => null validate => array( [maximum depth reached] ) filterArgs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) findMethods => array( [maximum depth reached] ) useCache => true useDbConfig => 'default' useTable => 'nodes' id => false data => array([maximum depth reached]) schemaName => 'S33_l8v3L2013' table => 'nodes' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => 'Nodes' alias => 'Node' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) 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]) [protected] _displayFields => array([maximum depth reached]) [protected] _editFields => 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 2696 → DboSource->read(Node, array)
return null;
}
$results = $this->getDataSource()->read($this, $query);
$this->resetAssociations();
object(Node) { name => 'Node' actionsMapping => array( [maximum depth reached] ) actsAs => array( [maximum depth reached] ) type => null guid => null validate => array( [maximum depth reached] ) filterArgs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) findMethods => array( [maximum depth reached] ) useCache => true useDbConfig => 'default' useTable => 'nodes' id => false data => array([maximum depth reached]) schemaName => 'S33_l8v3L2013' table => 'nodes' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => 'Nodes' alias => 'Node' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) 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]) [protected] _displayFields => array([maximum depth reached]) [protected] _editFields => 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' => array( 'Node.status' => (int) 1, 'OR' => array( [maximum depth reached] ), 'Node.type' => 'blog' ), 'fields' => null, 'joins' => array(), 'limit' => '5', 'offset' => null, 'order' => array( (int) 0 => 'Node.id DESC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'cache' => array( 'name' => 'nodes_recent_posts', 'config' => 'croogo_nodes' ) )
- [internal function] → Model->find(string, array)
'all' array( 'conditions' => array( 'Node.status' => (int) 1, 'OR' => array( [maximum depth reached] ), 'Node.type' => 'blog' ), 'order' => 'Node.id DESC', 'limit' => '5', 'cache' => array( 'name' => 'nodes_recent_posts', 'config' => 'croogo_nodes' ) )
- APP/Plugin/Croogo/Model/CroogoAppModel.php line 81 → call_user_func_array(array, array)
}
$args = func_get_args();
$results = call_user_func_array(array('parent', 'find'), $args);
if ($this->useCache) {
array( (int) 0 => 'parent', (int) 1 => 'find' ) array( (int) 0 => 'all', (int) 1 => array( 'conditions' => array( [maximum depth reached] ), 'order' => 'Node.id DESC', 'limit' => '5', 'cache' => array( [maximum depth reached] ) ) )
- APP/Plugin/Nodes/Controller/Component/NodesComponent.php line 98 → CroogoAppModel->find(string, array)
'name' => 'nodes_' . $alias,
'config' => 'croogo_nodes',
),
));
$this->nodesForLayout[$alias] = $node;
'all' array( 'conditions' => array( 'Node.status' => (int) 1, 'OR' => array( [maximum depth reached] ), 'Node.type' => 'blog' ), 'order' => 'Node.id DESC', 'limit' => '5', 'cache' => array( 'name' => 'nodes_recent_posts', 'config' => 'croogo_nodes' ) )
- APP/Plugin/Nodes/Controller/Component/NodesComponent.php line 61 → NodesComponent->nodes()
*/
public function startup(Controller $controller) {
if (!isset($controller->request->params['admin']) && !isset($controller->request->params['requested'])) {
$this->nodes();
}
- [internal function] → NodesComponent->startup(UsersController)
object(UsersController) { components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) paginate => array( [maximum depth reached] ) usePaginationCache => true viewClass => 'Theme' theme => null name => 'Users' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Users' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'add' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} View => null ext => '.ctp' plugin => 'Users' cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'User' modelKey => 'user' validationErrors => null Croogo => object(CroogoComponent) {} Security => object(SecurityComponent) {} Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} presetVars => array([maximum depth reached]) Prg => object(PrgComponent) {} Recaptcha => object(RecaptchaComponent) {} AclFilter => object(AclFilterComponent) {} CroogoAccess => object(AclAccessComponent) {} Settings => object(SettingsComponent) {} Nodes => object(NodesComponent) {} Menus => object(MenusComponent) {} Blocks => object(BlocksComponent) {} Taxonomies => object(TaxonomiesComponent) {} Setting => object(Setting) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} }
- CORE/Cake/Utility/ObjectCollection.php line 132 → call_user_func_array(array, array)
}
$result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
if ($options['collectReturn'] === true) {
array( (int) 0 => object(NodesComponent) {}, (int) 1 => 'startup' ) array( 'subject' => object(UsersController) {} )
- [internal function] → ObjectCollection->trigger(CakeEvent)
object(CakeEvent) { data => null result => null [protected] _name => 'Controller.startup' [protected] _subject => object(UsersController) {} [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(ComponentCollection) {}, (int) 1 => 'trigger' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.startup' [protected] _subject => object(UsersController) {} [protected] _stopped => false }
- CORE/Cake/Controller/Controller.php line 671 → CakeEventManager->dispatch(CakeEvent)
*/
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.startup' [protected] _subject => object(UsersController) {} [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(UsersController, CakeRequest, CakeResponse)
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(UsersController) { components => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) paginate => array( [maximum depth reached] ) usePaginationCache => true viewClass => 'Theme' theme => null name => 'Users' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Users' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'add' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} View => null ext => '.ctp' plugin => 'Users' cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'User' modelKey => 'user' validationErrors => null Croogo => object(CroogoComponent) {} Security => object(SecurityComponent) {} Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} presetVars => array([maximum depth reached]) Prg => object(PrgComponent) {} Recaptcha => object(RecaptchaComponent) {} AclFilter => object(AclFilterComponent) {} CroogoAccess => object(AclAccessComponent) {} Settings => object(SettingsComponent) {} Nodes => object(NodesComponent) {} Menus => object(MenusComponent) {} Blocks => object(BlocksComponent) {} Taxonomies => object(TaxonomiesComponent) {} Setting => object(Setting) {} [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 => 'register' base => '' webroot => '/' here => '/register' [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] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }
- APP/webroot/index.php line 96 → 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 => 'register' base => '' webroot => '/' here => '/register' [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] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }