Warning (2): file_put_contents(/var/www/html/tatler-cn-dining-3-2/app/tmp/logs/error.log): failed to open stream: Permission denied [CORE/Cake/Log/Engine/FileLog.php, line 69]Code Context$type = 'error' $message = '[MissingDatasourceConfigException] The datasource configuration "nonprod_tatler" was not found in database.php #0 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Model/ConnectionManager.php(94): ConnectionManager::_getConnectionObject('nonprod_tatler') #1 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Model/Model.php(3354): ConnectionManager::getDataSource('nonprod_tatler') #2 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Model/Model.php(1085): Model->setDataSource('nonprod_tatler') #3 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Model/Model.php(3380): Model->setSource('authors') #4 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Model/Datasource/DboSource.php(1043): Model->getDataSource() #5 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Model/Model.php(2635): DboSource->read(Object(Story), Array) #6 /var/www/html/tatler-cn-dining-3-2/app/Controller/FeaturesController.php(393): Model->find('first', Array) #7 [internal function]: FeaturesController->view('304') #8 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Controller/Controller.php(488): ReflectionMethod->invokeArgs(Object(FeaturesController), Array) #9 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Routing/Dispatcher.php(103): Controller->invokeAction(Object(CakeRequest)) #10 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Routing/Dispatcher.php(85): Dispatcher->_invoke(Object(FeaturesController), Object(CakeRequest), Object(CakeResponse)) #11 /var/www/html/tatler-cn-dining-3-2/app/webroot/index.php(98): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #12 {main}' $debugTypes = array( (int) 0 => 'notice', (int) 1 => 'info', (int) 2 => 'debug' ) $filename = '/var/www/html/tatler-cn-dining-3-2/app/tmp/logs/error.log' $output = '2026-11-26 22:20:17 Error: [MissingDatasourceConfigException] The datasource configuration "nonprod_tatler" was not found in database.php #0 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Model/ConnectionManager.php(94): ConnectionManager::_getConnectionObject('nonprod_tatler') #1 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Model/Model.php(3354): ConnectionManager::getDataSource('nonprod_tatler') #2 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Model/Model.php(1085): Model->setDataSource('nonprod_tatler') #3 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Model/Model.php(3380): Model->setSource('authors') #4 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Model/Datasource/DboSource.php(1043): Model->getDataSource() #5 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Model/Model.php(2635): DboSource->read(Object(Story), Array) #6 /var/www/html/tatler-cn-dining-3-2/app/Controller/FeaturesController.php(393): Model->find('first', Array) #7 [internal function]: FeaturesController->view('304') #8 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Controller/Controller.php(488): ReflectionMethod->invokeArgs(Object(FeaturesController), Array) #9 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Routing/Dispatcher.php(103): Controller->invokeAction(Object(CakeRequest)) #10 /var/www/html/tatler-cn-dining-3-2/lib/Cake/Routing/Dispatcher.php(85): Dispatcher->_invoke(Object(FeaturesController), Object(CakeRequest), Object(CakeResponse)) #11 /var/www/html/tatler-cn-dining-3-2/app/webroot/index.php(98): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #12 {main} 'file_put_contents - [internal], line ?? FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 69 CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 204 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 118 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => '首页', 'link' => 'http://shangliutatler.com/', 'sub' => array() ) $k = 'home' $submenu_active_key = ''
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => '300 名人榜', 'link' => 'http://shangliutatler.com/300list', 'sub' => array() ) $k = '500-lists' $submenu_active_key = '' $isFirstLevel = false $isSecondLevel = false
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => '人物', 'link' => 'http://shangliutatler.com/people', 'sub' => array() ) $k = 'people' $submenu_active_key = '' $isFirstLevel = false $isSecondLevel = false
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => '专题', 'link' => 'http://shangliutatler.com/feature', 'sub' => array() ) $k = 'feature' $submenu_active_key = '' $isFirstLevel = false $isSecondLevel = false
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => 'Gen.T', 'link' => 'http://shangliutatler.com//gen-t', 'sub' => array( ) ) $k = 'generation-t' $submenu_active_key = '' $isFirstLevel = false $isSecondLevel = false
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => '盛宴', 'link' => 'http://shangliutatler.com/party', 'sub' => array() ) $k = 'party' $submenu_active_key = '' $isFirstLevel = false $isSecondLevel = false $vv = array( 'name' => 'Gen T派对', 'link' => 'http://shangliutatler.com//gen-t/gen-t-party' ) $kk = 'generation-t-party'
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => '腕表珠宝', 'link' => 'http://shangliutatler.com/watch-and-jewellery', 'sub' => array() ) $k = 'watch-and-jewellery' $submenu_active_key = '' $isFirstLevel = false $isSecondLevel = false $vv = array( 'name' => 'Gen T派对', 'link' => 'http://shangliutatler.com//gen-t/gen-t-party' ) $kk = 'generation-t-party'
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => '时尚美容', 'link' => 'http://shangliutatler.com/fashion-beauty', 'sub' => array( ) ) $k = 'style' $submenu_active_key = '' $isFirstLevel = false $isSecondLevel = false $vv = array( 'name' => 'Gen T派对', 'link' => 'http://shangliutatler.com//gen-t/gen-t-party' ) $kk = 'generation-t-party'
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => '美食美酒', 'link' => 'http://dining.shangliutatler.com/', 'sub' => array( ) ) $k = 'dining' $submenu_active_key = '' $isFirstLevel = false $isSecondLevel = false $vv = array( 'name' => 'Tatler 精选', 'link' => 'http://shangliutatler.com/tatler-picks' ) $kk = 'shopping-guide'
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => '文化', 'link' => 'http://shangliutatler.com/culture', 'sub' => array() ) $k = 'culture' $submenu_active_key = '' $isFirstLevel = false $isSecondLevel = false $vv = array( 'name' => '最佳餐厅查询', 'link' => 'http://dining.shangliutatler.com/unionpay-restaurants' ) $kk = 'unionpay-restaurants'
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => '生活', 'link' => 'http://shangliutatler.com/life', 'sub' => array() ) $k = 'life' $submenu_active_key = '' $isFirstLevel = false $isSecondLevel = false $vv = array( 'name' => '最佳餐厅查询', 'link' => 'http://dining.shangliutatler.com/unionpay-restaurants' ) $kk = 'unionpay-restaurants'
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => 'Crazy Rouge', 'link' => 'http://shangliutatler.com/crazyrouge', 'sub' => array( ) ) $k = 'crazyrouge' $submenu_active_key = '' $isFirstLevel = false $isSecondLevel = false $vv = array( 'name' => '最佳餐厅查询', 'link' => 'http://dining.shangliutatler.com/unionpay-restaurants' ) $kk = 'unionpay-restaurants'
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => '活动', 'link' => 'http://shangliutatler.com/events', 'sub' => array() ) $k = 'event' $submenu_active_key = '' $isFirstLevel = false $isSecondLevel = false $vv = array( 'name' => '精选', 'link' => 'http://shangliutatler.com/crazyrouge/feature' ) $kk = 'feature'
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => '婚嫁', 'link' => 'http://shangliutatler.com/wedding', 'sub' => array() ) $k = 'weddings' $submenu_active_key = '' $isFirstLevel = false $isSecondLevel = false $vv = array( 'name' => '精选', 'link' => 'http://shangliutatler.com/crazyrouge/feature' ) $kk = 'feature'
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Notice (8): Undefined variable: menu_active_key [APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28]Code Context// temp override$submenu_active_key = !empty($submenu_active_key) ? $submenu_active_key : '';$isFirstLevel = $menu_active_key == $k ? true : false;$___viewFn = '/var/www/html/tatler-cn-dining-3-2/app/View/Themed/Tatler/Elements/mobile/site_header.ctp' $___dataForView = array( 'favicon' => '/favicon-atd.ico', 'seo_meta_description' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'seo_meta_keywords' => '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评', 'title' => 'Page Not Found | 《尚流TATLER》中文官方网站', 'debugToolbarPanels' => array( ), 'debugToolbarJavascript' => array( ), 'debugToolbarCss' => array( ), 'config' => 'nonprod_tatler', 'code' => '500', 'url' => '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=', 'name' => 'The datasource configuration "nonprod_tatler" was not found in database.php', 'error' => object(MissingDatasourceConfigException) {}, '_serialize' => array( ), 'content_for_layout' => 'Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors', 'active_key' => '' ) $favicon = '/favicon-atd.ico' $seo_meta_description = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $seo_meta_keywords = '尚流 TATLER, 优惠, 餐厅, 酒吧, 咖啡馆, 美食, 星级名厨,品酒, 食谱, 点评' $title = 'Page Not Found | 《尚流TATLER》中文官方网站' $debugToolbarPanels = array( 'history' => array( ), 'session' => array( ), 'request' => array( ), 'sql_log' => array( ), 'timer' => array( ), 'log' => array( ), 'variables' => array( ), 'environment' => array( ), 'include' => array( ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $config = 'nonprod_tatler' $code = '500' $url = '/features/Miracle%20Bar_2021?%2Ffeatures%2FMiracle_Bar_2021=' $name = 'The datasource configuration "nonprod_tatler" was not found in database.php' $error = object(MissingDatasourceConfigException) {} $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name' ) $content_for_layout = '
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }Missing Datasource Configuration
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
Stack Trace
' $scripts_for_layout = '' $title_for_layout = 'Errors' $active_key = '' $menu = array( 'home' => array( ), '500-lists' => array( ), 'people' => array( ), 'feature' => array( ), 'generation-t' => array( ), 'party' => array( ), 'watch-and-jewellery' => array( ), 'style' => array( ), 'dining' => array( ), 'culture' => array( ), 'life' => array( ), 'crazyrouge' => array( ), 'event' => array( ), 'weddings' => array( ), 'real-estate' => array( ) ) $cuisine = array() $location = array() $v = array( 'name' => '房产', 'link' => 'http://shangliutatler.com/real-estate', 'sub' => array() ) $k = 'real-estate' $submenu_active_key = '' $isFirstLevel = false $isSecondLevel = false $vv = array( 'name' => '精选', 'link' => 'http://shangliutatler.com/crazyrouge/feature' ) $kk = 'feature'
- CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::_getConnectionObject(string)
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}'nonprod_tatler'- CORE/Cake/Model/Model.php line 3354 → ConnectionManager::getDataSource(string)
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {'nonprod_tatler'- CORE/Cake/Model/Model.php line 1085 → Model->setDataSource(string)
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);'nonprod_tatler'- CORE/Cake/Model/Model.php line 3380 → Model->setSource(string)
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}'authors'- CORE/Cake/Model/Datasource/DboSource.php line 1043 → Model->getDataSource()
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {- CORE/Cake/Model/Model.php line 2635 → DboSource->read(Story, array)
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();object(Story) { actsAs => array( ) filterArgs => array( ) hasMany => array( ) belongsTo => array( ) hasAndBelongsToMany => array( ) validate => array( ) displayField => 'title' useDbConfig => 'default' useTable => 'stories' id => '304' data => array() schemaName => 'atd_cn' table => 'stories' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' name => 'Story' alias => 'Story' tableToModel => array( ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() findMethods => array( ) Author => object(Author) {} } array( 'conditions' => array( ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) 1 )- APP/Controller/FeaturesController.php line 393 → Model->find(string, array)
),'limit' => 1,'recursive' => 1));'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )- [internal function] → FeaturesController->view(string)
'304'- CORE/Cake/Controller/Controller.php line 488 → ReflectionMethod->invokeArgs(FeaturesController, array)
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } array( (int) 0 => '304' )- CORE/Cake/Routing/Dispatcher.php line 103 → Controller->invokeAction(CakeRequest)
$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' }- CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(FeaturesController, CakeRequest, CakeResponse)
));}return $this->_invoke($controller, $request, $response);}object(FeaturesController) { helpers => array( ) paginate => array( ) uses => array( ) mysql_timezone_offset => '' components => array( ) name => 'Features' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Features' layoutPath => null viewVars => array( ) view => 'view' layout => 'site_new' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( ) scaffold => false methods => array( ) modelClass => 'Story' modelKey => 'feature' validationErrors => null Auth => object(AuthComponent) {} RequestHandler => object(RequestHandlerComponent) {} Session => object(SessionComponent) {} Cookie => object(CookieComponent) {} Toolbar => object(ToolbarComponent) {} theme => 'Tatler' type => 'feature' Story => object(Story) {} } object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));object(CakeRequest) { params => array( ) data => array() query => array( ) url => 'features/Miracle%20Bar_2021' base => '' webroot => '/' here => '/features/Miracle%20Bar_2021' } object(CakeResponse) { }include - APP/View/Themed/Tatler/Elements/mobile/site_header.ctp, line 28 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Themed/Tatler/Layouts/error_mobile.ctp, line 30 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::renderLayout() - CORE/Cake/View/View.php, line 527 View::render() - CORE/Cake/View/View.php, line 471 Controller::render() - CORE/Cake/Controller/Controller.php, line 962 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 263 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 165 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??
Be part of the in-crowd and receive exclusive party invitations and fabulous offers.
SIGN UP WITH TATLER
© 2026 Tatler Asia Limited. All rights reserved.
沪ICP备10210439号-2
Error: The datasource configuration nonprod_tatler was not found in database.php.
Notice: If you want to customize this error message, create app/View/Errors/missing_datasource_config.ctp
}if (empty(self::$_connectionsEnum[$name])) {self::_getConnectionObject($name);}
'nonprod_tatler'
if ($dataSource != null) {$this->useDbConfig = $dataSource;}$db = ConnectionManager::getDataSource($this->useDbConfig);if (!empty($oldConfig) && isset($db->config['prefix'])) {
'nonprod_tatler'
* @return void*/public function setSource($tableName) {$this->setDataSource($this->useDbConfig);$db = ConnectionManager::getDataSource($this->useDbConfig);
'nonprod_tatler'
public function getDataSource() {if (!$this->_sourceConfigured && $this->useTable !== false) {$this->_sourceConfigured = true;$this->setSource($this->useTable);}
'authors'
$linkModel = $model->{$assoc};$external = isset($assocData['external']);$linkModel->getDataSource();if ($model->useDbConfig === $linkModel->useDbConfig) {
return null;}$results = $this->getDataSource()->read($this, $query);$this->resetAssociations();
object(Story) {
actsAs => array(
)
filterArgs => array(
)
hasMany => array(
)
belongsTo => array(
)
hasAndBelongsToMany => array(
)
validate => array(
)
displayField => 'title'
useDbConfig => 'default'
useTable => 'stories'
id => '304'
data => array()
schemaName => 'atd_cn'
table => 'stories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
name => 'Story'
alias => 'Story'
tableToModel => array(
)
cacheQueries => false
hasOne => array()
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => true
findQueryType => 'first'
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
findMethods => array(
)
Author => object(Author) {}
}
array(
'conditions' => array(
),
'fields' => null,
'joins' => array(),
'limit' => (int) 1,
'offset' => null,
'order' => array(
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'recursive' => (int) 1
)),'limit' => 1,'recursive' => 1));
'first' array( 'conditions' => array( ), 'limit' => (int) 1, 'recursive' => (int) 1 )
'304'
'action' => $request->params['action']));}return $method->invokeArgs($this, $request->params['pass']);
object(FeaturesController) {
helpers => array(
)
paginate => array(
)
uses => array(
)
mysql_timezone_offset => ''
components => array(
)
name => 'Features'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Features'
layoutPath => null
viewVars => array(
)
view => 'view'
layout => 'site_new'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
)
scaffold => false
methods => array(
)
modelClass => 'Story'
modelKey => 'feature'
validationErrors => null
Auth => object(AuthComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Toolbar => object(ToolbarComponent) {}
theme => 'Tatler'
type => 'feature'
Story => object(Story) {}
}
array(
(int) 0 => '304'
)$controller->startupProcess();$render = true;$result = $controller->invokeAction($request);if ($result instanceof CakeResponse) {
object(CakeRequest) {
params => array(
)
data => array()
query => array(
)
url => 'features/Miracle%20Bar_2021'
base => ''
webroot => '/'
here => '/features/Miracle%20Bar_2021'
}));}return $this->_invoke($controller, $request, $response);}
object(FeaturesController) {
helpers => array(
)
paginate => array(
)
uses => array(
)
mysql_timezone_offset => ''
components => array(
)
name => 'Features'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Features'
layoutPath => null
viewVars => array(
)
view => 'view'
layout => 'site_new'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
)
scaffold => false
methods => array(
)
modelClass => 'Story'
modelKey => 'feature'
validationErrors => null
Auth => object(AuthComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Toolbar => object(ToolbarComponent) {}
theme => 'Tatler'
type => 'feature'
Story => object(Story) {}
}
object(CakeRequest) {
params => array(
)
data => array()
query => array(
)
url => 'features/Miracle%20Bar_2021'
base => ''
webroot => '/'
here => '/features/Miracle%20Bar_2021'
}
object(CakeResponse) {
}App::uses('Dispatcher', 'Routing');$Dispatcher = new Dispatcher();$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));
object(CakeRequest) {
params => array(
)
data => array()
query => array(
)
url => 'features/Miracle%20Bar_2021'
base => ''
webroot => '/'
here => '/features/Miracle%20Bar_2021'
}
object(CakeResponse) {
}No post data.
Warning (2): Invalid argument supplied for foreach() [APP/Plugin/DebugKit/View/Helper/HtmlToolbarHelper.php, line 74]Code Context$values[] = '(empty)';}foreach ($values as $key => $value) {$values = '(object)SlugRoute' $openDepth = (int) 0 $currentDepth = (int) 0 $doubleEncode = false $printedObjects = object(SplObjectStorage) {} $className = 'neat-array depth-0' $nextDepth = (int) 1 $out = ''
HtmlToolbarHelper::makeNeatArray() - APP/Plugin/DebugKit/View/Helper/HtmlToolbarHelper.php, line 74 Object::dispatchMethod() - CORE/Cake/Core/Object.php, line 113 ToolbarHelper::__call() - APP/Plugin/DebugKit/View/Helper/ToolbarHelper.php, line 108 ToolbarHelper::makeNeatArray() - APP/Plugin/DebugKit/View/Elements/request_panel.ctp, line 50 include - APP/Plugin/DebugKit/View/Elements/request_panel.ctp, line 50 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 include - APP/Plugin/DebugKit/View/Elements/debug_toolbar.ctp, line 45 View::_evaluate() - CORE/Cake/View/View.php, line 908 View::_render() - CORE/Cake/View/View.php, line 872 View::element() - CORE/Cake/View/View.php, line 412 HtmlToolbarHelper::send() - APP/Plugin/DebugKit/View/Helper/HtmlToolbarHelper.php, line 194 Object::dispatchMethod() - CORE/Cake/Core/Object.php, line 111 ToolbarHelper::__call() - APP/Plugin/DebugKit/View/Helper/ToolbarHelper.php, line 108 ToolbarHelper::send() - APP/Plugin/DebugKit/View/Helper/ToolbarHelper.php, line 83 ToolbarHelper::afterLayout() - APP/Plugin/DebugKit/View/Helper/ToolbarHelper.php, line 83
| Query | Affected | Num. rows | Took (ms) | Actions |
|---|---|---|---|---|
| SELECT `Story`.`id`, `Story`.`num_view`, `Story`.`created`, `Story`.`modified`, `Story`.`status`, `Story`.`publish_at`, `Story`.`unpublish_at`, `Story`.`type`, `Story`.`advertorial`, `Story`.`top_list`, `Story`.`from_tatler`, `Story`.`title`, `Story`.`title_2`, `Story`.`deck`, `Story`.`deck_2`, `Story`.`author`, `Story`.`author_2`, `Story`.`content`, `Story`.`content_2`, `Story`.`video_link`, `Story`.`tagging`, `Story`.`tagging_2`, `Story`.`stick_to_top_panel`, `Story`.`stick_to_top_panel_until`, `Story`.`stick_to_landing_top`, `Story`.`stick_to_landing_top_until`, `Story`.`stick_to_top5_news_top`, `Story`.`seo_meta_keywords`, `Story`.`seo_meta_keywords_2`, `Story`.`seo_meta_description`, `Story`.`seo_meta_description_2`, `Story`.`slug`, `Story`.`blogger_id`, `Story`.`display_type`, `Story`.`rss`, `Story`.`source`, `Story`.`full_advertorial`, `Story`.`to_tatler_tv`, `Story`.`author_id`, `Story`.`brg` FROM `atd_cn`.`stories` AS `Story` WHERE `Story`.`slug` = 'Miracle Bar_2021' AND `Story`.`status` = '1' LIMIT 1 | 1 | 1 | 1 | |
| SELECT COUNT(*) AS `count` FROM `atd_cn`.`stories` AS `Story` WHERE `Story`.`id` = 304 | 1 | 1 | 0 |
Peak Memory Use 20.60 MB
| Message | Memory use |
|---|---|
| Component initialization | 2.19 MB |
| Controller action start | 2.47 MB |
| Component initialization #2 | 2.69 MB |
| Controller render start | 2.78 MB |
| View render complete | 4.16 MB |
Total Request Time: 205 (ms)
| Message | Time in ms | Graph |
|---|---|---|
| Core Processing (Derived from $_SERVER["REQUEST_TIME"]) | 19.30 | |
| Event: Controller.initialize | 17.98 | |
| Event: Controller.startup | 0.87 | |
| Controller action | 7.99 | |
| Event: Controller.beforeRender | 74.54 | |
| » Processing toolbar data | 70.22 | |
| Rendering View | 34.86 | |
| » Rendering CORE/Cake/View/Errors/missing_datasource_config.ctp | 4.92 | |
| » » Rendering CORE/Cake/View/Elements/exception_stack_trace.ctp | 4.72 | |
| » Rendering APP/View/Themed/Tatler/Layouts/error_mobile.ctp | 29.38 | |
| » » Rendering APP/View/Themed/Tatler/Elements/site_meta.ctp | 0.15 | |
| » » Rendering APP/View/Themed/Tatler/Elements/site_fbmeta.ctp | 0.06 | |
| » » Rendering APP/View/Themed/Tatler/Elements/mobile/site_stylesheets.ctp | 0.25 | |
| » » Rendering APP/View/Themed/Tatler/Elements/mobile/site_javascript_after.ctp | 0.22 | |
| » » Rendering APP/View/Themed/Tatler/Elements/mobile/site_header.ctp | 27.79 | |
| » » Rendering APP/View/Themed/Tatler/Elements/site_main.ctp | 0.08 | |
| » » Rendering APP/View/Themed/Tatler/Elements/site_javascripts_openx.ctp | 0.06 |
| Constant | Value |
|---|---|
| APP | /var/www/html/tatler-cn-dining-3-2/app/ |
| APP_DIR | app |
| APPLIBS | /var/www/html/tatler-cn-dining-3-2/app/Lib/ |
| CACHE | /var/www/html/tatler-cn-dining-3-2/app/tmp/cache/ |
| CAKE | /var/www/html/tatler-cn-dining-3-2/lib/Cake/ |
| CAKE_CORE_INCLUDE_PATH | /var/www/html/tatler-cn-dining-3-2/lib |
| CORE_PATH | /var/www/html/tatler-cn-dining-3-2/lib/ |
| CAKE_VERSION | 2.1.0 |
| CSS | /var/www/html/tatler-cn-dining-3-2/app/webroot/css/ |
| CSS_URL | css/ |
| DS | / |
| FULL_BASE_URL | http://dining.shangliutatler.com:8081 |
| IMAGES | /var/www/html/tatler-cn-dining-3-2/app/webroot/img/ |
| IMAGES_URL | img/ |
| JS | /var/www/html/tatler-cn-dining-3-2/app/webroot/js/ |
| JS_URL | js/ |
| LOGS | /var/www/html/tatler-cn-dining-3-2/app/tmp/logs/ |
| ROOT | /var/www/html/tatler-cn-dining-3-2 |
| TESTS | /var/www/html/tatler-cn-dining-3-2/app/Test/ |
| TMP | /var/www/html/tatler-cn-dining-3-2/app/tmp/ |
| VENDORS | /var/www/html/tatler-cn-dining-3-2/vendors/ |
| WEBROOT_DIR | webroot |
| WWW_ROOT | /var/www/html/tatler-cn-dining-3-2/app/webroot/ |
| Environment Variable | Value |
|---|---|
| Php Version | 5.5.9-1ubuntu4.14 |
| Redirect Redirect Cake Site | asiatatlerdining |
| Redirect Redirect Cake Region | CN |
| Redirect Redirect Cake Lang | zh-CN |
| Redirect Redirect Cake Env | debug |
| Redirect Redirect Status | 200 |
| Redirect Cake Site | asiatatlerdining |
| Redirect Cake Region | CN |
| Redirect Cake Lang | zh-CN |
| Redirect Cake Env | debug |
| Redirect Status | 200 |
| Cake Site | asiatatlerdining |
| Cake Region | CN |
| Cake Lang | zh-CN |
| Cake Env | debug |
| Http Accept | */* |
| Http User Agent | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| Http Accept Encoding | gzip, br, zstd, deflate |
| Http Host | dining.shangliutatler.com:8081 |
| Http Via | 1.1 squid-proxy-5b96dc6d46-j2vcf (squid/6.13) |
| Http X Forwarded For | 10.1.227.81 |
| Http Cache Control | max-age=259200 |
| Http Connection | keep-alive |
| Path | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| Server Signature | <address>Apache/2.4.7 (Ubuntu) Server at dining.shangliutatler.com Port 8081</address> |
| Server Software | Apache/2.4.7 (Ubuntu) |
| Server Name | dining.shangliutatler.com |
| Server Addr | 10.46.22.148 |
| Server Port | 8081 |
| Remote Addr | 216.73.217.100 |
| Document Root | /var/www/html/tatler-cn-dining-3-2 |
| Request Scheme | http |
| Context Prefix | |
| Context Document Root | /var/www/html/tatler-cn-dining-3-2 |
| Server Admin | [no address given] |
| Script Filename | /var/www/html/tatler-cn-dining-3-2/app/webroot/index.php |
| Remote Port | 3834 |
| Redirect Query String | /features/Miracle Bar_2021 |
| Redirect Url | /app/webroot/features/Miracle Bar_2021 |
| Gateway Interface | CGI/1.1 |
| Server Protocol | HTTP/1.1 |
| Request Method | GET |
| Query String | /features/Miracle Bar_2021 |
| Request Uri | /features/Miracle%20Bar_2021 |
| Script Name | /app/webroot/index.php |
| Php Self | /app/webroot/index.php |
| Request Time Float | 1795702817.071 |
| Request Time | 1795702817 |