Warning (2): PDOStatement::execute(): MySQL server has gone away [CORE/Cake/Model/Datasource/DboSource.php, line 461]Code Context$query = $this->_connection->prepare($sql, $prepareOptions);$query->setFetchMode(PDO::FETCH_LAZY);if (!$query->execute($params)) {$sql = 'SELECT `User`.`contact_email` FROM `db_broowaha`.`tbl_users` AS `User` WHERE `User`.`user_type` = 'admin' LIMIT 1' $params = array() $prepareOptions = array() $this = object(Mysql) { description => 'MySQL DBO Driver' startQuote => '`' endQuote => '`' fieldParameters => array( 'charset' => array( [maximum depth reached] ), 'collate' => array( [maximum depth reached] ), 'comment' => array( [maximum depth reached] ), 'unsigned' => array( [maximum depth reached] ) ) tableParameters => array( 'charset' => array( [maximum depth reached] ), 'collate' => array( [maximum depth reached] ), 'engine' => array( [maximum depth reached] ), 'comment' => array( [maximum depth reached] ) ) columns => array( 'primary_key' => array( [maximum depth reached] ), 'string' => array( [maximum depth reached] ), 'text' => array( [maximum depth reached] ), 'biginteger' => array( [maximum depth reached] ), 'integer' => array( [maximum depth reached] ), 'float' => array( [maximum depth reached] ), 'decimal' => array( [maximum depth reached] ), 'datetime' => array( [maximum depth reached] ), 'timestamp' => array( [maximum depth reached] ), 'time' => array( [maximum depth reached] ), 'date' => array( [maximum depth reached] ), 'binary' => array( [maximum depth reached] ), 'boolean' => array( [maximum depth reached] ) ) index => array( 'PRI' => 'primary', 'MUL' => 'index', 'UNI' => 'unique' ) alias => 'AS ' cacheMethods => true useNestedTransactions => false fullDebug => true affected => (int) 73 numRows => (int) 73 took => (float) 0 configKeyName => 'default' virtualFieldSeparator => '__' connected => true config => array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'prefix' => '*****', 'persistent' => false, 'flags' => array([maximum depth reached]), 'datasource' => 'Database/Mysql' ) cacheSources => true map => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) [protected] _baseConfig => array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'persistent' => true, 'flags' => array([maximum depth reached]) ) [protected] _connection => object(PDO) {} [protected] _useAlias => true [protected] _charsets => array() [protected] _result => object(PDOStatement) {} [protected] _queriesCnt => (int) 1 [protected] _queriesTime => (float) 0 [protected] _queriesLog => array( (int) 0 => array( [maximum depth reached] ) ) [protected] _queriesLogMax => (int) 200 [protected] _queryCache => array() [protected] _sqlOps => array( (int) 0 => 'like', (int) 1 => 'ilike', (int) 2 => 'rlike', (int) 3 => 'or', (int) 4 => 'not', (int) 5 => 'in', (int) 6 => 'between', (int) 7 => 'regexp', (int) 8 => 'similar to' ) [protected] _transactionNesting => (int) 0 [protected] _queryDefaults => array( 'conditions' => array([maximum depth reached]), 'fields' => null, 'table' => null, 'alias' => null, 'order' => null, 'limit' => null, 'joins' => array([maximum depth reached]), 'group' => null, 'offset' => null ) [protected] _methodCacheChange => false [protected] _descriptions => array( 'db_broowaha.tbl_categories' => array( [maximum depth reached] ), 'db_broowaha.tbl_users' => array( [maximum depth reached] ) ) [protected] _sources => array( (int) 0 => 'tbl_ads', (int) 1 => 'tbl_article_categories', (int) 2 => 'tbl_article_tags', (int) 3 => 'tbl_articles', (int) 4 => 'tbl_categories', (int) 5 => 'tbl_comments', (int) 6 => 'tbl_contacts', (int) 7 => 'tbl_countries', (int) 8 => 'tbl_email_templates', (int) 9 => 'tbl_message_replies', (int) 10 => 'tbl_message_users', (int) 11 => 'tbl_messages', (int) 12 => 'tbl_metadata', (int) 13 => 'tbl_pages', (int) 14 => 'tbl_ratings', (int) 15 => 'tbl_rejection_reasons', (int) 16 => 'tbl_revised_articles', (int) 17 => 'tbl_settings', (int) 18 => 'tbl_social_profiles', (int) 19 => 'tbl_subscriptions', (int) 20 => 'tbl_tags', (int) 21 => 'tbl_text_links', (int) 22 => 'tbl_users', (int) 23 => 'tbl_users_bck', (int) 24 => 'userGroups' ) [protected] _transactionStarted => false } $query = object(PDOStatement) { queryString => 'SELECT `User`.`contact_email` FROM `db_broowaha`.`tbl_users` AS `User` WHERE `User`.`user_type` = 'admin' LIMIT 1' }PDOStatement::execute() - [internal], line ?? DboSource::_execute() - CORE/Cake/Model/Datasource/DboSource.php, line 461 DboSource::execute() - CORE/Cake/Model/Datasource/DboSource.php, line 427 DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 669 DboSource::read() - CORE/Cake/Model/Datasource/DboSource.php, line 1108 Model::_readDataSource() - CORE/Cake/Model/Model.php, line 3022 Model::find() - CORE/Cake/Model/Model.php, line 2994 AppController::beforeFilter() - APP/Controller/AppController.php, line 72 ArticlesController::beforeFilter() - APP/Controller/ArticlesController.php, line 18 call_user_func - [internal], line ?? CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243 Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 676 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Warning (2): PDOStatement::execute() [pdostatement.execute]: Error reading result set's header [CORE/Cake/Model/Datasource/DboSource.php, line 461]Code Context$query = $this->_connection->prepare($sql, $prepareOptions);$query->setFetchMode(PDO::FETCH_LAZY);if (!$query->execute($params)) {$sql = 'SELECT `User`.`contact_email` FROM `db_broowaha`.`tbl_users` AS `User` WHERE `User`.`user_type` = 'admin' LIMIT 1' $params = array() $prepareOptions = array() $this = object(Mysql) { description => 'MySQL DBO Driver' startQuote => '`' endQuote => '`' fieldParameters => array( 'charset' => array( [maximum depth reached] ), 'collate' => array( [maximum depth reached] ), 'comment' => array( [maximum depth reached] ), 'unsigned' => array( [maximum depth reached] ) ) tableParameters => array( 'charset' => array( [maximum depth reached] ), 'collate' => array( [maximum depth reached] ), 'engine' => array( [maximum depth reached] ), 'comment' => array( [maximum depth reached] ) ) columns => array( 'primary_key' => array( [maximum depth reached] ), 'string' => array( [maximum depth reached] ), 'text' => array( [maximum depth reached] ), 'biginteger' => array( [maximum depth reached] ), 'integer' => array( [maximum depth reached] ), 'float' => array( [maximum depth reached] ), 'decimal' => array( [maximum depth reached] ), 'datetime' => array( [maximum depth reached] ), 'timestamp' => array( [maximum depth reached] ), 'time' => array( [maximum depth reached] ), 'date' => array( [maximum depth reached] ), 'binary' => array( [maximum depth reached] ), 'boolean' => array( [maximum depth reached] ) ) index => array( 'PRI' => 'primary', 'MUL' => 'index', 'UNI' => 'unique' ) alias => 'AS ' cacheMethods => true useNestedTransactions => false fullDebug => true affected => (int) 73 numRows => (int) 73 took => (float) 0 configKeyName => 'default' virtualFieldSeparator => '__' connected => true config => array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'prefix' => '*****', 'persistent' => false, 'flags' => array([maximum depth reached]), 'datasource' => 'Database/Mysql' ) cacheSources => true map => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ) ) [protected] _baseConfig => array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'port' => '*****', 'persistent' => true, 'flags' => array([maximum depth reached]) ) [protected] _connection => object(PDO) {} [protected] _useAlias => true [protected] _charsets => array() [protected] _result => object(PDOStatement) {} [protected] _queriesCnt => (int) 1 [protected] _queriesTime => (float) 0 [protected] _queriesLog => array( (int) 0 => array( [maximum depth reached] ) ) [protected] _queriesLogMax => (int) 200 [protected] _queryCache => array() [protected] _sqlOps => array( (int) 0 => 'like', (int) 1 => 'ilike', (int) 2 => 'rlike', (int) 3 => 'or', (int) 4 => 'not', (int) 5 => 'in', (int) 6 => 'between', (int) 7 => 'regexp', (int) 8 => 'similar to' ) [protected] _transactionNesting => (int) 0 [protected] _queryDefaults => array( 'conditions' => array([maximum depth reached]), 'fields' => null, 'table' => null, 'alias' => null, 'order' => null, 'limit' => null, 'joins' => array([maximum depth reached]), 'group' => null, 'offset' => null ) [protected] _methodCacheChange => false [protected] _descriptions => array( 'db_broowaha.tbl_categories' => array( [maximum depth reached] ), 'db_broowaha.tbl_users' => array( [maximum depth reached] ) ) [protected] _sources => array( (int) 0 => 'tbl_ads', (int) 1 => 'tbl_article_categories', (int) 2 => 'tbl_article_tags', (int) 3 => 'tbl_articles', (int) 4 => 'tbl_categories', (int) 5 => 'tbl_comments', (int) 6 => 'tbl_contacts', (int) 7 => 'tbl_countries', (int) 8 => 'tbl_email_templates', (int) 9 => 'tbl_message_replies', (int) 10 => 'tbl_message_users', (int) 11 => 'tbl_messages', (int) 12 => 'tbl_metadata', (int) 13 => 'tbl_pages', (int) 14 => 'tbl_ratings', (int) 15 => 'tbl_rejection_reasons', (int) 16 => 'tbl_revised_articles', (int) 17 => 'tbl_settings', (int) 18 => 'tbl_social_profiles', (int) 19 => 'tbl_subscriptions', (int) 20 => 'tbl_tags', (int) 21 => 'tbl_text_links', (int) 22 => 'tbl_users', (int) 23 => 'tbl_users_bck', (int) 24 => 'userGroups' ) [protected] _transactionStarted => false } $query = object(PDOStatement) { queryString => 'SELECT `User`.`contact_email` FROM `db_broowaha`.`tbl_users` AS `User` WHERE `User`.`user_type` = 'admin' LIMIT 1' }PDOStatement::execute() - [internal], line ?? DboSource::_execute() - CORE/Cake/Model/Datasource/DboSource.php, line 461 DboSource::execute() - CORE/Cake/Model/Datasource/DboSource.php, line 427 DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 669 DboSource::read() - CORE/Cake/Model/Datasource/DboSource.php, line 1108 Model::_readDataSource() - CORE/Cake/Model/Model.php, line 3022 Model::find() - CORE/Cake/Model/Model.php, line 2994 AppController::beforeFilter() - APP/Controller/AppController.php, line 72 ArticlesController::beforeFilter() - APP/Controller/ArticlesController.php, line 18 call_user_func - [internal], line ?? CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243 Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 676 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Error: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
SQL Query: SELECT `User`.`contact_email` FROM `db_broowaha`.`tbl_users` AS `User` WHERE `User`.`user_type` = 'admin' LIMIT 1
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()
$options += array('log' => $this->fullDebug);$t = microtime(true);$this->_result = $this->_execute($sql, $params);
'SELECT `User`.`contact_email` FROM `db_broowaha`.`tbl_users` AS `User` WHERE `User`.`user_type` = 'admin' LIMIT 1' array()
if ($cache && ($cached = $this->getQueryCache($sql, $params)) !== false) {return $cached;}$result = $this->execute($sql, array(), $params);if ($result) {
'SELECT `User`.`contact_email` FROM `db_broowaha`.`tbl_users` AS `User` WHERE `User`.`user_type` = 'admin' LIMIT 1' array() array()
// Build SQL statement with the primary model, plus hasOne and belongsTo associations$query = $this->buildAssociationQuery($Model, $queryData);$resultSet = $this->fetchAll($query, $Model->cacheQueries);unset($query);
'SELECT `User`.`contact_email` FROM `db_broowaha`.`tbl_users` AS `User` WHERE `User`.`user_type` = 'admin' LIMIT 1' false
* @return array*/protected function _readDataSource($type, $query) {$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();
object(User) {
name => 'User'
actsAs => array(
(int) 0 => 'Multivalidatable',
(int) 1 => 'Containable',
'Image' => array(
'settings' => array(
[maximum depth reached]
),
'photos' => array(
[maximum depth reached]
)
)
)
hasMany => array(
'Article' => array(
'className' => 'Article',
'foreignKey' => 'user_id',
'dependent' => true,
'conditions' => '',
'fields' => '',
'order' => '',
'limit' => '',
'offset' => '',
'exclusive' => '',
'finderQuery' => '',
'counterQuery' => ''
),
'SocialProfile' => array(
'className' => 'SocialProfile',
'foreignKey' => 'user_id',
'conditions' => '',
'fields' => '',
'order' => '',
'limit' => '',
'offset' => '',
'dependent' => '',
'exclusive' => '',
'finderQuery' => '',
'counterQuery' => ''
),
'Comment' => array(
'className' => 'Comment',
'foreignKey' => 'user_id',
'dependent' => true,
'conditions' => '',
'fields' => '',
'order' => '',
'limit' => '',
'offset' => '',
'exclusive' => '',
'finderQuery' => '',
'counterQuery' => ''
)
)
validationSets => array(
'admin_login' => array(
'password' => '*****',
'username' => array(
[maximum depth reached]
)
),
'admin_change_password' => array(
'password' => '*****',
'old_password' => array(
[maximum depth reached]
),
'confirm_password' => array(
[maximum depth reached]
)
),
'admin_change_username' => array(
'old_username' => array(
[maximum depth reached]
),
'username' => array(
[maximum depth reached]
),
'confirm_username' => array(
[maximum depth reached]
)
),
'admin_change_email' => array(
'old_email' => array(
[maximum depth reached]
),
'email' => array(
[maximum depth reached]
),
'confirm_email' => array(
[maximum depth reached]
)
),
'admin_add_validation' => array(
'password' => '*****',
'first_name' => array(
[maximum depth reached]
),
'username' => array(
[maximum depth reached]
),
'email' => array(
[maximum depth reached]
),
'confirm_password' => array(
[maximum depth reached]
),
'state' => array(
[maximum depth reached]
),
'city' => array(
[maximum depth reached]
),
'phone' => array(
[maximum depth reached]
),
'pincode' => array(
[maximum depth reached]
),
'image' => array(
[maximum depth reached]
)
),
'admin_edit_validation' => array(
'first_name' => array(
[maximum depth reached]
),
'username' => array(
[maximum depth reached]
),
'email' => array(
[maximum depth reached]
),
'state' => array(
[maximum depth reached]
),
'city' => array(
[maximum depth reached]
),
'phone' => array(
[maximum depth reached]
),
'pincode' => array(
[maximum depth reached]
),
'image' => array(
[maximum depth reached]
)
),
'user_login' => array(
'password' => '*****',
'username' => array(
[maximum depth reached]
)
),
'user_register' => array(
'password' => '*****',
'username' => array(
[maximum depth reached]
),
'email' => array(
[maximum depth reached]
),
'country_id' => array(
[maximum depth reached]
)
),
'user_change_password' => array(
'password' => '*****',
'old_password' => array(
[maximum depth reached]
),
'confirm_password' => array(
[maximum depth reached]
)
),
'forgot_password' => array(
'email' => array(
[maximum depth reached]
)
),
'reset_password' => array(
'password' => '*****',
'confirm_password' => array(
[maximum depth reached]
)
)
)
useDbConfig => 'default'
useTable => 'users'
id => false
data => array()
schemaName => 'db_broowaha'
table => 'users'
primaryKey => 'id'
validate => array(
'filedata' => array(
'validType' => array(
[maximum depth reached]
),
'uploadError' => array(
[maximum depth reached]
)
)
)
validationErrors => array()
validationDomain => null
tablePrefix => 'tbl_'
plugin => null
alias => 'User'
tableToModel => array(
'users' => 'User'
)
cacheQueries => false
belongsTo => array()
hasOne => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {
modelName => 'User'
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 => array(
'password' => '*****',
'id' => array(
'type' => 'integer',
'null' => false,
'default' => null,
'length' => (int) 11,
'unsigned' => true,
'key' => 'primary'
),
'role_id' => array(
'type' => 'integer',
'null' => false,
'default' => null,
'length' => (int) 2,
'unsigned' => false
),
'first_name' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'last_name' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'gender' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'dob' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'username' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'email' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'slug' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'contact_email' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'social_network_name' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'user_type' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'phone' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'address' => array(
'type' => 'text',
'null' => false,
'default' => null,
'length' => null,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'city' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'state' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'country_id' => array(
'type' => 'integer',
'null' => false,
'default' => null,
'length' => (int) 11,
'unsigned' => false
),
'pincode' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'about_me' => array(
'type' => 'text',
'null' => false,
'default' => null,
'length' => null,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'image' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'approval_status' => array(
'type' => 'enum('pending','approved','rejected')',
'null' => false,
'default' => null,
'length' => (int) 8,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'status' => array(
'type' => 'boolean',
'null' => false,
'default' => null,
'length' => (int) 1
),
'is_deleted' => array(
'type' => 'boolean',
'null' => false,
'default' => '0',
'length' => (int) 1
),
'verification_key' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'forgot_key' => array(
'type' => 'text',
'null' => false,
'default' => null,
'length' => null,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'is_verified' => array(
'type' => 'boolean',
'null' => false,
'default' => '0',
'length' => (int) 1,
'comment' => '0=not verified, 1=verified'
),
'facebook_url' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'twitter_url' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'google_plus_url' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'linkedin_url' => array(
'type' => 'string',
'null' => false,
'default' => null,
'length' => (int) 255,
'collate' => 'latin1_swedish_ci',
'charset' => 'latin1'
),
'created' => array(
'type' => 'datetime',
'null' => false,
'default' => null,
'length' => null
),
'modified' => array(
'type' => 'datetime',
'null' => false,
'default' => null,
'length' => null
),
'last_login' => array(
'type' => 'datetime',
'null' => false,
'default' => null,
'length' => null
),
'testing_status' => array(
'type' => 'integer',
'null' => false,
'default' => null,
'length' => (int) 4,
'unsigned' => false
),
'ref_old_id' => array(
'type' => 'integer',
'null' => true,
'default' => null,
'length' => (int) 11,
'unsigned' => false
)
)
[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(
'User.user_type' => 'admin'
),
'fields' => array(
(int) 0 => 'User.contact_email'
),
'joins' => array(),
'limit' => (int) 1,
'offset' => null,
'order' => array(
(int) 0 => null
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'recursive' => (int) -1
)return null;}return $this->_readDataSource($type, $query);}
'first' array( 'conditions' => array( 'User.user_type' => 'admin' ), 'fields' => array( (int) 0 => 'User.contact_email' ), 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) -1 )
'User.contact_email'),'recursive' => -1));if(!empty($admin_email)) {
'first' array( 'conditions' => array( 'User.user_type' => 'admin' ), 'fields' => array( (int) 0 => 'User.contact_email' ), 'recursive' => (int) -1 )
public function beforeFilter(){parent::beforeFilter();// Allow users to register and logout.
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ArticlesController) {
name => 'Articles'
uses => array(
[maximum depth reached]
)
Model => 'Article'
Controller => 'Articles'
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
theme => 'Site'
settings => array([maximum depth reached])
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Articles'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'search_by_tag'
layout => 'default'
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 => 'Article'
modelKey => 'article'
validationErrors => null
Auth => object(AuthComponent) {}
Email => object(EmailComponent) {}
Security => object(SecurityComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Session => object(SessionComponent) {}
Paginator => object(PaginatorComponent) {}
PaginateFormVariables => object(PaginateFormVariablesComponent) {}
Search => object(SearchComponent) {}
User => object(User) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}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(ArticlesController) {
name => 'Articles'
uses => array(
(int) 0 => 'Article',
(int) 1 => 'RevisedArticle',
(int) 2 => 'Dashboard',
(int) 3 => 'Category',
(int) 4 => 'Comment',
(int) 5 => 'Rating',
(int) 6 => 'RejectionReason',
(int) 7 => 'EmailTemplate',
(int) 8 => 'Tag',
(int) 9 => 'ArticleTag',
(int) 10 => 'ArticleCategory',
(int) 11 => 'User',
(int) 12 => 'Country',
(int) 13 => 'Setting',
(int) 14 => 'MessageReply',
(int) 15 => 'ArticleTags',
(int) 16 => 'Metadata',
(int) 17 => 'Ad'
)
Model => 'Article'
Controller => 'Articles'
components => array(
'Auth' => null,
'Email' => null,
'Security' => null,
'RequestHandler' => null,
'Session' => null,
'Paginator' => null,
'PaginateFormVariables' => null,
'Search' => null
)
helpers => array(
'Form' => null,
'Html' => null,
'Javascript' => null,
'Ajax' => null,
'Js' => array(
[maximum depth reached]
),
'Paginator' => null
)
theme => 'Site'
settings => array()
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Articles'
layoutPath => null
viewVars => array()
view => 'search_by_tag'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
(int) 0 => 'lessburglaries',
'page' => '41'
)
scaffold => false
methods => array(
(int) 1 => 'admin_index',
(int) 2 => 'admin_pending_index',
(int) 3 => 'admin_reason_description',
(int) 4 => 'admin_rejected_index',
(int) 5 => 'admin_revised_index',
(int) 6 => 'admin_add',
(int) 7 => 'admin_edit',
(int) 8 => 'add_article',
(int) 9 => 'edit_my_article',
(int) 10 => 'edit_article',
(int) 11 => 'edit_revised_article',
(int) 12 => 'admin_delete',
(int) 13 => 'delete_images',
(int) 14 => 'admin_activate',
(int) 15 => 'admin_deactivate',
(int) 16 => 'admin_approve_pending',
(int) 17 => 'admin_approve_all',
(int) 18 => 'admin_reject_pending',
(int) 19 => 'admin_approve_rejected',
(int) 20 => 'admin_approve_revised',
(int) 21 => 'admin_approve_all_revised',
(int) 22 => 'admin_reject_revised',
(int) 23 => 'single_article',
(int) 24 => 'article_list',
(int) 25 => 'view_article',
(int) 26 => 'view_author_profile',
(int) 27 => 'search',
(int) 28 => 'search_by_tag',
(int) 29 => 'my_articles',
(int) 30 => 'pending_articles',
(int) 31 => 'rejected_articles',
(int) 32 => 'delete_article',
(int) 33 => 'admin_set_values',
(int) 34 => 'admin_bulk_options',
(int) 35 => 'migrate',
(int) 36 => 'admin_downloadImages',
(int) 37 => 'sitemap',
(int) 38 => 'preview_article',
(int) 39 => 'defineCache',
(int) 40 => 'userCount',
(int) 41 => '__securityError',
(int) 42 => 'stringToSlug',
(int) 43 => 'isAuthorized',
(int) 44 => '__sendEmail',
(int) 45 => '_setErrorLayout'
)
modelClass => 'Article'
modelKey => 'article'
validationErrors => null
Auth => object(AuthComponent) {}
Email => object(EmailComponent) {}
Security => object(SecurityComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Session => object(SessionComponent) {}
Paginator => object(PaginatorComponent) {}
PaginateFormVariables => object(PaginateFormVariablesComponent) {}
Search => object(SearchComponent) {}
User => object(User) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ArticlesController) {
name => 'Articles'
uses => array(
[maximum depth reached]
)
Model => 'Article'
Controller => 'Articles'
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
theme => 'Site'
settings => array([maximum depth reached])
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Articles'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'search_by_tag'
layout => 'default'
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 => 'Article'
modelKey => 'article'
validationErrors => null
Auth => object(AuthComponent) {}
Email => object(EmailComponent) {}
Security => object(SecurityComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Session => object(SessionComponent) {}
Paginator => object(PaginatorComponent) {}
PaginateFormVariables => object(PaginateFormVariablesComponent) {}
Search => object(SearchComponent) {}
User => object(User) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}* @triggers Controller.startup $this*/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(ArticlesController) {
name => 'Articles'
uses => array(
[maximum depth reached]
)
Model => 'Article'
Controller => 'Articles'
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
theme => 'Site'
settings => array([maximum depth reached])
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Articles'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'search_by_tag'
layout => 'default'
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 => 'Article'
modelKey => 'article'
validationErrors => null
Auth => object(AuthComponent) {}
Email => object(EmailComponent) {}
Security => object(SecurityComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Session => object(SessionComponent) {}
Paginator => object(PaginatorComponent) {}
PaginateFormVariables => object(PaginateFormVariablesComponent) {}
Search => object(SearchComponent) {}
User => object(User) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
[protected] _stopped => false
}*/protected function _invoke(Controller $controller, CakeRequest $request) {$controller->constructClasses();$controller->startupProcess();
));}$response = $this->_invoke($controller, $request);if (isset($request->params['return'])) {
object(ArticlesController) {
name => 'Articles'
uses => array(
(int) 0 => 'Article',
(int) 1 => 'RevisedArticle',
(int) 2 => 'Dashboard',
(int) 3 => 'Category',
(int) 4 => 'Comment',
(int) 5 => 'Rating',
(int) 6 => 'RejectionReason',
(int) 7 => 'EmailTemplate',
(int) 8 => 'Tag',
(int) 9 => 'ArticleTag',
(int) 10 => 'ArticleCategory',
(int) 11 => 'User',
(int) 12 => 'Country',
(int) 13 => 'Setting',
(int) 14 => 'MessageReply',
(int) 15 => 'ArticleTags',
(int) 16 => 'Metadata',
(int) 17 => 'Ad'
)
Model => 'Article'
Controller => 'Articles'
components => array(
'Auth' => null,
'Email' => null,
'Security' => null,
'RequestHandler' => null,
'Session' => null,
'Paginator' => null,
'PaginateFormVariables' => null,
'Search' => null
)
helpers => array(
'Form' => null,
'Html' => null,
'Javascript' => null,
'Ajax' => null,
'Js' => array(
(int) 0 => 'Jquery'
),
'Paginator' => null
)
theme => 'Site'
settings => array()
request => object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'articles/search_by_tag/lessburglaries/page:41'
base => ''
webroot => '/'
here => '/articles/search_by_tag/lessburglaries/page:41'
[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 => 'Articles'
layoutPath => null
viewVars => array()
view => 'search_by_tag'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {
defaultPriority => (int) 10
[protected] _Controller => object(ArticlesController) {}
[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 => 'lessburglaries',
'page' => '41'
)
scaffold => false
methods => array(
(int) 1 => 'admin_index',
(int) 2 => 'admin_pending_index',
(int) 3 => 'admin_reason_description',
(int) 4 => 'admin_rejected_index',
(int) 5 => 'admin_revised_index',
(int) 6 => 'admin_add',
(int) 7 => 'admin_edit',
(int) 8 => 'add_article',
(int) 9 => 'edit_my_article',
(int) 10 => 'edit_article',
(int) 11 => 'edit_revised_article',
(int) 12 => 'admin_delete',
(int) 13 => 'delete_images',
(int) 14 => 'admin_activate',
(int) 15 => 'admin_deactivate',
(int) 16 => 'admin_approve_pending',
(int) 17 => 'admin_approve_all',
(int) 18 => 'admin_reject_pending',
(int) 19 => 'admin_approve_rejected',
(int) 20 => 'admin_approve_revised',
(int) 21 => 'admin_approve_all_revised',
(int) 22 => 'admin_reject_revised',
(int) 23 => 'single_article',
(int) 24 => 'article_list',
(int) 25 => 'view_article',
(int) 26 => 'view_author_profile',
(int) 27 => 'search',
(int) 28 => 'search_by_tag',
(int) 29 => 'my_articles',
(int) 30 => 'pending_articles',
(int) 31 => 'rejected_articles',
(int) 32 => 'delete_article',
(int) 33 => 'admin_set_values',
(int) 34 => 'admin_bulk_options',
(int) 35 => 'migrate',
(int) 36 => 'admin_downloadImages',
(int) 37 => 'sitemap',
(int) 38 => 'preview_article',
(int) 39 => 'defineCache',
(int) 40 => 'userCount',
(int) 41 => '__securityError',
(int) 42 => 'stringToSlug',
(int) 43 => 'isAuthorized',
(int) 44 => '__sendEmail',
(int) 45 => '_setErrorLayout'
)
modelClass => 'Article'
modelKey => 'article'
validationErrors => null
Auth => object(AuthComponent) {
components => array(
[maximum depth reached]
)
authenticate => array(
[maximum depth reached]
)
authorize => false
ajaxLogin => null
flash => array(
[maximum depth reached]
)
loginAction => array(
[maximum depth reached]
)
loginRedirect => null
logoutRedirect => null
authError => null
unauthorizedRedirect => true
allowedActions => array([maximum depth reached])
request => object(CakeRequest) {}
response => object(CakeResponse) {}
settings => array([maximum depth reached])
[protected] _authenticateObjects => array([maximum depth reached])
[protected] _authorizeObjects => array([maximum depth reached])
[protected] _user => array([maximum depth reached])
[protected] _methods => array(
[maximum depth reached]
)
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array(
[maximum depth reached]
)
}
Email => object(EmailComponent) {
to => null
from => null
replyTo => null
readReceipt => null
return => null
cc => array([maximum depth reached])
bcc => array([maximum depth reached])
date => null
subject => null
headers => array([maximum depth reached])
additionalParams => null
layout => 'default'
template => null
lineFeed => ''
sendAs => 'text'
delivery => 'mail'
charset => 'UTF-8'
attachments => array([maximum depth reached])
xMailer => 'CakePHP Email Component'
filePaths => array([maximum depth reached])
smtpOptions => array([maximum depth reached])
textMessage => null
htmlMessage => null
messageId => true
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _controller => object(ArticlesController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Security => object(SecurityComponent) {
blackHoleCallback => '__securityError'
requirePost => array([maximum depth reached])
requireGet => array([maximum depth reached])
requirePut => array([maximum depth reached])
requireDelete => array([maximum depth reached])
requireSecure => array([maximum depth reached])
requireAuth => array([maximum depth reached])
allowedControllers => array([maximum depth reached])
allowedActions => array([maximum depth reached])
disabledFields => array([maximum depth reached])
unlockedFields => array([maximum depth reached])
unlockedActions => array([maximum depth reached])
validatePost => true
csrfCheck => true
csrfExpires => '+30 minutes'
csrfUseOnce => true
csrfLimit => (int) 100
components => array(
[maximum depth reached]
)
request => null
settings => array([maximum depth reached])
[protected] _action => null
[protected] _Collection => object(ComponentCollection) {}
[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])
}
Session => object(SessionComponent) {
settings => array([maximum depth reached])
components => array([maximum depth reached])
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
Paginator => object(PaginatorComponent) {
settings => array(
[maximum depth reached]
)
whitelist => array(
[maximum depth reached]
)
components => array([maximum depth reached])
Controller => object(ArticlesController) {}
[protected] _Collection => object(ComponentCollection) {}
[protected] _componentMap => array([maximum depth reached])
}
PaginateFormVariables => object(PaginateFormVariablesComponent) {
nonPaginatorArgs => array([maximum depth reached])
}
Search => object(SearchComponent) {
}
User => object(User) {
name => 'User'
actsAs => array(
[maximum depth reached]
)
hasMany => array(
[maximum depth reached]
)
validationSets => array(
[maximum depth reached]
)
useDbConfig => 'default'
useTable => 'users'
id => false
data => array([maximum depth reached])
schemaName => 'db_broowaha'
table => 'users'
primaryKey => 'id'
validate => array(
[maximum depth reached]
)
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => 'tbl_'
plugin => null
alias => 'User'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'first'
recursive => (int) -1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
__safeUpdateMode => false
useConsistentAfterFind => true
findMethods => array(
[maximum depth reached]
)
[protected] _schema => array(
[maximum depth reached]
)
[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' => 'articles',
'action' => 'search_by_tag',
'named' => array(
'page' => '41'
),
'pass' => array(
(int) 0 => 'lessburglaries'
),
'isAjax' => false,
'models' => array(
'User' => array(
[maximum depth reached]
),
'Dashboard' => array(
[maximum depth reached]
),
'Country' => array(
[maximum depth reached]
),
'Article' => array(
[maximum depth reached]
),
'Comment' => array(
[maximum depth reached]
),
'Setting' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
'Category' => array(
[maximum depth reached]
),
'RevisedArticle' => array(
[maximum depth reached]
),
'MessageReply' => array(
[maximum depth reached]
),
'ArticleTags' => array(
[maximum depth reached]
),
'Metadata' => array(
[maximum depth reached]
),
'Ad' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'articles/search_by_tag/lessburglaries/page:41'
base => ''
webroot => '/'
here => '/articles/search_by_tag/lessburglaries/page:41'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'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' => 'articles',
'action' => 'search_by_tag',
'named' => array(
'page' => '41'
),
'pass' => array(
(int) 0 => 'lessburglaries'
),
'isAjax' => false,
'models' => array(
'User' => array(
[maximum depth reached]
),
'Dashboard' => array(
[maximum depth reached]
),
'Country' => array(
[maximum depth reached]
),
'Article' => array(
[maximum depth reached]
),
'Comment' => array(
[maximum depth reached]
),
'Setting' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
'Category' => array(
[maximum depth reached]
),
'RevisedArticle' => array(
[maximum depth reached]
),
'MessageReply' => array(
[maximum depth reached]
),
'ArticleTags' => array(
[maximum depth reached]
),
'Metadata' => array(
[maximum depth reached]
),
'Ad' => array(
[maximum depth reached]
)
)
)
data => array()
query => array()
url => 'articles/search_by_tag/lessburglaries/page:41'
base => ''
webroot => '/'
here => '/articles/search_by_tag/lessburglaries/page:41'
[protected] _detectors => array(
'get' => array(
'env' => 'REQUEST_METHOD',
'value' => 'GET'
),
'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',
'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',
'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'
)
[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()
}