Warning (512): _cake_core_ cache was unable to write 'cake_dev_eng' to File cache [CORE/Cake/Cache/Cache.php, line 328]Code Context),
E_USER_WARNING
);
$key = 'cake_dev_eng' $value = array( 'LC_MESSAGES' => array() ) $config = '_cake_core_' $settings = array( 'engine' => 'File', 'prefix' => 'myapp_cake_core_', 'path' => '/var/www/html/nyc.millsbomb.com/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 328 I18n::translate() - CORE/Cake/I18n/I18n.php, line 240 __d - CORE/Cake/basics.php, line 636 Cache::write() - CORE/Cake/Cache/Cache.php, line 326 DataSource::listSources() - CORE/Cake/Model/Datasource/DataSource.php, line 110 Mysql::listSources() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 227 Model::setSource() - CORE/Cake/Model/Model.php, line 1168 Model::getDataSource() - CORE/Cake/Model/Model.php, line 3673 Model::__call() - CORE/Cake/Model/Model.php, line 834 AppModel::findById() - APP/Controller/PermitsController.php, line 31 PermitsController::view() - APP/Controller/PermitsController.php, line 31 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Warning (512): _cake_model_ cache was unable to write 'default_nyc_business_list' to File cache [CORE/Cake/Cache/Cache.php, line 328]Code Context),
E_USER_WARNING
);
$key = 'default_nyc_business_list' $value = null $config = '_cake_model_' $settings = array( 'engine' => 'File', 'prefix' => 'myapp_cake_model_', 'path' => '/var/www/html/nyc.millsbomb.com/app/tmp/cache/models/', '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 328 DataSource::listSources() - CORE/Cake/Model/Datasource/DataSource.php, line 110 Mysql::listSources() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 227 Model::setSource() - CORE/Cake/Model/Model.php, line 1168 Model::getDataSource() - CORE/Cake/Model/Model.php, line 3673 Model::__call() - CORE/Cake/Model/Model.php, line 834 AppModel::findById() - APP/Controller/PermitsController.php, line 31 PermitsController::view() - APP/Controller/PermitsController.php, line 31 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Warning (512): _cake_model_ cache was unable to write 'default_nyc_business_list' to File cache [CORE/Cake/Cache/Cache.php, line 328]Code Context),
E_USER_WARNING
);
$key = 'default_nyc_business_list' $value = array( (int) 0 => 'categories', (int) 1 => 'locations', (int) 2 => 'permits', (int) 3 => 'records' ) $config = '_cake_model_' $settings = array( 'engine' => 'File', 'prefix' => 'myapp_cake_model_', 'path' => '/var/www/html/nyc.millsbomb.com/app/tmp/cache/models/', '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 328 DataSource::listSources() - CORE/Cake/Model/Datasource/DataSource.php, line 110 Mysql::listSources() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 244 Model::setSource() - CORE/Cake/Model/Model.php, line 1168 Model::getDataSource() - CORE/Cake/Model/Model.php, line 3673 Model::__call() - CORE/Cake/Model/Model.php, line 834 AppModel::findById() - APP/Controller/PermitsController.php, line 31 PermitsController::view() - APP/Controller/PermitsController.php, line 31 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Warning (512): _cake_model_ cache was unable to write 'default_nyc_business_permits' to File cache [CORE/Cake/Cache/Cache.php, line 328]Code Context),
E_USER_WARNING
);
$key = 'default_nyc_business_permits' $value = null $config = '_cake_model_' $settings = array( 'engine' => 'File', 'prefix' => 'myapp_cake_model_', 'path' => '/var/www/html/nyc.millsbomb.com/app/tmp/cache/models/', '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 328 DataSource::_cacheDescription() - CORE/Cake/Model/Datasource/DataSource.php, line 310 DataSource::describe() - CORE/Cake/Model/Datasource/DataSource.php, line 135 Mysql::describe() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 340 Model::schema() - CORE/Cake/Model/Model.php, line 1397 DboSource::fields() - CORE/Cake/Model/Datasource/DboSource.php, line 2616 DboSource::read() - CORE/Cake/Model/Datasource/DboSource.php, line 1134 Model::_readDataSource() - CORE/Cake/Model/Model.php, line 3040 Model::find() - CORE/Cake/Model/Model.php, line 3012 DboSource::query() - CORE/Cake/Model/Datasource/DboSource.php, line 606 Model::__call() - CORE/Cake/Model/Model.php, line 834 AppModel::findById() - APP/Controller/PermitsController.php, line 31 PermitsController::view() - APP/Controller/PermitsController.php, line 31 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
Warning (2): file_put_contents() [<a href='http://php.net/function.file-put-contents'>function.file-put-contents</a>]: Only 0 of 1974 bytes written, possibly out of free disk space [CORE/Cake/Log/Engine/FileLog.php, line 142]Code Context$pathname = $this->_path . $filename;
if (empty($this->_config['mask'])) {
return file_put_contents($pathname, $output, FILE_APPEND);
$type = 'error' $message = '[PDOException] SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine Request URL: /permits/view/857233 Stack Trace: #0 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Datasource/DboSource.php(472): PDOStatement->execute(Array) #1 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Datasource/Database/Mysql.php(347): DboSource->_execute('SHOW FULL COLUM...') #2 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Model.php(1397): Mysql->describe(Object(AppModel)) #3 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Datasource/DboSource.php(2616): Model->schema() #4 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Datasource/DboSource.php(1134): DboSource->fields(Object(AppModel)) #5 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Model.php(3040): DboSource->read(Object(AppModel), Array) #6 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Model.php(3012): Model->_readDataSource('first', Array) #7 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Datasource/DboSource.php(606): Model->find('first', Array) #8 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Model.php(834): DboSource->query('findById', Array, Object(AppModel)) #9 /var/www/html/nyc.millsbomb.com/app/Controller/PermitsController.php(31): Model->__call('findById', Array) #10 /var/www/html/nyc.millsbomb.com/app/Controller/PermitsController.php(31): AppModel->findById('857233') #11 [internal function]: PermitsController->view('857233') #12 /var/www/html/nyc.millsbomb.com/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(PermitsController), Array) #13 /var/www/html/nyc.millsbomb.com/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest)) #14 /var/www/html/nyc.millsbomb.com/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(PermitsController), Object(CakeRequest)) #15 /var/www/html/nyc.millsbomb.com/app/webroot/index.php(118): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #16 {main}' $output = '2024-05-04 14:14:43 Error: [PDOException] SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine Request URL: /permits/view/857233 Stack Trace: #0 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Datasource/DboSource.php(472): PDOStatement->execute(Array) #1 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Datasource/Database/Mysql.php(347): DboSource->_execute('SHOW FULL COLUM...') #2 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Model.php(1397): Mysql->describe(Object(AppModel)) #3 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Datasource/DboSource.php(2616): Model->schema() #4 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Datasource/DboSource.php(1134): DboSource->fields(Object(AppModel)) #5 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Model.php(3040): DboSource->read(Object(AppModel), Array) #6 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Model.php(3012): Model->_readDataSource('first', Array) #7 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Datasource/DboSource.php(606): Model->find('first', Array) #8 /var/www/html/nyc.millsbomb.com/lib/Cake/Model/Model.php(834): DboSource->query('findById', Array, Object(AppModel)) #9 /var/www/html/nyc.millsbomb.com/app/Controller/PermitsController.php(31): Model->__call('findById', Array) #10 /var/www/html/nyc.millsbomb.com/app/Controller/PermitsController.php(31): AppModel->findById('857233') #11 [internal function]: PermitsController->view('857233') #12 /var/www/html/nyc.millsbomb.com/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(PermitsController), Array) #13 /var/www/html/nyc.millsbomb.com/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest)) #14 /var/www/html/nyc.millsbomb.com/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(PermitsController), Object(CakeRequest)) #15 /var/www/html/nyc.millsbomb.com/app/webroot/index.php(118): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #16 {main} ' $filename = 'error.log' $pathname = '/var/www/html/nyc.millsbomb.com/app/tmp/logs/error.log'file_put_contents - [internal], line ?? FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 142 CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 445 ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 188 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 118 [main] - [internal], line ??
Error: SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine
SQL Query: SHOW FULL COLUMNS FROM `nyc_business`.`permits`
Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp
try {
$query = $this->_connection->prepare($sql, $prepareOptions);
$query->setFetchMode(PDO::FETCH_LAZY);
if (!$query->execute($params)) {
$this->_results = $query;
array()
$table = $this->fullTableName($model);
$fields = false;
$cols = $this->_execute('SHOW FULL COLUMNS FROM ' . $table);
if (!$cols) {
'SHOW FULL COLUMNS FROM `nyc_business`.`permits`'
$db = $this->getDataSource();
$db->cacheSources = ($this->cacheSources && $db->cacheSources);
if (method_exists($db, 'describe')) {
$this->_schema = $db->describe($this);
}
object(AppModel) { useDbConfig => 'default' useTable => 'permits' id => false data => array() schemaName => 'nyc_business' table => 'permits' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'Permit' alias => 'Permit' tableToModel => array( 'permits' => 'Permit' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) { modelName => 'Permit' defaultPriority => (int) 10 [protected] _methods => array([maximum depth reached]) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array([maximum depth reached]) [protected] _loaded => array([maximum depth reached]) } whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }
}
$allFields = empty($fields);
if ($allFields) {
$fields = array_keys($Model->schema());
} elseif (!is_array($fields)) {
$queryData['fields'] = $this->fields($Model, null, $queryData['fields']);
} else {
$noAssocFields = false;
$queryData['fields'] = $this->fields($Model);
}
object(AppModel) { useDbConfig => 'default' useTable => 'permits' id => false data => array() schemaName => 'nyc_business' table => 'permits' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'Permit' alias => 'Permit' tableToModel => array( 'permits' => 'Permit' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) { modelName => 'Permit' defaultPriority => (int) 10 [protected] _methods => array([maximum depth reached]) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array([maximum depth reached]) [protected] _loaded => array([maximum depth reached]) } whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }
* @return array
*/
protected function _readDataSource($type, $query) {
$results = $this->getDataSource()->read($this, $query);
$this->resetAssociations();
object(AppModel) { useDbConfig => 'default' useTable => 'permits' id => false data => array() schemaName => 'nyc_business' table => 'permits' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'Permit' alias => 'Permit' tableToModel => array( 'permits' => 'Permit' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) { modelName => 'Permit' defaultPriority => (int) 10 [protected] _methods => array([maximum depth reached]) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array([maximum depth reached]) [protected] _loaded => array([maximum depth reached]) } whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null } array( 'conditions' => array( 'Permit.id' => '857233' ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array(), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => null )
return null;
}
return $this->_readDataSource($type, $query);
}
'first' array( 'conditions' => array( 'Permit.id' => '857233' ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array(), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => null )
if (isset($params[3 + $off])) {
$recursive = $params[3 + $off];
}
return $args[2]->find('first', compact('conditions', 'fields', 'order', 'recursive'));
}
'first' array( 'conditions' => array( 'Permit.id' => '857233' ), 'fields' => null, 'order' => null, 'recursive' => null )
return $result;
}
return $this->getDataSource()->query($method, $params, $this);
}
'findById' array( (int) 0 => '857233' ) object(AppModel) { useDbConfig => 'default' useTable => 'permits' id => false data => array() schemaName => 'nyc_business' table => 'permits' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'Permit' alias => 'Permit' tableToModel => array( 'permits' => 'Permit' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) { modelName => 'Permit' defaultPriority => (int) 10 [protected] _methods => array([maximum depth reached]) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array([maximum depth reached]) [protected] _loaded => array([maximum depth reached]) } whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => null [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null }
//$record = $this->Record->find('first', array('conditions' => "Permit.License_Permit_Holder = '$id'"));
$record = $this->Permit->findById($id);
'findById' array( (int) 0 => '857233' )
//$record = $this->Record->find('first', array('conditions' => "Permit.License_Permit_Holder = '$id'"));
$record = $this->Permit->findById($id);
'857233'
'857233'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(PermitsController) { uses => array( (int) 0 => 'Permit' ) components => array( 'Session' => null, 'Flash' => null, 'RequestHandler' => null ) name => 'Permits' helpers => array() request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'permits/view/857233' base => '' webroot => '/' here => '/permits/view/857233' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => 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]) } viewPath => 'Permits' layoutPath => null viewVars => array() view => 'view' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(PermitsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '857233' ) scaffold => false methods => array( (int) 0 => 'view', (int) 1 => 'index', (int) 2 => 'sitemap', (int) 3 => 'sitemap_index' ) modelClass => 'Permit' modelKey => 'permit' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Flash => object(FlashComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _defaultConfig => array( [maximum depth reached] ) [protected] _Collection => null [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Permit => object(AppModel) { useDbConfig => 'default' useTable => 'permits' id => false data => array([maximum depth reached]) schemaName => 'nyc_business' table => 'permits' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Permit' alias => 'Permit' 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 => '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]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => 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 } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } array( (int) 0 => '857233' )
$response = $controller->response;
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'permits', 'action' => 'view', 'named' => array(), 'pass' => array( (int) 0 => '857233' ), 'isAjax' => false, 'models' => array( 'Permit' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'permits/view/857233' base => '' webroot => '/' here => '/permits/view/857233' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(PermitsController) { uses => array( (int) 0 => 'Permit' ) components => array( 'Session' => null, 'Flash' => null, 'RequestHandler' => null ) name => 'Permits' helpers => array() request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'permits/view/857233' base => '' webroot => '/' here => '/permits/view/857233' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => 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]) } viewPath => 'Permits' layoutPath => null viewVars => array() view => 'view' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(PermitsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '857233' ) scaffold => false methods => array( (int) 0 => 'view', (int) 1 => 'index', (int) 2 => 'sitemap', (int) 3 => 'sitemap_index' ) modelClass => 'Permit' modelKey => 'permit' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Flash => object(FlashComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _defaultConfig => array( [maximum depth reached] ) [protected] _Collection => null [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Permit => object(AppModel) { useDbConfig => 'default' useTable => 'permits' id => false data => array([maximum depth reached]) schemaName => 'nyc_business' table => 'permits' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Permit' alias => 'Permit' 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 => '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]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => 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 } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'permits', 'action' => 'view', 'named' => array(), 'pass' => array( (int) 0 => '857233' ), 'isAjax' => false, 'models' => array( 'Permit' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'permits/view/857233' base => '' webroot => '/' here => '/permits/view/857233' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'permits', 'action' => 'view', 'named' => array(), 'pass' => array( (int) 0 => '857233' ), 'isAjax' => false, 'models' => array( 'Permit' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'permits/view/857233' base => '' webroot => '/' here => '/permits/view/857233' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 307 => 'Temporary Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 429 => 'Too Many Requests', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'Unsupported Version' ) [protected] _mimeTypes => array( 'html' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'json' => 'application/json', 'xml' => array( (int) 0 => 'application/xml', (int) 1 => 'text/xml' ), 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => array( (int) 0 => 'text/csv', (int) 1 => 'application/vnd.ms-excel' ), 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'jsonapi' => 'application/vnd.api+json', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', 'cc' => 'text/plain', 'css' => 'text/css', 'etx' => 'text/x-setext', 'f' => 'text/plain', 'f90' => 'text/plain', 'h' => 'text/plain', 'hh' => 'text/plain', 'htm' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'ics' => 'text/calendar', 'm' => 'text/plain', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'tsv' => 'text/tab-separated-values', 'tpl' => 'text/template', 'txt' => 'text/plain', 'text' => 'text/plain', 'avi' => 'video/x-msvideo', 'fli' => 'video/x-fli', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'qt' => 'video/quicktime', 'viv' => 'video/vnd.vivo', 'vivo' => 'video/vnd.vivo', 'ogv' => 'video/ogg', 'webm' => 'video/webm', 'mp4' => 'video/mp4', 'm4v' => 'video/mp4', 'f4v' => 'video/mp4', 'f4p' => 'video/mp4', 'm4a' => 'audio/mp4', 'f4a' => 'audio/mp4', 'f4b' => 'audio/mp4', 'gif' => 'image/gif', 'ief' => 'image/ief', 'jpg' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpe' => 'image/jpeg', 'pbm' => 'image/x-portable-bitmap', 'pgm' => 'image/x-portable-graymap', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'ppm' => 'image/x-portable-pixmap', 'ras' => 'image/cmu-raster', 'rgb' => 'image/x-rgb', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'xbm' => 'image/x-xbitmap', 'xpm' => 'image/x-xpixmap', 'xwd' => 'image/x-xwindowdump', 'psd' => array( (int) 0 => 'application/photoshop', (int) 1 => 'application/psd', (int) 2 => 'image/psd', (int) 3 => 'image/x-photoshop', (int) 4 => 'image/photoshop', (int) 5 => 'zz-application/zz-winassoc-psd' ), 'ice' => 'x-conference/x-cooltalk', 'iges' => 'model/iges', 'igs' => 'model/iges', 'mesh' => 'model/mesh', 'msh' => 'model/mesh', 'silo' => 'model/mesh', 'vrml' => 'model/vrml', 'wrl' => 'model/vrml', 'mime' => 'www/mime', 'pdb' => 'chemical/x-pdb', 'xyz' => 'chemical/x-pdb', 'javascript' => 'application/javascript', 'form' => 'application/x-www-form-urlencoded', 'file' => 'multipart/form-data', 'xhtml' => array( (int) 0 => 'application/xhtml+xml', (int) 1 => 'application/xhtml', (int) 2 => 'text/xhtml' ), 'xhtml-mobile' => 'application/vnd.wap.xhtml+xml', 'atom' => 'application/atom+xml', 'amf' => 'application/x-amf', 'wap' => array( (int) 0 => 'text/vnd.wap.wml', (int) 1 => 'text/vnd.wap.wmlscript', (int) 2 => 'image/vnd.wap.wbmp' ), 'wml' => 'text/vnd.wap.wml', 'wmlscript' => 'text/vnd.wap.wmlscript', 'wbmp' => 'image/vnd.wap.wbmp', 'woff' => 'application/x-font-woff', 'webp' => 'image/webp', 'appcache' => 'text/cache-manifest', 'manifest' => 'text/cache-manifest', 'htc' => 'text/x-component', 'rdf' => 'application/xml', 'crx' => 'application/x-chrome-extension', 'oex' => 'application/x-opera-extension', 'xpi' => 'application/x-xpinstall', 'safariextz' => 'application/octet-stream', 'webapp' => 'application/x-web-app-manifest+json', 'vcf' => 'text/x-vcard', 'vtt' => 'text/vtt', 'mkv' => 'video/x-matroska', 'pkpass' => 'application/vnd.apple.pkpass', 'ajax' => 'text/html' ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array() [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array() [protected] _cookies => array() }
Nr | Query | Error | Affected | Num. rows | Took (ms) |
---|
Warning (512): _cake_core_ cache was unable to write 'file_map' to File cache [CORE/Cake/Cache/Cache.php, line 328]Code Context),
E_USER_WARNING
);
$key = 'file_map' $value = array( 'Configure' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Core/Configure.php', 'Hash' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Utility/Hash.php', 'Cache' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Cache/Cache.php', 'FileEngine' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Cache/Engine/FileEngine.php', 'CacheEngine' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Cache/CacheEngine.php', 'Inflector' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Utility/Inflector.php', 'ErrorHandler' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Error/ErrorHandler.php', 'CakeLog' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Log/CakeLog.php', 'LogEngineCollection' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Log/LogEngineCollection.php', 'ObjectCollection' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Utility/ObjectCollection.php', 'FileLog' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Log/Engine/FileLog.php', 'BaseLog' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Log/Engine/BaseLog.php', 'CakeLogInterface' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Log/CakeLogInterface.php', 'Debugger' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Utility/Debugger.php', 'CakeText' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Utility/CakeText.php', 'Dispatcher' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Routing/Dispatcher.php', 'CakeEventListener' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Event/CakeEventListener.php', 'CakeRequest' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Network/CakeRequest.php', 'CakeResponse' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Network/CakeResponse.php', 'CakeEvent' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Event/CakeEvent.php', 'CakeEventManager' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Event/CakeEventManager.php', 'AssetDispatcher' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Routing/Filter/AssetDispatcher.php', 'DispatcherFilter' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Routing/DispatcherFilter.php', 'CacheDispatcher' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Routing/Filter/CacheDispatcher.php', 'Router' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Routing/Router.php', 'CakeRoute' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Routing/Route/CakeRoute.php', 'CakePlugin' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Core/CakePlugin.php', 'PermitsController' => '/var/www/html/nyc.millsbomb.com/app/Controller/PermitsController.php', 'AppController' => '/var/www/html/nyc.millsbomb.com/app/Controller/AppController.php', 'Controller' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Controller/Controller.php', 'CakeObject' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Core/CakeObject.php', 'ComponentCollection' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Controller/ComponentCollection.php', 'SessionComponent' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Controller/Component/SessionComponent.php', 'Component' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Controller/Component.php', 'FlashComponent' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Controller/Component/FlashComponent.php', 'RequestHandlerComponent' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Controller/Component/RequestHandlerComponent.php', 'ClassRegistry' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Utility/ClassRegistry.php', 'AppModel' => '/var/www/html/nyc.millsbomb.com/app/Model/AppModel.php', 'Model' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Model/Model.php', 'BehaviorCollection' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Model/BehaviorCollection.php', 'ConnectionManager' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Model/ConnectionManager.php', 'Mysql' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Model/Datasource/Database/Mysql.php', 'DboSource' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Model/Datasource/DboSource.php', 'DataSource' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Model/Datasource/DataSource.php', 'I18n' => '/var/www/html/nyc.millsbomb.com/lib/Cake/I18n/I18n.php', 'L10n' => '/var/www/html/nyc.millsbomb.com/lib/Cake/I18n/L10n.php', 'CakeSession' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Model/Datasource/CakeSession.php', 'ExceptionRenderer' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Error/ExceptionRenderer.php', 'CakeErrorController' => '/var/www/html/nyc.millsbomb.com/lib/Cake/Controller/CakeErrorController.php', 'View' => '/var/www/html/nyc.millsbomb.com/lib/Cake/View/View.php', 'HelperCollection' => '/var/www/html/nyc.millsbomb.com/lib/Cake/View/HelperCollection.php', 'ViewBlock' => '/var/www/html/nyc.millsbomb.com/lib/Cake/View/ViewBlock.php', 'HtmlHelper' => '/var/www/html/nyc.millsbomb.com/lib/Cake/View/Helper/HtmlHelper.php', 'AppHelper' => '/var/www/html/nyc.millsbomb.com/app/View/Helper/AppHelper.php', 'Helper' => '/var/www/html/nyc.millsbomb.com/lib/Cake/View/Helper.php', 'FormHelper' => '/var/www/html/nyc.millsbomb.com/lib/Cake/View/Helper/FormHelper.php', 'FlashHelper' => '/var/www/html/nyc.millsbomb.com/lib/Cake/View/Helper/FlashHelper.php' ) $config = '_cake_core_' $settings = array( 'engine' => 'File', 'prefix' => 'myapp_cake_core_', 'path' => '/var/www/html/nyc.millsbomb.com/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 328 App::shutdown() - CORE/Cake/Core/App.php, line 938 [main] - [internal], line ??
Warning (512): _cake_core_ cache was unable to write 'method_cache' to File cache [CORE/Cake/Cache/Cache.php, line 328]Code Context),
E_USER_WARNING
);
$key = 'method_cache' $value = array( (int) 0 => false, 'name' => array( '272cf82ff1d857e5e487fa3fb4cd9020' => '`nyc_business`', 'c1f271ae6be8b34e116b732027000915' => '`permits`' ) ) $config = '_cake_core_' $settings = array( 'engine' => 'File', 'prefix' => 'myapp_cake_core_', 'path' => '/var/www/html/nyc.millsbomb.com/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 328 DboSource::__destruct() - CORE/Cake/Model/Datasource/DboSource.php, line 3704 [main] - [internal], line ??