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 `Article`.`id`, `Article`.`user_id`, `Article`.`primary_parent_category_id`, `Article`.`primary_category_id`, `Article`.`headline`, `Article`.`description`, `Article`.`category_id`, `Article`.`image`, `Article`.`tags`, `Article`.`meta_title`, `Article`.`meta_description`, `Article`.`slug`, `Article`.`approval_status`, `Article`.`rejection_reason_id`, `Article`.`rejection_reason_description`, `Article`.`status`, `Article`.`credited_by`, `Article`.`crediter_name`, `Article`.`url`, `Article`.`show_in_latest`, `Article`.`show_in_category`, `Article`.`show_in_sidebar`, `Article`.`is_featured`, `Article`.`created`, `Article`.`modified`, `User`.`id`, `User`.`role_id`, `User`.`first_name`, `User`.`last_name`, `User`.`gender`, `User`.`dob`, `User`.`username`, `User`.`email`, `User`.`password`, `User`.`slug`, `User`.`contact_email`, `User`.`social_network_name`, `User`.`user_type`, `User`.`phone`, `User`.`address`, `User`.`city`, `User`.`state`, `User`.`country_id`, `User`.`pincode`, `User`.`about_me`, `User`.`image`, `User`.`approval_status`, `User`.`status`, `User`.`is_deleted`, `User`.`verification_key`, `User`.`forgot_key`, `User`.`is_verified`, `User`.`facebook_url`, `User`.`twitter_url`, `User`.`google_plus_url`, `User`.`linkedin_url`, `User`.`created`, `User`.`modified`, `User`.`last_login`, `User`.`testing_status`, `User`.`ref_old_id`, `RejectionReason`.`id`, `RejectionReason`.`rejection_reason`, `RejectionReason`.`description`, `RejectionReason`.`status`, `RejectionReason`.`created`, `RejectionReason`.`modified` FROM `db_broowaha`.`tbl_articles` AS `Article` LEFT JOIN `db_broowaha`.`tbl_users` AS `User` ON (`Article`.`user_id` = `User`.`id`) LEFT JOIN `db_broowaha`.`tbl_rejection_reasons` AS `RejectionReason` ON (`Article`.`rejection_reason_id` = `RejectionReason`.`id`) WHERE `Article`.`approval_status` = 'approved' AND `Article`.`status` = 1 AND `Article`.`is_featured` = 'Yes' ORDER BY rand() ASC LIMIT 4' $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( 'latin1_swedish_ci' => 'latin1' ) [protected] _result => object(PDOStatement) {} [protected] _queriesCnt => (int) 39 [protected] _queriesTime => (float) 180 [protected] _queriesLog => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ), (int) 16 => array( [maximum depth reached] ), (int) 17 => array( [maximum depth reached] ), (int) 18 => array( [maximum depth reached] ), (int) 19 => array( [maximum depth reached] ), (int) 20 => array( [maximum depth reached] ), (int) 21 => array( [maximum depth reached] ), (int) 22 => array( [maximum depth reached] ), (int) 23 => array( [maximum depth reached] ), (int) 24 => array( [maximum depth reached] ), (int) 25 => array( [maximum depth reached] ), (int) 26 => array( [maximum depth reached] ), (int) 27 => array( [maximum depth reached] ), (int) 28 => array( [maximum depth reached] ), (int) 29 => array( [maximum depth reached] ), (int) 30 => array( [maximum depth reached] ), (int) 31 => array( [maximum depth reached] ), (int) 32 => array( [maximum depth reached] ), (int) 33 => array( [maximum depth reached] ), (int) 34 => array( [maximum depth reached] ), (int) 35 => array( [maximum depth reached] ), (int) 36 => array( [maximum depth reached] ), (int) 37 => array( [maximum depth reached] ), (int) 38 => 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] ), 'db_broowaha.tbl_article_categories' => array( [maximum depth reached] ), 'db_broowaha.tbl_articles' => array( [maximum depth reached] ), 'db_broowaha.tbl_comments' => array( [maximum depth reached] ), 'db_broowaha.tbl_ratings' => array( [maximum depth reached] ), 'db_broowaha.tbl_article_tags' => 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 `Article`.`id`, `Article`.`user_id`, `Article`.`primary_parent_category_id`, `Article`.`primary_category_id`, `Article`.`headline`, `Article`.`description`, `Article`.`category_id`, `Article`.`image`, `Article`.`tags`, `Article`.`meta_title`, `Article`.`meta_description`, `Article`.`slug`, `Article`.`approval_status`, `Article`.`rejection_reason_id`, `Article`.`rejection_reason_description`, `Article`.`status`, `Article`.`credited_by`, `Article`.`crediter_name`, `Article`.`url`, `Article`.`show_in_latest`, `Article`.`show_in_category`, `Article`.`show_in_sidebar`, `Article`.`is_featured`, `Article`.`created`, `Article`.`modified`, `User`.`id`, `User`.`role_id`, `User`.`first_name`, `User`.`last_name`, `User`.`gender`, `User`.`dob`, `User`.`username`, `User`.`email`, `User`.`password`, `User`.`slug`, `User`.`contact_email`, `User`.`social_network_name`, `User`.`user_type`, `User`.`phone`, `User`.`address`, `User`.`city`, `User`.`state`, `User`.`country_id`, `User`.`pincode`, `User`.`about_me`, `User`.`image`, `User`.`approval_status`, `User`.`status`, `User`.`is_deleted`, `User`.`verification_key`, `User`.`forgot_key`, `User`.`is_verified`, `User`.`facebook_url`, `User`.`twitter_url`, `User`.`google_plus_url`, `User`.`linkedin_url`, `User`.`created`, `User`.`modified`, `User`.`last_login`, `User`.`testing_status`, `User`.`ref_old_id`, `RejectionReason`.`id`, `RejectionReason`.`rejection_reason`, `RejectionReason`.`description`, `RejectionReason`.`status`, `RejectionReason`.`created`, `RejectionReason`.`modified` FROM `db_broowaha`.`tbl_articles` AS `Article` LEFT JOIN `db_broowaha`.`tbl_users` AS `User` ON (`Article`.`user_id` = `User`.`id`) LEFT JOIN `db_broowaha`.`tbl_rejection_reasons` AS `RejectionReason` ON (`Article`.`rejection_reason_id` = `RejectionReason`.`id`) WHERE `Article`.`approval_status` = 'approved' AND `Article`.`status` = 1 AND `Article`.`is_featured` = 'Yes' ORDER BY rand() ASC LIMIT 4' }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::defineCache() - APP/Controller/AppController.php, line 315 AppController::beforeFilter() - APP/Controller/AppController.php, line 169 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 `Article`.`id`, `Article`.`user_id`, `Article`.`primary_parent_category_id`, `Article`.`primary_category_id`, `Article`.`headline`, `Article`.`description`, `Article`.`category_id`, `Article`.`image`, `Article`.`tags`, `Article`.`meta_title`, `Article`.`meta_description`, `Article`.`slug`, `Article`.`approval_status`, `Article`.`rejection_reason_id`, `Article`.`rejection_reason_description`, `Article`.`status`, `Article`.`credited_by`, `Article`.`crediter_name`, `Article`.`url`, `Article`.`show_in_latest`, `Article`.`show_in_category`, `Article`.`show_in_sidebar`, `Article`.`is_featured`, `Article`.`created`, `Article`.`modified`, `User`.`id`, `User`.`role_id`, `User`.`first_name`, `User`.`last_name`, `User`.`gender`, `User`.`dob`, `User`.`username`, `User`.`email`, `User`.`password`, `User`.`slug`, `User`.`contact_email`, `User`.`social_network_name`, `User`.`user_type`, `User`.`phone`, `User`.`address`, `User`.`city`, `User`.`state`, `User`.`country_id`, `User`.`pincode`, `User`.`about_me`, `User`.`image`, `User`.`approval_status`, `User`.`status`, `User`.`is_deleted`, `User`.`verification_key`, `User`.`forgot_key`, `User`.`is_verified`, `User`.`facebook_url`, `User`.`twitter_url`, `User`.`google_plus_url`, `User`.`linkedin_url`, `User`.`created`, `User`.`modified`, `User`.`last_login`, `User`.`testing_status`, `User`.`ref_old_id`, `RejectionReason`.`id`, `RejectionReason`.`rejection_reason`, `RejectionReason`.`description`, `RejectionReason`.`status`, `RejectionReason`.`created`, `RejectionReason`.`modified` FROM `db_broowaha`.`tbl_articles` AS `Article` LEFT JOIN `db_broowaha`.`tbl_users` AS `User` ON (`Article`.`user_id` = `User`.`id`) LEFT JOIN `db_broowaha`.`tbl_rejection_reasons` AS `RejectionReason` ON (`Article`.`rejection_reason_id` = `RejectionReason`.`id`) WHERE `Article`.`approval_status` = 'approved' AND `Article`.`status` = 1 AND `Article`.`is_featured` = 'Yes' ORDER BY rand() ASC LIMIT 4' $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( 'latin1_swedish_ci' => 'latin1' ) [protected] _result => object(PDOStatement) {} [protected] _queriesCnt => (int) 39 [protected] _queriesTime => (float) 180 [protected] _queriesLog => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ), (int) 11 => array( [maximum depth reached] ), (int) 12 => array( [maximum depth reached] ), (int) 13 => array( [maximum depth reached] ), (int) 14 => array( [maximum depth reached] ), (int) 15 => array( [maximum depth reached] ), (int) 16 => array( [maximum depth reached] ), (int) 17 => array( [maximum depth reached] ), (int) 18 => array( [maximum depth reached] ), (int) 19 => array( [maximum depth reached] ), (int) 20 => array( [maximum depth reached] ), (int) 21 => array( [maximum depth reached] ), (int) 22 => array( [maximum depth reached] ), (int) 23 => array( [maximum depth reached] ), (int) 24 => array( [maximum depth reached] ), (int) 25 => array( [maximum depth reached] ), (int) 26 => array( [maximum depth reached] ), (int) 27 => array( [maximum depth reached] ), (int) 28 => array( [maximum depth reached] ), (int) 29 => array( [maximum depth reached] ), (int) 30 => array( [maximum depth reached] ), (int) 31 => array( [maximum depth reached] ), (int) 32 => array( [maximum depth reached] ), (int) 33 => array( [maximum depth reached] ), (int) 34 => array( [maximum depth reached] ), (int) 35 => array( [maximum depth reached] ), (int) 36 => array( [maximum depth reached] ), (int) 37 => array( [maximum depth reached] ), (int) 38 => 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] ), 'db_broowaha.tbl_article_categories' => array( [maximum depth reached] ), 'db_broowaha.tbl_articles' => array( [maximum depth reached] ), 'db_broowaha.tbl_comments' => array( [maximum depth reached] ), 'db_broowaha.tbl_ratings' => array( [maximum depth reached] ), 'db_broowaha.tbl_article_tags' => 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 `Article`.`id`, `Article`.`user_id`, `Article`.`primary_parent_category_id`, `Article`.`primary_category_id`, `Article`.`headline`, `Article`.`description`, `Article`.`category_id`, `Article`.`image`, `Article`.`tags`, `Article`.`meta_title`, `Article`.`meta_description`, `Article`.`slug`, `Article`.`approval_status`, `Article`.`rejection_reason_id`, `Article`.`rejection_reason_description`, `Article`.`status`, `Article`.`credited_by`, `Article`.`crediter_name`, `Article`.`url`, `Article`.`show_in_latest`, `Article`.`show_in_category`, `Article`.`show_in_sidebar`, `Article`.`is_featured`, `Article`.`created`, `Article`.`modified`, `User`.`id`, `User`.`role_id`, `User`.`first_name`, `User`.`last_name`, `User`.`gender`, `User`.`dob`, `User`.`username`, `User`.`email`, `User`.`password`, `User`.`slug`, `User`.`contact_email`, `User`.`social_network_name`, `User`.`user_type`, `User`.`phone`, `User`.`address`, `User`.`city`, `User`.`state`, `User`.`country_id`, `User`.`pincode`, `User`.`about_me`, `User`.`image`, `User`.`approval_status`, `User`.`status`, `User`.`is_deleted`, `User`.`verification_key`, `User`.`forgot_key`, `User`.`is_verified`, `User`.`facebook_url`, `User`.`twitter_url`, `User`.`google_plus_url`, `User`.`linkedin_url`, `User`.`created`, `User`.`modified`, `User`.`last_login`, `User`.`testing_status`, `User`.`ref_old_id`, `RejectionReason`.`id`, `RejectionReason`.`rejection_reason`, `RejectionReason`.`description`, `RejectionReason`.`status`, `RejectionReason`.`created`, `RejectionReason`.`modified` FROM `db_broowaha`.`tbl_articles` AS `Article` LEFT JOIN `db_broowaha`.`tbl_users` AS `User` ON (`Article`.`user_id` = `User`.`id`) LEFT JOIN `db_broowaha`.`tbl_rejection_reasons` AS `RejectionReason` ON (`Article`.`rejection_reason_id` = `RejectionReason`.`id`) WHERE `Article`.`approval_status` = 'approved' AND `Article`.`status` = 1 AND `Article`.`is_featured` = 'Yes' ORDER BY rand() ASC LIMIT 4' }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::defineCache() - APP/Controller/AppController.php, line 315 AppController::beforeFilter() - APP/Controller/AppController.php, line 169 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 `Article`.`id`, `Article`.`user_id`, `Article`.`primary_parent_category_id`, `Article`.`primary_category_id`, `Article`.`headline`, `Article`.`description`, `Article`.`category_id`, `Article`.`image`, `Article`.`tags`, `Article`.`meta_title`, `Article`.`meta_description`, `Article`.`slug`, `Article`.`approval_status`, `Article`.`rejection_reason_id`, `Article`.`rejection_reason_description`, `Article`.`status`, `Article`.`credited_by`, `Article`.`crediter_name`, `Article`.`url`, `Article`.`show_in_latest`, `Article`.`show_in_category`, `Article`.`show_in_sidebar`, `Article`.`is_featured`, `Article`.`created`, `Article`.`modified`, `User`.`id`, `User`.`role_id`, `User`.`first_name`, `User`.`last_name`, `User`.`gender`, `User`.`dob`, `User`.`username`, `User`.`email`, `User`.`password`, `User`.`slug`, `User`.`contact_email`, `User`.`social_network_name`, `User`.`user_type`, `User`.`phone`, `User`.`address`, `User`.`city`, `User`.`state`, `User`.`country_id`, `User`.`pincode`, `User`.`about_me`, `User`.`image`, `User`.`approval_status`, `User`.`status`, `User`.`is_deleted`, `User`.`verification_key`, `User`.`forgot_key`, `User`.`is_verified`, `User`.`facebook_url`, `User`.`twitter_url`, `User`.`google_plus_url`, `User`.`linkedin_url`, `User`.`created`, `User`.`modified`, `User`.`last_login`, `User`.`testing_status`, `User`.`ref_old_id`, `RejectionReason`.`id`, `RejectionReason`.`rejection_reason`, `RejectionReason`.`description`, `RejectionReason`.`status`, `RejectionReason`.`created`, `RejectionReason`.`modified` FROM `db_broowaha`.`tbl_articles` AS `Article` LEFT JOIN `db_broowaha`.`tbl_users` AS `User` ON (`Article`.`user_id` = `User`.`id`) LEFT JOIN `db_broowaha`.`tbl_rejection_reasons` AS `RejectionReason` ON (`Article`.`rejection_reason_id` = `RejectionReason`.`id`) WHERE `Article`.`approval_status` = 'approved' AND `Article`.`status` = 1 AND `Article`.`is_featured` = 'Yes' ORDER BY rand() ASC LIMIT 4
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 `Article`.`id`, `Article`.`user_id`, `Article`.`primary_parent_category_id`, `Article`.`primary_category_id`, `Article`.`headline`, `Article`.`description`, `Article`.`category_id`, `Article`.`image`, `Article`.`tags`, `Article`.`meta_title`, `Article`.`meta_description`, `Article`.`slug`, `Article`.`approval_status`, `Article`.`rejection_reason_id`, `Article`.`rejection_reason_description`, `Article`.`status`, `Article`.`credited_by`, `Article`.`crediter_name`, `Article`.`url`, `Article`.`show_in_latest`, `Article`.`show_in_category`, `Article`.`show_in_sidebar`, `Article`.`is_featured`, `Article`.`created`, `Article`.`modified`, `User`.`id`, `User`.`role_id`, `User`.`first_name`, `User`.`last_name`, `User`.`gender`, `User`.`dob`, `User`.`username`, `User`.`email`, `User`.`password`, `User`.`slug`, `User`.`contact_email`, `User`.`social_network_name`, `User`.`user_type`, `User`.`phone`, `User`.`address`, `User`.`city`, `User`.`state`, `User`.`country_id`, `User`.`pincode`, `User`.`about_me`, `User`.`image`, `User`.`approval_status`, `User`.`status`, `User`.`is_deleted`, `User`.`verification_key`, `User`.`forgot_key`, `User`.`is_verified`, `User`.`facebook_url`, `User`.`twitter_url`, `User`.`google_plus_url`, `User`.`linkedin_url`, `User`.`created`, `User`.`modified`, `User`.`last_login`, `User`.`testing_status`, `User`.`ref_old_id`, `RejectionReason`.`id`, `RejectionReason`.`rejection_reason`, `RejectionReason`.`description`, `RejectionReason`.`status`, `RejectionReason`.`created`, `RejectionReason`.`modified` FROM `db_broowaha`.`tbl_articles` AS `Article` LEFT JOIN `db_broowaha`.`tbl_users` AS `User` ON (`Article`.`user_id` = `User`.`id`) LEFT JOIN `db_broowaha`.`tbl_rejection_reasons` AS `RejectionReason` ON (`Article`.`rejection_reason_id` = `RejectionReason`.`id`) WHERE `Article`.`approval_status` = 'approved' AND `Article`.`status` = 1 AND `Article`.`is_featured` = 'Yes' ORDER BY rand() ASC LIMIT 4' array()
if ($cache && ($cached = $this->getQueryCache($sql, $params)) !== false) {
return $cached;
}
$result = $this->execute($sql, array(), $params);
if ($result) {
'SELECT `Article`.`id`, `Article`.`user_id`, `Article`.`primary_parent_category_id`, `Article`.`primary_category_id`, `Article`.`headline`, `Article`.`description`, `Article`.`category_id`, `Article`.`image`, `Article`.`tags`, `Article`.`meta_title`, `Article`.`meta_description`, `Article`.`slug`, `Article`.`approval_status`, `Article`.`rejection_reason_id`, `Article`.`rejection_reason_description`, `Article`.`status`, `Article`.`credited_by`, `Article`.`crediter_name`, `Article`.`url`, `Article`.`show_in_latest`, `Article`.`show_in_category`, `Article`.`show_in_sidebar`, `Article`.`is_featured`, `Article`.`created`, `Article`.`modified`, `User`.`id`, `User`.`role_id`, `User`.`first_name`, `User`.`last_name`, `User`.`gender`, `User`.`dob`, `User`.`username`, `User`.`email`, `User`.`password`, `User`.`slug`, `User`.`contact_email`, `User`.`social_network_name`, `User`.`user_type`, `User`.`phone`, `User`.`address`, `User`.`city`, `User`.`state`, `User`.`country_id`, `User`.`pincode`, `User`.`about_me`, `User`.`image`, `User`.`approval_status`, `User`.`status`, `User`.`is_deleted`, `User`.`verification_key`, `User`.`forgot_key`, `User`.`is_verified`, `User`.`facebook_url`, `User`.`twitter_url`, `User`.`google_plus_url`, `User`.`linkedin_url`, `User`.`created`, `User`.`modified`, `User`.`last_login`, `User`.`testing_status`, `User`.`ref_old_id`, `RejectionReason`.`id`, `RejectionReason`.`rejection_reason`, `RejectionReason`.`description`, `RejectionReason`.`status`, `RejectionReason`.`created`, `RejectionReason`.`modified` FROM `db_broowaha`.`tbl_articles` AS `Article` LEFT JOIN `db_broowaha`.`tbl_users` AS `User` ON (`Article`.`user_id` = `User`.`id`) LEFT JOIN `db_broowaha`.`tbl_rejection_reasons` AS `RejectionReason` ON (`Article`.`rejection_reason_id` = `RejectionReason`.`id`) WHERE `Article`.`approval_status` = 'approved' AND `Article`.`status` = 1 AND `Article`.`is_featured` = 'Yes' ORDER BY rand() ASC LIMIT 4' 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 `Article`.`id`, `Article`.`user_id`, `Article`.`primary_parent_category_id`, `Article`.`primary_category_id`, `Article`.`headline`, `Article`.`description`, `Article`.`category_id`, `Article`.`image`, `Article`.`tags`, `Article`.`meta_title`, `Article`.`meta_description`, `Article`.`slug`, `Article`.`approval_status`, `Article`.`rejection_reason_id`, `Article`.`rejection_reason_description`, `Article`.`status`, `Article`.`credited_by`, `Article`.`crediter_name`, `Article`.`url`, `Article`.`show_in_latest`, `Article`.`show_in_category`, `Article`.`show_in_sidebar`, `Article`.`is_featured`, `Article`.`created`, `Article`.`modified`, `User`.`id`, `User`.`role_id`, `User`.`first_name`, `User`.`last_name`, `User`.`gender`, `User`.`dob`, `User`.`username`, `User`.`email`, `User`.`password`, `User`.`slug`, `User`.`contact_email`, `User`.`social_network_name`, `User`.`user_type`, `User`.`phone`, `User`.`address`, `User`.`city`, `User`.`state`, `User`.`country_id`, `User`.`pincode`, `User`.`about_me`, `User`.`image`, `User`.`approval_status`, `User`.`status`, `User`.`is_deleted`, `User`.`verification_key`, `User`.`forgot_key`, `User`.`is_verified`, `User`.`facebook_url`, `User`.`twitter_url`, `User`.`google_plus_url`, `User`.`linkedin_url`, `User`.`created`, `User`.`modified`, `User`.`last_login`, `User`.`testing_status`, `User`.`ref_old_id`, `RejectionReason`.`id`, `RejectionReason`.`rejection_reason`, `RejectionReason`.`description`, `RejectionReason`.`status`, `RejectionReason`.`created`, `RejectionReason`.`modified` FROM `db_broowaha`.`tbl_articles` AS `Article` LEFT JOIN `db_broowaha`.`tbl_users` AS `User` ON (`Article`.`user_id` = `User`.`id`) LEFT JOIN `db_broowaha`.`tbl_rejection_reasons` AS `RejectionReason` ON (`Article`.`rejection_reason_id` = `RejectionReason`.`id`) WHERE `Article`.`approval_status` = 'approved' AND `Article`.`status` = 1 AND `Article`.`is_featured` = 'Yes' ORDER BY rand() ASC LIMIT 4' false
* @return array
*/
protected function _readDataSource($type, $query) {
$results = $this->getDataSource()->read($this, $query);
$this->resetAssociations();
object(Article) { name => 'Article' belongsTo => array( 'User' => array( 'className' => 'User', 'foreignKey' => 'user_id', 'dependent' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ), 'RejectionReason' => array( 'className' => 'RejectionReason', 'foreignKey' => 'rejection_reason_id', 'dependent' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) hasMany => array( 'Comment' => array( 'className' => 'Comment', 'conditions' => array( [maximum depth reached] ), 'foreignKey' => 'article_id', 'dependent' => true, 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'Rating' => array( 'className' => 'Rating', 'foreignKey' => 'article_id', 'dependent' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ArticleTag' => array( 'className' => 'ArticleTag', 'foreignKey' => 'article_id', 'conditions' => array( [maximum depth reached] ), 'dependent' => true, 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ArticleCategory' => array( 'className' => 'ArticleCategory', 'foreignKey' => 'article_id', 'conditions' => array( [maximum depth reached] ), 'dependent' => true, 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ) ) actsAs => array( (int) 0 => 'Multivalidatable', (int) 1 => 'Containable', 'Image' => array( 'settings' => array( [maximum depth reached] ), 'photos' => array( [maximum depth reached] ) ) ) validationSets => array( 'admin_add_validation' => array( 'headline' => array( [maximum depth reached] ), 'description' => array( [maximum depth reached] ), 'category_id' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'credited_by' => array( [maximum depth reached] ), 'crediter_name' => array( [maximum depth reached] ), 'url' => array( [maximum depth reached] ), 'meta_title' => array( [maximum depth reached] ), 'meta_description' => array( [maximum depth reached] ) ), 'admin_edit_validation' => array( 'headline' => array( [maximum depth reached] ), 'description' => array( [maximum depth reached] ), 'category_id' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'credited_by' => array( [maximum depth reached] ), 'crediter_name' => array( [maximum depth reached] ), 'url' => array( [maximum depth reached] ) ), 'rejection_reason_validation' => array( 'rejection_reason_id' => array( [maximum depth reached] ), 'rejection_reason_description' => array( [maximum depth reached] ) ) ) useDbConfig => 'default' useTable => 'articles' id => false data => array() schemaName => 'db_broowaha' table => 'articles' 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 => 'Article' tableToModel => array( 'articles' => 'Article', 'users' => 'User', 'rejection_reasons' => 'RejectionReason', 'comments' => 'Comment', 'ratings' => 'Rating', 'article_tags' => 'ArticleTag', 'article_categories' => 'ArticleCategory' ) cacheQueries => false hasOne => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'Article' 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 => 'all' 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 ) 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 } RejectionReason => object(RejectionReason) { name => 'RejectionReason' actsAs => array( [maximum depth reached] ) validationSets => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'rejection_reasons' id => false data => array([maximum depth reached]) schemaName => 'db_broowaha' table => 'rejection_reasons' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => 'tbl_' plugin => null alias => 'RejectionReason' 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]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __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 => false [protected] _eventManager => null [protected] _validator => null } Comment => object(Comment) { name => 'Comment' actsAs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'comments' id => false data => array([maximum depth reached]) schemaName => 'db_broowaha' table => 'comments' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => 'tbl_' plugin => null alias => 'Comment' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) User => object(User) {} Article => object(Article) {} [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 } Rating => object(AppModel) { useDbConfig => 'default' useTable => 'ratings' id => false data => array([maximum depth reached]) schemaName => 'db_broowaha' table => 'ratings' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => 'tbl_' plugin => null name => 'Rating' alias => 'Rating' 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 => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __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 => null [protected] _validator => null } ArticleTag => object(ArticleTag) { name => 'ArticleTag' actsAs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'article_tags' id => false data => array([maximum depth reached]) schemaName => 'db_broowaha' table => 'article_tags' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => 'tbl_' plugin => null alias => 'ArticleTag' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __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 => null [protected] _validator => null } ArticleCategory => object(ArticleCategory) { name => 'ArticleCategory' actsAs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'article_categories' id => false data => array([maximum depth reached]) schemaName => 'db_broowaha' table => 'article_categories' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => 'tbl_' plugin => null alias => 'ArticleCategory' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __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 => null [protected] _validator => null } [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false, 'key' => 'primary' ), 'user_id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false ), 'primary_parent_category_id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false ), 'primary_category_id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false ), 'headline' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'description' => array( 'type' => 'text', 'null' => false, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'category_id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false, 'key' => 'index' ), 'image' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'tags' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'meta_title' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'meta_description' => array( 'type' => 'text', 'null' => false, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'slug' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'approval_status' => array( 'type' => 'enum('draft','pending','approved','rejected','blacklisted','archive','deleted','old_deleted')', 'null' => false, 'default' => null, 'length' => (int) 11, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'rejection_reason_id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false ), 'rejection_reason_description' => array( 'type' => 'text', 'null' => false, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'status' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false ), 'credited_by' => array( 'type' => 'enum('Self','Other')', 'null' => false, 'default' => null, 'length' => (int) 5, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'crediter_name' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'url' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'show_in_latest' => array( 'type' => 'enum('Yes','No')', 'null' => false, 'default' => 'No', 'length' => (int) 3, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'show_in_category' => array( 'type' => 'enum('Yes','No')', 'null' => false, 'default' => 'No', 'length' => (int) 3, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'show_in_sidebar' => array( 'type' => 'enum('Yes','No')', 'null' => false, 'default' => 'No', 'length' => (int) 3, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'is_featured' => array( 'type' => 'enum('Yes','No')', 'null' => false, 'default' => 'No', 'length' => (int) 3, 'collate' => 'latin1_swedish_ci', 'comment' => 'Yes=featured, No=not featured', 'charset' => 'latin1' ), 'created' => array( 'type' => 'datetime', 'null' => false, 'default' => null, 'length' => null ), 'modified' => array( 'type' => 'datetime', 'null' => false, 'default' => null, 'length' => 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( 'Article.approval_status' => 'approved', 'Article.status' => (int) 1, 'Article.is_featured' => 'Yes' ), 'fields' => null, 'joins' => array(), 'limit' => (int) 4, 'offset' => null, 'order' => array( (int) 0 => 'rand()' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )
return null;
}
return $this->_readDataSource($type, $query);
}
'all' array( 'conditions' => array( 'Article.approval_status' => 'approved', 'Article.status' => (int) 1, 'Article.is_featured' => 'Yes' ), 'fields' => null, 'joins' => array(), 'limit' => (int) 4, 'offset' => null, 'order' => array( (int) 0 => 'rand()' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )
),
'order' => 'rand()',
'limit' => 4
));
$this->set('featured_articles', $featured_articles);
'all' array( 'conditions' => array( 'Article.approval_status' => 'approved', 'Article.status' => (int) 1, 'Article.is_featured' => 'Yes' ), 'order' => 'rand()', 'limit' => (int) 4 )
$this->Session->write('Auth', $auth_user);
}
$this->defineCache();
/* if($this->Auth->User('id') && $this->Auth->User('activation_status') == 'pending'){
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) {} admin_contact_email => '' Country => object(Country) {} Category => object(Category) {} Article => object(Article) {} Comment => object(Comment) {} [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( 'sidebar_articles' => array( [maximum depth reached] ), 'parent_name' => array( [maximum depth reached] ), 'recent_comments' => array( [maximum depth reached] ), 'recent_posts' => array( [maximum depth reached] ), 'categories_footer' => array([maximum depth reached]), 'categories' => array( [maximum depth reached] ), 'country_list' => 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( (int) 0 => 'standard sales', 'page' => '47' ) 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) {} admin_contact_email => '' Country => object(Country) {} Category => object(Category) {} Article => object(Article) {} Comment => object(Comment) {} [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) {} admin_contact_email => '' Country => object(Country) {} Category => object(Category) {} Article => object(Article) {} Comment => object(Comment) {} [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) {} admin_contact_email => '' Country => object(Country) {} Category => object(Category) {} Article => object(Article) {} Comment => object(Comment) {} [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/standard%20sales/page:47' base => '' webroot => '/' here => '/articles/search_by_tag/standard%20sales/page:47' [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( 'sidebar_articles' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ), 'parent_name' => array( (int) 1 => 'City Living', (int) 3 => 'Culture', (int) 4 => 'Celebrities', (int) 5 => 'An Edge In My Voice ', (int) 6 => 'World', (int) 7 => 'Politics', (int) 8 => 'Sports', (int) 9 => 'Sci-Tech', (int) 10 => 'Leisure', (int) 11 => 'Life', (int) 12 => 'Business', (int) 13 => 'Creative', (int) 14 => 'Art', (int) 15 => 'Books', (int) 16 => 'Music', (int) 17 => 'TV', (int) 18 => 'Theater', (int) 19 => 'Food & Drink', (int) 20 => 'Health & Fitness', (int) 22 => 'Travel', (int) 24 => 'Fashion', (int) 25 => 'Americas', (int) 26 => 'Europe', (int) 27 => 'Africa', (int) 28 => 'Asia', (int) 29 => 'Middle East', (int) 30 => 'Australia', (int) 31 => 'Markets', (int) 32 => 'Economy', (int) 33 => 'Tech', (int) 34 => 'Real Estate', (int) 35 => 'Taxes', (int) 36 => 'Personal Finance', (int) 37 => 'Investing', (int) 38 => 'Retirement', (int) 40 => 'U.S.', (int) 41 => 'Politics World', (int) 42 => 'Internet', (int) 43 => 'Technology', (int) 44 => 'Personal Technology', (int) 45 => 'Gaming', (int) 46 => 'Environment', (int) 47 => 'Energy', (int) 49 => 'Space', (int) 50 => 'Baseball', (int) 51 => 'Football', (int) 52 => 'Soccer', (int) 53 => 'Basketball', (int) 54 => 'Hockey', (int) 55 => 'Golf', (int) 56 => 'Tennis', (int) 57 => 'Short Stories', (int) 58 => 'Poetry', (int) 59 => 'Humor', (int) 60 => 'Memoir', (int) 61 => 'Essay', (int) 62 => 'Movies', (int) 63 => 'Family', (int) 64 => 'Intimacy', (int) 65 => ' Mike on Boxing', (int) 66 => 'Trends', (int) 89 => 'Relationship Advice', (int) 91 => 'Finding Inspiration', (int) 95 => 'Philosophy', (int) 99 => 'Sci Fi', (int) 100 => 'Getting to X', (int) 102 => 'Game Changers', (int) 110 => 'Tarot', (int) 111 => 'Love', (int) 114 => 'Writing Competitions', (int) 115 => 'Inspirational', (int) 122 => 'Cheap & Easy', (int) 127 => 'Outdoors' ), 'recent_comments' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ), 'recent_posts' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ) ), 'categories_footer' => array(), 'categories' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ) ), 'country_list' => array( (int) 1 => 'Afghanistan', (int) 2 => 'Albania', (int) 3 => 'Algeria', (int) 4 => 'American Samoa', (int) 5 => 'Andorra', (int) 6 => 'Angola', (int) 7 => 'Anguilla', (int) 8 => 'Antarctica', (int) 9 => 'Antigua and Barbuda', (int) 10 => 'Argentina', (int) 11 => 'Armenia', (int) 12 => 'Aruba', (int) 13 => 'Australia', (int) 14 => 'Austria', (int) 15 => 'Azerbaijan', (int) 16 => 'Bahamas', (int) 17 => 'Bahrain', (int) 18 => 'Bangladesh', (int) 19 => 'Barbados', (int) 20 => 'Belarus', (int) 21 => 'Belgium', (int) 22 => 'Belize', (int) 23 => 'Benin', (int) 24 => 'Bermuda', (int) 25 => 'Bhutan', (int) 26 => 'Bolivia', (int) 27 => 'Bosnia and Herzegowina', (int) 28 => 'Botswana', (int) 29 => 'Bouvet Island', (int) 30 => 'Brazil', (int) 31 => 'British Indian Ocean Territory', (int) 32 => 'Brunei Darussalam', (int) 33 => 'Bulgaria', (int) 34 => 'Burkina Faso', (int) 35 => 'Burundi', (int) 36 => 'Cambodia', (int) 37 => 'Cameroon', (int) 38 => 'Canada', (int) 39 => 'Cape Verde', (int) 40 => 'Cayman Islands', (int) 41 => 'Central African Republic', (int) 42 => 'Chad', (int) 43 => 'Chile', (int) 44 => 'China', (int) 45 => 'Christmas Island', (int) 46 => 'Cocos (Keeling) Islands', (int) 47 => 'Colombia', (int) 48 => 'Comoros', (int) 49 => 'Congo', (int) 50 => 'Cook Islands', (int) 51 => 'Costa Rica', (int) 52 => 'Cote D'Ivoire', (int) 53 => 'Croatia', (int) 54 => 'Cuba', (int) 55 => 'Cyprus', (int) 56 => 'Czech Republic', (int) 57 => 'Denmark', (int) 58 => 'Djibouti', (int) 59 => 'Dominica', (int) 60 => 'Dominican Republic', (int) 61 => 'East Timor', (int) 62 => 'Ecuador', (int) 63 => 'Egypt', (int) 64 => 'El Salvador', (int) 65 => 'Equatorial Guinea', (int) 66 => 'Eritrea', (int) 67 => 'Estonia', (int) 68 => 'Ethiopia', (int) 69 => 'Falkland Islands (Malvinas)', (int) 70 => 'Faroe Islands', (int) 71 => 'Fiji', (int) 72 => 'Finland', (int) 73 => 'France', (int) 74 => 'France, Metropolitan', (int) 75 => 'French Guiana', (int) 76 => 'French Polynesia', (int) 77 => 'French Southern Territories', (int) 78 => 'Gabon', (int) 79 => 'Gambia', (int) 80 => 'Georgia', (int) 81 => 'Germany', (int) 82 => 'Ghana', (int) 83 => 'Gibraltar', (int) 84 => 'Greece', (int) 85 => 'Greenland', (int) 86 => 'Grenada', (int) 87 => 'Guadeloupe', (int) 88 => 'Guam', (int) 89 => 'Guatemala', (int) 90 => 'Guinea', (int) 91 => 'Guinea-bissau', (int) 92 => 'Guyana', (int) 93 => 'Haiti', (int) 94 => 'Heard and Mc Donald Islands', (int) 95 => 'Honduras', (int) 96 => 'Hong Kong', (int) 97 => 'Hungary', (int) 98 => 'Iceland', (int) 99 => 'India', (int) 100 => 'Indonesia', (int) 101 => 'Iran (Islamic Republic of)', (int) 102 => 'Iraq', (int) 103 => 'Ireland', (int) 104 => 'Israel', (int) 105 => 'Italy', (int) 106 => 'Jamaica', (int) 107 => 'Japan', (int) 108 => 'Jordan', (int) 109 => 'Kazakhstan', (int) 110 => 'Kenya', (int) 111 => 'Kiribati', (int) 112 => 'Korea, Democratic People's Republic of', (int) 113 => 'Korea, Republic of', (int) 114 => 'Kuwait', (int) 115 => 'Kyrgyzstan', (int) 116 => 'Lao People's Democratic Republic', (int) 117 => 'Latvia', (int) 118 => 'Lebanon', (int) 119 => 'Lesotho', (int) 120 => 'Liberia', (int) 121 => 'Libyan Arab Jamahiriya', (int) 122 => 'Liechtenstein', (int) 123 => 'Lithuania', (int) 124 => 'Luxembourg', (int) 125 => 'Macau', (int) 126 => 'Macedonia, The Former Yugoslav Republic of', (int) 127 => 'Madagascar', (int) 128 => 'Malawi', (int) 129 => 'Malaysia', (int) 130 => 'Maldives', (int) 131 => 'Mali', (int) 132 => 'Malta', (int) 133 => 'Marshall Islands', (int) 134 => 'Martinique', (int) 135 => 'Mauritania', (int) 136 => 'Mauritius', (int) 137 => 'Mayotte', (int) 138 => 'Mexico', (int) 139 => 'Micronesia, Federated States of', (int) 140 => 'Moldova, Republic of', (int) 141 => 'Monaco', (int) 142 => 'Mongolia', (int) 143 => 'Montserrat', (int) 144 => 'Morocco', (int) 145 => 'Mozambique', (int) 146 => 'Myanmar', (int) 147 => 'Namibia', (int) 148 => 'Nauru', (int) 149 => 'Nepal', (int) 150 => 'Netherlands', (int) 151 => 'Netherlands Antilles', (int) 152 => 'New Caledonia', (int) 153 => 'New Zealand', (int) 154 => 'Nicaragua', (int) 155 => 'Niger', (int) 156 => 'Nigeria', (int) 157 => 'Niue', (int) 158 => 'Norfolk Island', (int) 159 => 'Northern Mariana Islands', (int) 160 => 'Norway', (int) 161 => 'Oman', (int) 162 => 'Pakistan', (int) 163 => 'Palau', (int) 164 => 'Panama', (int) 165 => 'Papua New Guinea', (int) 166 => 'Paraguay', (int) 167 => 'Peru', (int) 168 => 'Philippines', (int) 169 => 'Pitcairn', (int) 170 => 'Poland', (int) 171 => 'Portugal', (int) 172 => 'Puerto Rico', (int) 173 => 'Qatar', (int) 174 => 'Reunion', (int) 175 => 'Romania', (int) 176 => 'Russian Federation', (int) 177 => 'Rwanda', (int) 178 => 'Saint Kitts and Nevis', (int) 179 => 'Saint Lucia', (int) 180 => 'Saint Vincent and the Grenadines', (int) 181 => 'Samoa', (int) 182 => 'San Marino', (int) 183 => 'Sao Tome and Principe', (int) 184 => 'Saudi Arabia', (int) 185 => 'Senegal', (int) 186 => 'Seychelles', (int) 187 => 'Sierra Leone', (int) 188 => 'Singapore', (int) 189 => 'Slovakia (Slovak Republic)', (int) 190 => 'Slovenia', (int) 191 => 'Solomon Islands', (int) 192 => 'Somalia', (int) 193 => 'South Africa', (int) 194 => 'South Georgia and the South Sandwich Islands', (int) 195 => 'Spain', (int) 196 => 'Sri Lanka', (int) 197 => 'St. Helena', (int) 198 => 'St. Pierre and Miquelon', (int) 199 => 'Sudan', (int) 200 => 'Suriname', (int) 201 => 'Svalbard and Jan Mayen Islands', (int) 202 => 'Swaziland', (int) 203 => 'Sweden', (int) 204 => 'Switzerland', (int) 205 => 'Syrian Arab Republic', (int) 206 => 'Taiwan', (int) 207 => 'Tajikistan', (int) 208 => 'Tanzania, United Republic of', (int) 209 => 'Thailand', (int) 210 => 'Togo', (int) 211 => 'Tokelau', (int) 212 => 'Tonga', (int) 213 => 'Trinidad and Tobago', (int) 214 => 'Tunisia', (int) 215 => 'Turkey', (int) 216 => 'Turkmenistan', (int) 217 => 'Turks and Caicos Islands', (int) 218 => 'Tuvalu', (int) 219 => 'Uganda', (int) 220 => 'Ukraine', (int) 221 => 'United Arab Emirates', (int) 222 => 'United Kingdom', (int) 223 => 'United States', (int) 224 => 'United States Minor Outlying Islands', (int) 225 => 'Uruguay', (int) 226 => 'Uzbekistan', (int) 227 => 'Vanuatu', (int) 228 => 'Vatican City State (Holy See)', (int) 229 => 'Venezuela', (int) 230 => 'Viet Nam', (int) 231 => 'Virgin Islands (British)', (int) 232 => 'Virgin Islands (U.S.)', (int) 233 => 'Wallis and Futuna Islands', (int) 234 => 'Western Sahara', (int) 235 => 'Yemen', (int) 236 => 'Yugoslavia', (int) 237 => 'Zaire', (int) 238 => 'Zambia', (int) 239 => 'Zimbabwe' ) ) 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 => 'standard sales', 'page' => '47' ) 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 => array( [maximum depth reached] ) logoutRedirect => array( [maximum depth reached] ) 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 } admin_contact_email => '' Country => object(Country) { name => 'Country' useDbConfig => 'default' useTable => 'countries' id => false data => array([maximum depth reached]) schemaName => 'db_broowaha' table => 'countries' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => 'tbl_' plugin => null alias => 'Country' 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 => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __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 } Category => object(Category) { name => 'Category' actsAs => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) validationSets => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'categories' id => false data => array([maximum depth reached]) schemaName => 'db_broowaha' table => 'categories' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => 'tbl_' plugin => null alias => 'Category' 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 => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) ArticleCategory => object(ArticleCategory) {} [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 } Article => object(Article) { name => 'Article' belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) actsAs => array( [maximum depth reached] ) validationSets => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'articles' id => false data => array([maximum depth reached]) schemaName => 'db_broowaha' table => 'articles' primaryKey => 'id' validate => array( [maximum depth reached] ) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => 'tbl_' plugin => null alias => 'Article' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) User => object(User) {} RejectionReason => object(RejectionReason) {} Comment => object(Comment) {} Rating => object(AppModel) {} ArticleTag => object(ArticleTag) {} ArticleCategory => object(ArticleCategory) {} [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 } Comment => object(Comment) { name => 'Comment' actsAs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'comments' id => false data => array([maximum depth reached]) schemaName => 'db_broowaha' table => 'comments' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => 'tbl_' plugin => null alias => 'Comment' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) User => object(User) {} Article => object(Article) {} [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' => '47' ), 'pass' => array( (int) 0 => 'standard sales' ), '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] ), 'ArticleCategory' => array( [maximum depth reached] ), 'RejectionReason' => array( [maximum depth reached] ), 'Rating' => array( [maximum depth reached] ), 'ArticleTag' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'articles/search_by_tag/standard%20sales/page:47' base => '' webroot => '/' here => '/articles/search_by_tag/standard%20sales/page:47' [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' => '47' ), 'pass' => array( (int) 0 => 'standard sales' ), '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] ), 'ArticleCategory' => array( [maximum depth reached] ), 'RejectionReason' => array( [maximum depth reached] ), 'Rating' => array( [maximum depth reached] ), 'ArticleTag' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'articles/search_by_tag/standard%20sales/page:47' base => '' webroot => '/' here => '/articles/search_by_tag/standard%20sales/page:47' [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() }