SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine
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`.`aros`'
- CORE/Cake/Model/Model.php line 1322 → Mysql->describe(Aro)
$db = $this->getDataSource();
$db->cacheSources = ($this->cacheSources && $db->cacheSources);
if (method_exists($db, 'describe')) {
$this->_schema = $db->describe($this);
}
object(Aro) { name => 'Aro' hasAndBelongsToMany => array( [maximum depth reached] ) cacheQueries => false actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'aros' id => false data => array([maximum depth reached]) schemaName => 'S33_l8v3L2013' table => 'aros' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null alias => 'Aro' tableToModel => array( [maximum depth reached] ) belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null 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] ) Aco => object(Aco) {} tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null }
- CORE/Cake/Model/Model.php line 1359 → Model->schema()
*/
public function getColumnType($column) {
$db = $this->getDataSource();
$cols = $this->schema();
$model = null;
- CORE/Cake/Model/Datasource/DboSource.php line 2565 → Model->getColumnType(string)
$virtual = true;
}
$type = is_object($model) ? $model->getColumnType($key) : null;
$null = $value === null || (is_array($value) && empty($value));
'Aro0.model'
- CORE/Cake/Model/Datasource/DboSource.php line 2520 → DboSource->_parseKey(Aro, string, string)
} elseif (is_numeric($key) && !empty($value)) {
$data = $this->_quoteFields($value);
} else {
$data = $this->_parseKey($model, trim($key), $value);
}
object(Aro) { name => 'Aro' hasAndBelongsToMany => array( [maximum depth reached] ) cacheQueries => false actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'aros' id => false data => array([maximum depth reached]) schemaName => 'S33_l8v3L2013' table => 'aros' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null alias => 'Aro' tableToModel => array( [maximum depth reached] ) belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null 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] ) Aco => object(Aco) {} tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } 'Aro0.model' 'Role'
- CORE/Cake/Model/Datasource/DboSource.php line 2403 → DboSource->conditionKeysToString(array, boolean, Aro)
}
if (is_array($conditions) && !empty($conditions)) {
$out = $this->conditionKeysToString($conditions, $quoteValues, $model);
array( 'Aro0.model' => 'Role', 'Aro0.foreign_key' => (int) 3 ) true object(Aro) { name => 'Aro' hasAndBelongsToMany => array( [maximum depth reached] ) cacheQueries => false actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'aros' id => false data => array([maximum depth reached]) schemaName => 'S33_l8v3L2013' table => 'aros' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null alias => 'Aro' tableToModel => array( [maximum depth reached] ) belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null 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] ) Aco => object(Aco) {} tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null }
- CORE/Cake/Model/Datasource/DboSource.php line 1720 → DboSource->conditions(array, boolean, boolean, Aro)
}
}
return $this->renderStatement('select', array(
'conditions' => $this->conditions($query['conditions'], true, true, $model),
'fields' => implode(', ', $query['fields']),
array( 'Aro0.model' => 'Role', 'Aro0.foreign_key' => (int) 3 ) true true object(Aro) { name => 'Aro' hasAndBelongsToMany => array( [maximum depth reached] ) cacheQueries => false actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'aros' id => false data => array([maximum depth reached]) schemaName => 'S33_l8v3L2013' table => 'aros' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null alias => 'Aro' tableToModel => array( [maximum depth reached] ) belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null 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] ) Aco => object(Aco) {} tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null }
- CORE/Cake/Model/Datasource/DboSource.php line 1517 → DboSource->buildStatement(array, Aro)
'group' => $queryData['group']
),
$model
);
}
array( 'fields' => array( (int) 0 => '`Aro`.`id`', (int) 1 => '`Aro`.`parent_id`', (int) 2 => '`Aro`.`model`', (int) 3 => '`Aro`.`foreign_key`', (int) 4 => '`Aro`.`alias`' ), 'table' => '`S33_l8v3L2013`.`aros`', 'alias' => 'Aro', 'limit' => array(), 'offset' => array(), 'joins' => array( (int) 0 => array( [maximum depth reached] ) ), 'conditions' => array( 'Aro0.model' => 'Role', 'Aro0.foreign_key' => (int) 3 ), 'order' => '`Aro`.`lft` DESC', 'group' => array() ) object(Aro) { name => 'Aro' hasAndBelongsToMany => array( [maximum depth reached] ) cacheQueries => false actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'aros' id => false data => array([maximum depth reached]) schemaName => 'S33_l8v3L2013' table => 'aros' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null alias => 'Aro' tableToModel => array( [maximum depth reached] ) belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null 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] ) Aco => object(Aco) {} tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null }
- CORE/Cake/Model/Datasource/DboSource.php line 1079 → DboSource->generateAssociationQuery(Aro, null, null, null, null, array, boolean, null)
}
}
$query = trim($this->generateAssociationQuery($model, null, null, null, null, $queryData, false, $null));
object(Aro) { name => 'Aro' hasAndBelongsToMany => array( [maximum depth reached] ) cacheQueries => false actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'aros' id => false data => array([maximum depth reached]) schemaName => 'S33_l8v3L2013' table => 'aros' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null alias => 'Aro' tableToModel => array( [maximum depth reached] ) belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null 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] ) Aco => object(Aco) {} tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } null null null null array( 'conditions' => array( 'Aro0.model' => 'Role', 'Aro0.foreign_key' => (int) 3 ), 'fields' => array( (int) 0 => '`Aro`.`id`', (int) 1 => '`Aro`.`parent_id`', (int) 2 => '`Aro`.`model`', (int) 3 => '`Aro`.`foreign_key`', (int) 4 => '`Aro`.`alias`' ), 'joins' => array( (int) 0 => array( [maximum depth reached] ) ), 'order' => '`Aro`.`lft` DESC', 'limit' => array(), 'offset' => array(), 'group' => array(), 'callbacks' => null ) false null
- CORE/Cake/Model/AclNode.php line 174 → DboSource->read(Aro, array, integer)
)),
'order' => $db->name("{$type}.lft") . ' DESC'
);
$result = $db->read($this, $queryData, -1);
object(Aro) { name => 'Aro' hasAndBelongsToMany => array( [maximum depth reached] ) cacheQueries => false actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'aros' id => false data => array([maximum depth reached]) schemaName => 'S33_l8v3L2013' table => 'aros' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null alias => 'Aro' tableToModel => array( [maximum depth reached] ) belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null 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] ) Aco => object(Aco) {} tablePrefix => '' [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } array( 'conditions' => array( 'Aro0.model' => 'Role', 'Aro0.foreign_key' => (int) 3 ), 'fields' => array( (int) 0 => 'id', (int) 1 => 'parent_id', (int) 2 => 'model', (int) 3 => 'foreign_key', (int) 4 => 'alias' ), 'joins' => array( (int) 0 => array( [maximum depth reached] ) ), 'order' => '`Aro`.`lft` DESC' ) (int) -1
- APP/Plugin/Acl/Controller/Component/AclFilterComponent.php line 202 → AclNode->node(array)
public function getPermissions($model, $id) {
$Acl =& $this->_controller->Acl;
$aro = array('model' => $model, 'foreign_key' => $id);
$node = $Acl->Aro->node($aro);
$nodes = $Acl->Aro->getPath($node[0]['Aro']['id']);
array( 'model' => 'Role', 'foreign_key' => (int) 3 )
- APP/Plugin/Acl/Controller/Component/AclFilterComponent.php line 182 → AclFilterComponent->getPermissions(string, integer)
// public access authorization
$cacheName = 'permissions_public';
if (($perms = Cache::read($cacheName, 'permissions')) === false) {
$perms = $this->getPermissions('Role', 3);
Cache::write($cacheName, $perms, 'permissions');
'Role' (int) 3
- APP/Plugin/Croogo/Controller/CroogoAppController.php line 139 → AclFilterComponent->auth()
if (empty($this->{$aclFilterComponent})) {
throw new MissingComponentException(array('class' => $aclFilterComponent));
}
$this->{$aclFilterComponent}->auth();
$this->RequestHandler->setContent('json', 'text/x-json');
- APP/Plugin/Nodes/Controller/NodesController.php line 80 → CroogoAppController->beforeFilter()
* @access public
*/
public function beforeFilter() {
parent::beforeFilter();
- [internal function] → NodesController->beforeFilter(CakeEvent)
object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(NodesController) {} [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(NodesController) {}, (int) 1 => 'beforeFilter' ) object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(NodesController) {} [protected] _stopped => false }
- CORE/Cake/Controller/Controller.php line 670 → 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(NodesController) {} [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(NodesController, CakeRequest, CakeResponse)
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(NodesController) { name => 'Nodes' components => array( [maximum depth reached] ) presetVars => 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 request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Nodes' layoutPath => null viewVars => array([maximum depth reached]) view => 'view' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} View => null ext => '.ctp' plugin => 'Nodes' cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Node' modelKey => 'node' validationErrors => null Croogo => object(CroogoComponent) {} Security => object(SecurityComponent) {} Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} Recaptcha => object(RecaptchaComponent) {} Node => object(Node) {} Prg => object(PrgComponent) {} AclFilter => object(AclFilterComponent) {} CroogoAccess => object(AclAccessComponent) {} Settings => object(SettingsComponent) {} Nodes => object(NodesComponent) {} Menus => object(MenusComponent) {} Blocks => object(BlocksComponent) {} Taxonomies => object(TaxonomiesComponent) {} Meta => object(MetaComponent) {} [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 => 'updates/twice-the-adventure-with-sky-extreme-adventures' base => '' webroot => '/' here => '/updates/twice-the-adventure-with-sky-extreme-adventures' [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 => 'updates/twice-the-adventure-with-sky-extreme-adventures' base => '' webroot => '/' here => '/updates/twice-the-adventure-with-sky-extreme-adventures' [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]) }