Missing Database Connection
Error:
A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error:
Notice: If you want to customize this error message, create nnxtsg\View\Errors\missing_connection.ctp
Stack Trace
- CORE\Cake\Model\Datasource\DboSource.php line 260 → Mysql->connect()
));
}
if ($autoConnect) {
$this->connect();
}
- CORE\Cake\Model\ConnectionManager.php line 105 → DboSource->__construct(array)
'message' => 'Datasource is not found in Model/Datasource package.'
));
}
static::$_dataSources[$name] = new $class(static::$config->{$name});
static::$_dataSources[$name]->configKeyName = $name;
array( 'password' => '*****', 'login' => '*****', 'host' => '*****', 'database' => '*****', 'prefix' => '*****', 'datasource' => 'Database/Mysql', 'persistent' => false, 'encoding' => 'utf8' )
- CORE\Cake\Model\Model.php line 3626 → ConnectionManager::getDataSource(string)
$this->useDbConfig = $dataSource;
}
$db = ConnectionManager::getDataSource($this->useDbConfig);
if (!empty($oldConfig) && isset($db->config['prefix'])) {
'default'
- CORE\Cake\Model\Model.php line 1155 → Model->setDataSource(string)
* @return void
*/
public function setSource($tableName) {
$this->setDataSource($this->useDbConfig);
$db = ConnectionManager::getDataSource($this->useDbConfig);
'default'
- CORE\Cake\Model\Model.php line 3653 → Model->setSource(string)
public function getDataSource() {
if (!$this->_sourceConfigured && $this->useTable !== false) {
$this->_sourceConfigured = true;
$this->setSource($this->useTable);
}
'links'
- CORE\Cake\Model\Model.php line 3031 → Model->getDataSource()
* @return array
*/
protected function _readDataSource($type, $query) {
$results = $this->getDataSource()->read($this, $query);
$this->resetAssociations();
- CORE\Cake\Model\Model.php line 3003 → Model->_readDataSource(string, array)
return null;
}
return $this->_readDataSource($type, $query);
}
'all' array( 'conditions' => array( 'Link.menu_id' => array( (int) 0 => (int) 12 ), 'is_verify' => (int) 1 ), 'fields' => array( (int) 0 => 'Link.id', (int) 1 => 'title', (int) 2 => 'id', (int) 3 => 'thumb', (int) 4 => 'link', (int) 5 => 'date' ), 'joins' => array(), 'limit' => (int) 6, 'offset' => null, 'order' => array( (int) 0 => array( 'is_index' => 'DESC', 'list_order' => 'DESC', 'date' => 'DESC', 'id' => 'DESC' ) ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'contain' => false, 'recursive' => (int) -1 )
- APP\Controller\AppController.php line 2296 → Model->find(string, array)
$this->assign->index_data[$menu_id]=$mdl->find(
$options['type'],
compact('fields','limit','contain','conditions','order')
);
'all' array( 'fields' => array( (int) 0 => 'Link.id', (int) 1 => 'title', (int) 2 => 'id', (int) 3 => 'thumb', (int) 4 => 'link', (int) 5 => 'date' ), 'limit' => (int) 6, 'contain' => false, 'conditions' => array( 'Link.menu_id' => array( (int) 0 => (int) 12 ), 'is_verify' => (int) 1 ), 'order' => array( 'is_index' => 'DESC', 'list_order' => 'DESC', 'date' => 'DESC', 'id' => 'DESC' ) )
- APP\Lib\bbit\ControllerHook.php line 267 → AppController->_indexData(integer, integer, array)
),
);
$c->_indexData(12,6,$index_data_option);
(int) 12 (int) 6 array( 'family' => true, 'contain' => false, 'fields' => array( (int) 0 => 'title', (int) 1 => 'id', (int) 2 => 'thumb', (int) 3 => 'link', (int) 4 => 'date' ), 'conditions' => array( 'is_verify' => (int) 1 ), 'order' => array( 'is_index' => 'DESC', 'list_order' => 'DESC', 'date' => 'DESC', 'id' => 'DESC' ) )
- [internal function] → BbitControllerHook->_assignFront()
- APP\Controller\AppController.php line 82 → call_user_func(array)
$GLOBALS['controller']=$this;
$this->bbit_controller_hook=new BbitControllerHook($this);
if($this->bbit_controller_hook->assignFront_call){
call_user_func($this->bbit_controller_hook->assignFront_call);
}
array( (int) 0 => object(BbitControllerHook) { assignFront_call => array( (int) 0 => object(BbitControllerHook) {}, (int) 1 => '_assignFront' ) assignBack_call => array( (int) 0 => object(BbitControllerHook) {}, (int) 1 => '_assignBack' ) [protected] c => object(ArticleController) {} [protected] e => object(CakeEventManager) {} [protected] tc => 'Article' [protected] ta => 'view' [protected] t => 'Article::view' [protected] is_admin => false }, (int) 1 => '_assignFront' )
- [internal function] → AppController->beforeFilter()
- APP\Controller\ArticleController.php line 8 → call_user_func(array)
function beforeFilter(){
$this->m=$this->modelClass;
call_user_func(array('parent',__FUNCTION__));
array( (int) 0 => 'parent', (int) 1 => 'beforeFilter' )
- [internal function] → ArticleController->beforeFilter(CakeEvent)
object(CakeEvent) { data => null result => null [protected] _name => 'Controller.initialize' [protected] _subject => object(ArticleController) { components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) _iconMap => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) assign => object(SmartyAssign) {} local => null paginate => null name => 'Article' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Article' layoutPath => null viewVars => array([maximum depth reached]) view => 'view' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'Smarty' View => null ext => '.html' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Article' modelKey => 'article' validationErrors => null Smarty => object(SmartyComponent) {} MultiAuth => object(MultiAuthComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} m => 'Article' bbit_controller_hook => object(BbitControllerHook) {} Link => object(Link) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }
- CORE\Cake\Event\CakeEventManager.php line 243 → call_user_func(array, CakeEvent)
if ($listener['passParams'] === true) {
$result = call_user_func_array($listener['callable'], $event->data);
} else {
$result = call_user_func($listener['callable'], $event);
}
array( (int) 0 => object(ArticleController) { components => array( (int) 0 => 'Smarty', 'MultiAuth' => array( [maximum depth reached] ), (int) 1 => 'Session', (int) 2 => 'Cookie' ) helpers => array( (int) 0 => 'Session', (int) 1 => 'Html', (int) 2 => 'Form', (int) 3 => 'Paginator' ) _iconMap => array( 'create' => 'qa_add', 'sort' => 'qa_sort', 'view' => 'qa_view', 'parent' => 'qa_return', 'export' => 'qa_list' ) uses => array( (int) 0 => 'Article', (int) 1 => 'User', (int) 2 => 'Link' ) assign => object(SmartyAssign) {} local => null paginate => null name => 'Article' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Article' layoutPath => null viewVars => array() view => 'view' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'Smarty' View => null ext => '.html' plugin => null cacheAction => false passedArgs => array( (int) 0 => '54' ) scaffold => false methods => array( (int) 1 => 'admin_list', (int) 2 => 'admin_create', (int) 3 => 'admin_modify', (int) 4 => 'search', (int) 5 => 'show', (int) 6 => 'view', (int) 7 => 'manage_list', (int) 10 => '_message', (int) 11 => '_dmessage', (int) 12 => '_fetchTpl', (int) 13 => '_jsonp', (int) 14 => '_checkJsonpLogin', (int) 15 => '_longJsonpParam', (int) 16 => '_ajax', (int) 17 => '_list', (int) 18 => '_get', (int) 19 => '_parseListParent', (int) 20 => '_parseListFields', (int) 21 => '_parseViewFields', (int) 22 => '_parseListFilters', (int) 23 => '_defaultForeignFilter', (int) 24 => '_setPrepareModel', (int) 25 => '_addFilter', (int) 26 => '_addAction', (int) 27 => '_addItemAction', (int) 28 => '_addTitle', (int) 29 => '_addKeywords', (int) 30 => '_addDescription', (int) 31 => '_addPath', (int) 32 => '_setTitle', (int) 33 => '_setKeywords', (int) 34 => '_setDescription', (int) 35 => '_stripData', (int) 36 => '_assignDefault', (int) 37 => '_assignValue', (int) 38 => '_dispatchEvent', (int) 39 => '_attachEvent', (int) 40 => '_detachEvent', (int) 42 => 'admin_index', (int) 43 => 'admin_export', (int) 44 => 'admin_view', (int) 45 => 'admin_delete', (int) 46 => 'admin_sort', (int) 47 => 'admin_general_select', (int) 48 => 'admin_ajax_switch', (int) 49 => 'admin_batch_switch', (int) 50 => 'admin_batch_delete', (int) 51 => '_notFound', (int) 52 => '_noPriv', (int) 53 => '_getShowMenu', (int) 54 => '_processMenu', (int) 55 => '_processManageMenu', (int) 56 => '_afterUpload', (int) 57 => '_addListExtOper', (int) 58 => '_changeSystemValue', (int) 59 => '_setSystemValue', (int) 60 => '_assignAd', (int) 61 => '_indexData' ) modelClass => 'Article' modelKey => 'article' validationErrors => null Smarty => object(SmartyComponent) {} MultiAuth => object(MultiAuthComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} m => 'Article' bbit_controller_hook => object(BbitControllerHook) {} Link => object(Link) {} [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(ArticleController) { components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) _iconMap => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) assign => object(SmartyAssign) {} local => null paginate => null name => 'Article' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Article' layoutPath => null viewVars => array([maximum depth reached]) view => 'view' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'Smarty' View => null ext => '.html' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Article' modelKey => 'article' validationErrors => null Smarty => object(SmartyComponent) {} MultiAuth => object(MultiAuthComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} m => 'Article' bbit_controller_hook => object(BbitControllerHook) {} Link => object(Link) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }
- CORE\Cake\Controller\Controller.php line 676 → CakeEventManager->dispatch(CakeEvent)
* @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(ArticleController) { components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) _iconMap => array( [maximum depth reached] ) uses => array( [maximum depth reached] ) assign => object(SmartyAssign) {} local => null paginate => null name => 'Article' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Article' layoutPath => null viewVars => array([maximum depth reached]) view => 'view' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'Smarty' View => null ext => '.html' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Article' modelKey => 'article' validationErrors => null Smarty => object(SmartyComponent) {} MultiAuth => object(MultiAuthComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} m => 'Article' bbit_controller_hook => object(BbitControllerHook) {} Link => object(Link) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } [protected] _stopped => false }
- CORE\Cake\Routing\Dispatcher.php line 189 → Controller->startupProcess()
*/
protected function _invoke(Controller $controller, CakeRequest $request) {
$controller->constructClasses();
$controller->startupProcess();
- CORE\Cake\Routing\Dispatcher.php line 167 → Dispatcher->_invoke(ArticleController, CakeRequest)
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(ArticleController) { components => array( (int) 0 => 'Smarty', 'MultiAuth' => array( 'authenticate' => array( [maximum depth reached] ) ), (int) 1 => 'Session', (int) 2 => 'Cookie' ) helpers => array( (int) 0 => 'Session', (int) 1 => 'Html', (int) 2 => 'Form', (int) 3 => 'Paginator' ) _iconMap => array( 'create' => 'qa_add', 'sort' => 'qa_sort', 'view' => 'qa_view', 'parent' => 'qa_return', 'export' => 'qa_list' ) uses => array( (int) 0 => 'Article', (int) 1 => 'User', (int) 2 => 'Link' ) assign => object(SmartyAssign) { js => array( [maximum depth reached] ) css => array( [maximum depth reached] ) meta => array( [maximum depth reached] ) defer_js => array( [maximum depth reached] ) model_title => array( [maximum depth reached] ) params => array( [maximum depth reached] ) ie6 => true is_favicon => true is_response => true mdls => array( [maximum depth reached] ) } local => null paginate => null name => 'Article' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'Article/54.html' base => '' wwwroot => '/' here => '/Article/54.html' [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 => 'Article' layoutPath => null viewVars => array() view => 'view' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ArticleController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'Smarty' View => null ext => '.html' plugin => null cacheAction => false passedArgs => array( (int) 0 => '54' ) scaffold => false methods => array( (int) 1 => 'admin_list', (int) 2 => 'admin_create', (int) 3 => 'admin_modify', (int) 4 => 'search', (int) 5 => 'show', (int) 6 => 'view', (int) 7 => 'manage_list', (int) 10 => '_message', (int) 11 => '_dmessage', (int) 12 => '_fetchTpl', (int) 13 => '_jsonp', (int) 14 => '_checkJsonpLogin', (int) 15 => '_longJsonpParam', (int) 16 => '_ajax', (int) 17 => '_list', (int) 18 => '_get', (int) 19 => '_parseListParent', (int) 20 => '_parseListFields', (int) 21 => '_parseViewFields', (int) 22 => '_parseListFilters', (int) 23 => '_defaultForeignFilter', (int) 24 => '_setPrepareModel', (int) 25 => '_addFilter', (int) 26 => '_addAction', (int) 27 => '_addItemAction', (int) 28 => '_addTitle', (int) 29 => '_addKeywords', (int) 30 => '_addDescription', (int) 31 => '_addPath', (int) 32 => '_setTitle', (int) 33 => '_setKeywords', (int) 34 => '_setDescription', (int) 35 => '_stripData', (int) 36 => '_assignDefault', (int) 37 => '_assignValue', (int) 38 => '_dispatchEvent', (int) 39 => '_attachEvent', (int) 40 => '_detachEvent', (int) 42 => 'admin_index', (int) 43 => 'admin_export', (int) 44 => 'admin_view', (int) 45 => 'admin_delete', (int) 46 => 'admin_sort', (int) 47 => 'admin_general_select', (int) 48 => 'admin_ajax_switch', (int) 49 => 'admin_batch_switch', (int) 50 => 'admin_batch_delete', (int) 51 => '_notFound', (int) 52 => '_noPriv', (int) 53 => '_getShowMenu', (int) 54 => '_processMenu', (int) 55 => '_processManageMenu', (int) 56 => '_afterUpload', (int) 57 => '_addListExtOper', (int) 58 => '_changeSystemValue', (int) 59 => '_setSystemValue', (int) 60 => '_assignAd', (int) 61 => '_indexData' ) modelClass => 'Article' modelKey => 'article' validationErrors => null Smarty => object(SmartyComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } MultiAuth => object(MultiAuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => false ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => null logoutRedirect => null authError => null unauthorizedRedirect => true allowedActions => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array( [maximum depth reached] ) [protected] _authenticateObjects => array([maximum depth reached]) [protected] _authorizeObjects => array([maximum depth reached]) [protected] _user => array([maximum depth reached]) [protected] _methods => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Cookie => object(CookieComponent) { name => 'CakeCookie' time => null path => '/' domain => '' secure => false key => 'cdphm.com' httpOnly => false settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _values => array([maximum depth reached]) [protected] _type => 'cipher' [protected] _reset => null [protected] _expires => (int) 0 [protected] _response => object(CakeResponse) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } m => 'Article' bbit_controller_hook => object(BbitControllerHook) { assignFront_call => array( [maximum depth reached] ) assignBack_call => array( [maximum depth reached] ) [protected] c => object(ArticleController) {} [protected] e => object(CakeEventManager) {} [protected] tc => 'Article' [protected] ta => 'view' [protected] t => 'Article::view' [protected] is_admin => false } Link => object(Link) { displayField => 'title' belongsTo => array( [maximum depth reached] ) parent => 'Menu' actsAs => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) showhide => array( [maximum depth reached] ) _upload_files => array([maximum depth reached]) useDbConfig => 'default' useTable => 'links' id => false data => array([maximum depth reached]) schemaName => null table => 'links' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Link' alias => 'Link' 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 => '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] ) form => array( [maximum depth reached] ) foreign => array( [maximum depth reached] ) foreign_map => array( [maximum depth reached] ) cname => '閾炬帴' [protected] _cached_exists => array([maximum depth reached]) [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'Article', 'action' => 'view', 'named' => array(), 'pass' => array( (int) 0 => '54' ), 'id' => '54', 'ext' => 'html', 'isAjax' => false, 'models' => array( 'User' => array( [maximum depth reached] ), 'Link' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'Article/54.html' base => '' wwwroot => '/' here => '/Article/54.html' [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 => '' }
- APP\wwwroot\index.php line 111 → Dispatcher->dispatch(CakeRequest, CakeResponse)
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'Article', 'action' => 'view', 'named' => array(), 'pass' => array( (int) 0 => '54' ), 'id' => '54', 'ext' => 'html', 'isAjax' => false, 'models' => array( 'User' => array( [maximum depth reached] ), 'Link' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'Article/54.html' base => '' wwwroot => '/' here => '/Article/54.html' [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() }