Warning (512) : _cake_core_ cache was unable to write 'cake_dev_dut' to File cache [CORE/Cake/Cache/Cache.php , line 306 ]Code Context if (!isset($_this->_domains[$domain][$_this->_lang][$_this->category])) {
$_this->_bindTextDomain($domain);
Cache::write($_this->domain, $_this->_domains[$domain][$_this->_lang], '_cake_core_'); $key = 'cake_dev_dut'
$value = array(
'LC_MESSAGES' => array([maximum depth reached])
)
$config = '_cake_core_'
$settings = array(
'prefix' => '*****',
'duration' => (int) 10,
'probability' => (int) 100,
'engine' => 'File',
'path' => '/home/yozo/public_html/app/tmp/cache/persistent/',
'lock' => true,
'serialize' => true,
'isWindows' => false,
'mask' => (int) 436
)
$success = false Cache::write() - CORE/Cake/Cache/Cache.php, line 306
I18n::translate() - CORE/Cake/I18n/I18n.php, line 176
__d - CORE/Cake/basics.php, line 558
CakeException::__construct() - CORE/Cake/Error/exceptions.php, line 201
MissingConnectionException::__construct() - CORE/Cake/Error/exceptions.php, line 344
Mysql::connect() - CORE/Cake/Model/Datasource/Database/Mysql.php, line 163
DboSource::__construct() - CORE/Cake/Model/Datasource/DboSource.php, line 245
ConnectionManager::getDataSource() - CORE/Cake/Model/ConnectionManager.php, line 101
Model::setDataSource() - CORE/Cake/Model/Model.php, line 3420
Model::setSource() - CORE/Cake/Model/Model.php, line 1083
Model::getDataSource() - CORE/Cake/Model/Model.php, line 3442
Model::__call() - CORE/Cake/Model/Model.php, line 775
Group::findById() - APP/Controller/AppController.php, line 110
AppController::isAdmin() - APP/Controller/AppController.php, line 110
AppController::beforeFilter() - APP/Controller/AppController.php, line 43
PlacesController::beforeFilter() - APP/Controller/PlacesController.php, line 29
call_user_func - [internal], line ?? Warning (2) : file_put_contents() [function.file-put-contents ]: Only 0 of 1754 bytes written, possibly out of free disk space [CORE/Cake/Log/Engine/FileLog.php , line 69 ]Code Context }
$output = date('Y-m-d H:i:s') . ' ' . ucfirst($type) . ': ' . $message . "\n";
return file_put_contents($filename, $output, FILE_APPEND); $type = 'error'
$message = '[MissingConnectionException] Database connection "SQLSTATE[HY000] [2002] Verbinding is geweigerd" is missing, or could not be created.
#0 /home/yozo/public_html/lib/Cake/Model/Datasource/DboSource.php(245): Mysql->connect()
#1 /home/yozo/public_html/lib/Cake/Model/ConnectionManager.php(101): DboSource->__construct(Array)
#2 /home/yozo/public_html/lib/Cake/Model/Model.php(3420): ConnectionManager::getDataSource('default')
#3 /home/yozo/public_html/lib/Cake/Model/Model.php(1083): Model->setDataSource('default')
#4 /home/yozo/public_html/lib/Cake/Model/Model.php(3442): Model->setSource('groups')
#5 /home/yozo/public_html/lib/Cake/Model/Model.php(775): Model->getDataSource()
#6 /home/yozo/public_html/app/Controller/AppController.php(110): Model->__call('findById', Array)
#7 /home/yozo/public_html/app/Controller/AppController.php(110): Group->findById(false)
#8 /home/yozo/public_html/app/Controller/AppController.php(43): AppController->isAdmin()
#9 /home/yozo/public_html/app/Controller/PlacesController.php(29): AppController->beforeFilter()
#10 [internal function]: PlacesController->beforeFilter(Object(CakeEvent))
#11 /home/yozo/public_html/lib/Cake/Event/CakeEventManager.php(246): call_user_func(Array, Object(CakeEvent))
#12 /home/yozo/public_html/lib/Cake/Controller/Controller.php(670): CakeEventManager->dispatch(Object(CakeEvent))
#13 /home/yozo/public_html/lib/Cake/Routing/Dispatcher.php(100): Controller->startupProcess()
#14 /home/yozo/public_html/lib/Cake/Routing/Dispatcher.php(85): Dispatcher->_invoke(Object(PlacesController), Object(CakeRequest), Object(CakeResponse))
#15 /home/yozo/public_html/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#16 {main}'
$debugTypes = array(
(int) 0 => 'notice',
(int) 1 => 'info',
(int) 2 => 'debug'
)
$filename = '/home/yozo/public_html/app/tmp/logs/error.log'
$output = '2026-04-07 21:37:23 Error: [MissingConnectionException] Database connection "SQLSTATE[HY000] [2002] Verbinding is geweigerd" is missing, or could not be created.
#0 /home/yozo/public_html/lib/Cake/Model/Datasource/DboSource.php(245): Mysql->connect()
#1 /home/yozo/public_html/lib/Cake/Model/ConnectionManager.php(101): DboSource->__construct(Array)
#2 /home/yozo/public_html/lib/Cake/Model/Model.php(3420): ConnectionManager::getDataSource('default')
#3 /home/yozo/public_html/lib/Cake/Model/Model.php(1083): Model->setDataSource('default')
#4 /home/yozo/public_html/lib/Cake/Model/Model.php(3442): Model->setSource('groups')
#5 /home/yozo/public_html/lib/Cake/Model/Model.php(775): Model->getDataSource()
#6 /home/yozo/public_html/app/Controller/AppController.php(110): Model->__call('findById', Array)
#7 /home/yozo/public_html/app/Controller/AppController.php(110): Group->findById(false)
#8 /home/yozo/public_html/app/Controller/AppController.php(43): AppController->isAdmin()
#9 /home/yozo/public_html/app/Controller/PlacesController.php(29): AppController->beforeFilter()
#10 [internal function]: PlacesController->beforeFilter(Object(CakeEvent))
#11 /home/yozo/public_html/lib/Cake/Event/CakeEventManager.php(246): call_user_func(Array, Object(CakeEvent))
#12 /home/yozo/public_html/lib/Cake/Controller/Controller.php(670): CakeEventManager->dispatch(Object(CakeEvent))
#13 /home/yozo/public_html/lib/Cake/Routing/Dispatcher.php(100): Controller->startupProcess()
#14 /home/yozo/public_html/lib/Cake/Routing/Dispatcher.php(85): Dispatcher->_invoke(Object(PlacesController), Object(CakeRequest), Object(CakeResponse))
#15 /home/yozo/public_html/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#16 {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 ?? Warning (2) : file_put_contents() [function.file-put-contents ]: Only 0 of 1754 bytes written, possibly out of free disk space [CORE/Cake/Log/Engine/FileLog.php , line 69 ]Code Context }
$output = date('Y-m-d H:i:s') . ' ' . ucfirst($type) . ': ' . $message . "\n";
return file_put_contents($filename, $output, FILE_APPEND); $type = 'error'
$message = '[MissingConnectionException] Database connection "SQLSTATE[HY000] [2002] Verbinding is geweigerd" is missing, or could not be created.
#0 /home/yozo/public_html/lib/Cake/Model/Datasource/DboSource.php(245): Mysql->connect()
#1 /home/yozo/public_html/lib/Cake/Model/ConnectionManager.php(101): DboSource->__construct(Array)
#2 /home/yozo/public_html/lib/Cake/Model/Model.php(3420): ConnectionManager::getDataSource('default')
#3 /home/yozo/public_html/lib/Cake/Model/Model.php(1083): Model->setDataSource('default')
#4 /home/yozo/public_html/lib/Cake/Model/Model.php(3442): Model->setSource('groups')
#5 /home/yozo/public_html/lib/Cake/Model/Model.php(775): Model->getDataSource()
#6 /home/yozo/public_html/app/Controller/AppController.php(110): Model->__call('findById', Array)
#7 /home/yozo/public_html/app/Controller/AppController.php(110): Group->findById(false)
#8 /home/yozo/public_html/app/Controller/AppController.php(43): AppController->isAdmin()
#9 /home/yozo/public_html/app/Controller/PlacesController.php(29): AppController->beforeFilter()
#10 [internal function]: PlacesController->beforeFilter(Object(CakeEvent))
#11 /home/yozo/public_html/lib/Cake/Event/CakeEventManager.php(246): call_user_func(Array, Object(CakeEvent))
#12 /home/yozo/public_html/lib/Cake/Controller/Controller.php(670): CakeEventManager->dispatch(Object(CakeEvent))
#13 /home/yozo/public_html/lib/Cake/Routing/Dispatcher.php(100): Controller->startupProcess()
#14 /home/yozo/public_html/lib/Cake/Routing/Dispatcher.php(85): Dispatcher->_invoke(Object(PlacesController), Object(CakeRequest), Object(CakeResponse))
#15 /home/yozo/public_html/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#16 {main}'
$debugTypes = array(
(int) 0 => 'notice',
(int) 1 => 'info',
(int) 2 => 'debug'
)
$filename = '/home/yozo/public_html/app/tmp/logs/error.log'
$output = '2026-04-07 21:37:23 Error: [MissingConnectionException] Database connection "SQLSTATE[HY000] [2002] Verbinding is geweigerd" is missing, or could not be created.
#0 /home/yozo/public_html/lib/Cake/Model/Datasource/DboSource.php(245): Mysql->connect()
#1 /home/yozo/public_html/lib/Cake/Model/ConnectionManager.php(101): DboSource->__construct(Array)
#2 /home/yozo/public_html/lib/Cake/Model/Model.php(3420): ConnectionManager::getDataSource('default')
#3 /home/yozo/public_html/lib/Cake/Model/Model.php(1083): Model->setDataSource('default')
#4 /home/yozo/public_html/lib/Cake/Model/Model.php(3442): Model->setSource('groups')
#5 /home/yozo/public_html/lib/Cake/Model/Model.php(775): Model->getDataSource()
#6 /home/yozo/public_html/app/Controller/AppController.php(110): Model->__call('findById', Array)
#7 /home/yozo/public_html/app/Controller/AppController.php(110): Group->findById(false)
#8 /home/yozo/public_html/app/Controller/AppController.php(43): AppController->isAdmin()
#9 /home/yozo/public_html/app/Controller/PlacesController.php(29): AppController->beforeFilter()
#10 [internal function]: PlacesController->beforeFilter(Object(CakeEvent))
#11 /home/yozo/public_html/lib/Cake/Event/CakeEventManager.php(246): call_user_func(Array, Object(CakeEvent))
#12 /home/yozo/public_html/lib/Cake/Controller/Controller.php(670): CakeEventManager->dispatch(Object(CakeEvent))
#13 /home/yozo/public_html/lib/Cake/Routing/Dispatcher.php(100): Controller->startupProcess()
#14 /home/yozo/public_html/lib/Cake/Routing/Dispatcher.php(85): Dispatcher->_invoke(Object(PlacesController), Object(CakeRequest), Object(CakeResponse))
#15 /home/yozo/public_html/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#16 {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 ??
Warning (512) : _cake_core_ cache was unable to write 'default_dut' to File cache [CORE/Cake/Cache/Cache.php , line 306 ]Code Context if (!isset($_this->_domains[$domain][$_this->_lang][$_this->category])) {
$_this->_bindTextDomain($domain);
Cache::write($_this->domain, $_this->_domains[$domain][$_this->_lang], '_cake_core_'); $key = 'default_dut'
$value = array(
'LC_MESSAGES' => array(
[maximum depth reached]
)
)
$config = '_cake_core_'
$settings = array(
'prefix' => '*****',
'duration' => (int) 10,
'probability' => (int) 100,
'engine' => 'File',
'path' => '/home/yozo/public_html/app/tmp/cache/persistent/',
'lock' => true,
'serialize' => true,
'isWindows' => false,
'mask' => (int) 436
)
$success = false Cache::write() - CORE/Cake/Cache/Cache.php, line 306
I18n::translate() - CORE/Cake/I18n/I18n.php, line 176
__ - CORE/Cake/basics.php, line 509
include - APP/View/Layouts/default.ctp, line 25
View::_evaluate() - CORE/Cake/View/View.php, line 915
View::_render() - CORE/Cake/View/View.php, line 879
View::renderLayout() - CORE/Cake/View/View.php, line 534
View::render() - CORE/Cake/View/View.php, line 478
Controller::render() - CORE/Cake/Controller/Controller.php, line 959
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 ?? CakePHP: the rapid development php framework: Errors
Missing Database Connection
Error:
SQLSTATE[HY000] [2002] Verbinding is geweigerd requires a database connection
Notice:
If you want to customize this error message, create app/View/Errors/missing_connection.ctp.
Stack Trace
CORE/Cake/Model/Datasource/DboSource.php line 245 → Mysql->connect() ));
}
if ($autoConnect) {
$this->connect();
}
CORE/Cake/Model/ConnectionManager.php line 101 → DboSource->__construct(array) $conn = self::$_connectionsEnum[$name];
$class = $conn['classname'];
self::$_dataSources[$name] = new $class(self::$config->{$name});
self::$_dataSources[$name]->configKeyName = $name; array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'mysql',
'persistent' => false,
'datasource' => 'Database/Mysql',
'encoding' => 'utf8'
)
CORE/Cake/Model/Model.php line 3420 → ConnectionManager::getDataSource(string) if ($dataSource != null) {
$this->useDbConfig = $dataSource;
}
$db = ConnectionManager::getDataSource($this->useDbConfig);
if (!empty($oldConfig) && isset($db->config['prefix'])) {
CORE/Cake/Model/Model.php line 1083 → Model->setDataSource(string) * @return void
*/
public function setSource($tableName) {
$this->setDataSource($this->useDbConfig);
$db = ConnectionManager::getDataSource($this->useDbConfig);
CORE/Cake/Model/Model.php line 3442 → Model->setSource(string) public function getDataSource() {
if (!$this->_sourceConfigured && $this->useTable !== false) {
$this->_sourceConfigured = true;
$this->setSource($this->useTable);
}
CORE/Cake/Model/Model.php line 775 → Model->getDataSource() if ($result !== array('unhandled')) {
return $result;
}
$return = $this->getDataSource()->query($method, $params, $this);
return $return;
APP/Controller/AppController.php line 110 → Model->__call(string, array) public function isAdmin() {
$this->loadModel('Group');
$this->Group->recursive = -1;
$group = $this->Group->findById(User::get('group_id'));
return $group['Group']['name'] == 'admins'; 'findById'
array(
(int) 0 => false
)
APP/Controller/AppController.php line 110 → Group->findById(boolean) public function isAdmin() {
$this->loadModel('Group');
$this->Group->recursive = -1;
$group = $this->Group->findById(User::get('group_id'));
return $group['Group']['name'] == 'admins';
APP/Controller/AppController.php line 43 → AppController->isAdmin() if ($this->Auth->user() && !$this->Auth->user('active')) {
$this->Redirect->flashWarning(__('Deze account is nog niet geactiveerd!'), $this->Auth->logout());
}
if ($this->isAdmin()) {
Configure::write('debug', 2);
APP/Controller/PlacesController.php line 29 → AppController->beforeFilter() }
}
}
parent::beforeFilter();
}
[internal function] → PlacesController->beforeFilter(CakeEvent) object(CakeEvent) {
data => null
result => null
}
CORE/Cake/Event/CakeEventManager.php line 246 → call_user_func(array, CakeEvent) if ($listener['passParams'] === true) {
$result = call_user_func_array($listener['callable'], $event->data);
} else {
$result = call_user_func($listener['callable'], $event);
} array(
(int) 0 => object(PlacesController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
}
CORE/Cake/Controller/Controller.php line 670 → CakeEventManager->dispatch(CakeEvent) * @return void
*/
public function startupProcess() {
$this->getEventManager()->dispatch(new CakeEvent('Controller.initialize', $this));
$this->getEventManager()->dispatch(new CakeEvent('Controller.startup', $this)); object(CakeEvent) {
data => null
result => null
}
CORE/Cake/Routing/Dispatcher.php line 100 → Controller->startupProcess() */
protected function _invoke(Controller $controller, CakeRequest $request, CakeResponse $response) {
$controller->constructClasses();
$controller->startupProcess();
CORE/Cake/Routing/Dispatcher.php line 85 → Dispatcher->_invoke(PlacesController, CakeRequest, CakeResponse) ));
}
return $this->_invoke($controller, $request, $response);
} object(PlacesController) {
name => 'Places'
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
user => null
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Places'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'town_category_switch'
layout => 'yozo'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Place'
modelKey => 'place'
validationErrors => null
Session => object(SessionComponent) {}
Redirect => object(RedirectComponent) {}
Email => object(EmailComponent) {}
Connect => object(ConnectComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Seo => object(SeoComponent) {}
Auth => object(AuthComponent) {}
Yourls => object(YourlsComponent) {}
Group => object(Group) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array(
[maximum depth reached]
)
url => 'sitemap.xml'
base => ''
webroot => '/'
here => '/sitemap.xml'
}
object(CakeResponse) {
}
APP/webroot/index.php line 92 → 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(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array(
[maximum depth reached]
)
url => 'sitemap.xml'
base => ''
webroot => '/'
here => '/sitemap.xml'
}
object(CakeResponse) {
}
Notice (8) : Undefined variable: facebook [APP/View/Layouts/default.ctp , line 71 ]Code Context ob_start();
include $___viewFn; $___viewFn = '/home/yozo/public_html/app/View/Layouts/default.ctp'
$___dataForView = array(
'class' => 'SQLSTATE[HY000] [2002] Verbinding is geweigerd',
'enabled' => true,
'code' => (int) 500,
'url' => '/sitemap.xml?url=sitemap.xml',
'name' => 'Database connection "SQLSTATE[HY000] [2002] Verbinding is geweigerd" is missing, or could not be created.',
'error' => object(MissingConnectionException) {},
'_serialize' => array(
[maximum depth reached]
),
'content_for_layout' => '<h2>Missing Database Connection</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000] [2002] Verbinding is geweigerd requires a database connection</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/missing_connection.ctp.</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 245</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">Mysql->connect()</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> ));</span></code>
<code><span style="color: #000000"> }</span></code>
<code><span style="color: #000000"> if ($autoConnect) {</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $this->connect();</span></code></span>
<code><span style="color: #000000"> }</span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/ConnectionManager.php line 101</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->__construct(array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> $conn = self::$_connectionsEnum[$name];</span></code>
<code><span style="color: #000000"> $class = $conn['classname'];</span></code>
<code><span style="color: #000000"></span></code>
<span class="code-highlight"><code><span style="color: #000000"> self::$_dataSources[$name] = new $class(self::$config->{$name});</span></code></span>
<code><span style="color: #000000"> self::$_dataSources[$name]->configKeyName = $name;</span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'mysql',
'persistent' => false,
'datasource' => 'Database/Mysql',
'encoding' => 'utf8'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 3420</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">ConnectionManager::getDataSource(string)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> if ($dataSource != null) {</span></code>
<code><span style="color: #000000"> $this->useDbConfig = $dataSource;</span></code>
<code><span style="color: #000000"> }</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $db = ConnectionManager::getDataSource($this->useDbConfig);</span></code></span>
<code><span style="color: #000000"> if (!empty($oldConfig) && isset($db->config['prefix'])) {</span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1083</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->setDataSource(string)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> * @return void</span></code>
<code><span style="color: #000000"> */</span></code>
<code><span style="color: #000000"> public function setSource($tableName) {</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $this->setDataSource($this->useDbConfig);</span></code></span>
<code><span style="color: #000000"> $db = ConnectionManager::getDataSource($this->useDbConfig);</span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 3442</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->setSource(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> public function getDataSource() {</span></code>
<code><span style="color: #000000"> if (!$this->_sourceConfigured && $this->useTable !== false) {</span></code>
<code><span style="color: #000000"> $this->_sourceConfigured = true;</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $this->setSource($this->useTable);</span></code></span>
<code><span style="color: #000000"> }</span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'groups'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 775</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->getDataSource()</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> if ($result !== array('unhandled')) {</span></code>
<code><span style="color: #000000"> return $result;</span></code>
<code><span style="color: #000000"> }</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $return = $this->getDataSource()->query($method, $params, $this);</span></code></span>
<code><span style="color: #000000"> return $return;</span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">APP/Controller/AppController.php line 110</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->__call(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> public function isAdmin() {</span></code>
<code><span style="color: #000000"> $this->loadModel('Group');</span></code>
<code><span style="color: #000000"> $this->Group->recursive = -1;</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $group = $this->Group->findById(User::get('group_id'));</span></code></span>
<code><span style="color: #000000"> return $group['Group']['name'] == 'admins';</span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'findById'
array(
(int) 0 => false
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Controller/AppController.php line 110</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Group->findById(boolean)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> public function isAdmin() {</span></code>
<code><span style="color: #000000"> $this->loadModel('Group');</span></code>
<code><span style="color: #000000"> $this->Group->recursive = -1;</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $group = $this->Group->findById(User::get('group_id'));</span></code></span>
<code><span style="color: #000000"> return $group['Group']['name'] == 'admins';</span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>false</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 43</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">AppController->isAdmin()</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> if ($this->Auth->user() && !$this->Auth->user('active')) {</span></code>
<code><span style="color: #000000"> $this->Redirect->flashWarning(__('Deze account is nog niet geactiveerd!'), $this->Auth->logout());</span></code>
<code><span style="color: #000000"> } </span></code>
<span class="code-highlight"><code><span style="color: #000000"> if ($this->isAdmin()) {</span></code></span>
<code><span style="color: #000000"> Configure::write('debug', 2); </span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/PlacesController.php line 29</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">AppController->beforeFilter()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> } </span></code>
<code><span style="color: #000000"> } </span></code>
<code><span style="color: #000000"> }</span></code>
<span class="code-highlight"><code><span style="color: #000000"> parent::beforeFilter(); </span></code></span>
<code><span style="color: #000000"> } </span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">PlacesController->beforeFilter(CakeEvent)</a> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Event/CakeEventManager.php line 246</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> if ($listener['passParams'] === true) {</span></code>
<code><span style="color: #000000"> $result = call_user_func_array($listener['callable'], $event->data);</span></code>
<code><span style="color: #000000"> } else {</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $result = call_user_func($listener['callable'], $event);</span></code></span>
<code><span style="color: #000000"> }</span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(PlacesController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Controller/Controller.php line 670</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> * @return void</span></code>
<code><span style="color: #000000"> */</span></code>
<code><span style="color: #000000"> public function startupProcess() {</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $this->getEventManager()->dispatch(new CakeEvent('Controller.initialize', $this));</span></code></span>
<code><span style="color: #000000"> $this->getEventManager()->dispatch(new CakeEvent('Controller.startup', $this));</span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">CORE/Cake/Routing/Dispatcher.php line 100</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">Controller->startupProcess()</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> */</span></code>
<code><span style="color: #000000"> protected function _invoke(Controller $controller, CakeRequest $request, CakeResponse $response) {</span></code>
<code><span style="color: #000000"> $controller->constructClasses();</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $controller->startupProcess();</span></code></span>
<code><span style="color: #000000"></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">CORE/Cake/Routing/Dispatcher.php line 85</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">Dispatcher->_invoke(PlacesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-14" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> ));</span></code>
<code><span style="color: #000000"> }</span></code>
<code><span style="color: #000000"></span></code>
<span class="code-highlight"><code><span style="color: #000000"> return $this->_invoke($controller, $request, $response);</span></code></span>
<code><span style="color: #000000"> }</span></code></pre></div> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>object(PlacesController) {
name => 'Places'
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
user => null
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Places'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'town_category_switch'
layout => 'yozo'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Place'
modelKey => 'place'
validationErrors => null
Session => object(SessionComponent) {}
Redirect => object(RedirectComponent) {}
Email => object(EmailComponent) {}
Connect => object(ConnectComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Seo => object(SeoComponent) {}
Auth => object(AuthComponent) {}
Yourls => object(YourlsComponent) {}
Group => object(Group) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array(
[maximum depth reached]
)
url => 'sitemap.xml'
base => ''
webroot => '/'
here => '/sitemap.xml'
}
object(CakeResponse) {
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">APP/webroot/index.php line 92</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> App::uses('Dispatcher', 'Routing');</span></code>
<code><span style="color: #000000"></span></code>
<code><span style="color: #000000"> $Dispatcher = new Dispatcher();</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));</span></code></span></pre></div> <div id="trace-args-15" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array(
[maximum depth reached]
)
url => 'sitemap.xml'
base => ''
webroot => '/'
here => '/sitemap.xml'
}
object(CakeResponse) {
}</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display == 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
',
'scripts_for_layout' => '',
'title_for_layout' => 'Errors'
)
$class = 'SQLSTATE[HY000] [2002] Verbinding is geweigerd'
$enabled = true
$code = (int) 500
$url = '/sitemap.xml?url=sitemap.xml'
$name = 'Database connection "SQLSTATE[HY000] [2002] Verbinding is geweigerd" is missing, or could not be created.'
$error = object(MissingConnectionException) {}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'url',
(int) 2 => 'name'
)
$content_for_layout = '<h2>Missing Database Connection</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000] [2002] Verbinding is geweigerd requires a database connection</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/missing_connection.ctp.</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 245</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">Mysql->connect()</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> ));</span></code>
<code><span style="color: #000000"> }</span></code>
<code><span style="color: #000000"> if ($autoConnect) {</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $this->connect();</span></code></span>
<code><span style="color: #000000"> }</span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/ConnectionManager.php line 101</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->__construct(array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> $conn = self::$_connectionsEnum[$name];</span></code>
<code><span style="color: #000000"> $class = $conn['classname'];</span></code>
<code><span style="color: #000000"></span></code>
<span class="code-highlight"><code><span style="color: #000000"> self::$_dataSources[$name] = new $class(self::$config->{$name});</span></code></span>
<code><span style="color: #000000"> self::$_dataSources[$name]->configKeyName = $name;</span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'mysql',
'persistent' => false,
'datasource' => 'Database/Mysql',
'encoding' => 'utf8'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 3420</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">ConnectionManager::getDataSource(string)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> if ($dataSource != null) {</span></code>
<code><span style="color: #000000"> $this->useDbConfig = $dataSource;</span></code>
<code><span style="color: #000000"> }</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $db = ConnectionManager::getDataSource($this->useDbConfig);</span></code></span>
<code><span style="color: #000000"> if (!empty($oldConfig) && isset($db->config['prefix'])) {</span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1083</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->setDataSource(string)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> * @return void</span></code>
<code><span style="color: #000000"> */</span></code>
<code><span style="color: #000000"> public function setSource($tableName) {</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $this->setDataSource($this->useDbConfig);</span></code></span>
<code><span style="color: #000000"> $db = ConnectionManager::getDataSource($this->useDbConfig);</span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 3442</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->setSource(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> public function getDataSource() {</span></code>
<code><span style="color: #000000"> if (!$this->_sourceConfigured && $this->useTable !== false) {</span></code>
<code><span style="color: #000000"> $this->_sourceConfigured = true;</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $this->setSource($this->useTable);</span></code></span>
<code><span style="color: #000000"> }</span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'groups'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 775</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->getDataSource()</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> if ($result !== array('unhandled')) {</span></code>
<code><span style="color: #000000"> return $result;</span></code>
<code><span style="color: #000000"> }</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $return = $this->getDataSource()->query($method, $params, $this);</span></code></span>
<code><span style="color: #000000"> return $return;</span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">APP/Controller/AppController.php line 110</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->__call(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> public function isAdmin() {</span></code>
<code><span style="color: #000000"> $this->loadModel('Group');</span></code>
<code><span style="color: #000000"> $this->Group->recursive = -1;</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $group = $this->Group->findById(User::get('group_id'));</span></code></span>
<code><span style="color: #000000"> return $group['Group']['name'] == 'admins';</span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'findById'
array(
(int) 0 => false
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Controller/AppController.php line 110</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Group->findById(boolean)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> public function isAdmin() {</span></code>
<code><span style="color: #000000"> $this->loadModel('Group');</span></code>
<code><span style="color: #000000"> $this->Group->recursive = -1;</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $group = $this->Group->findById(User::get('group_id'));</span></code></span>
<code><span style="color: #000000"> return $group['Group']['name'] == 'admins';</span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>false</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 43</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">AppController->isAdmin()</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> if ($this->Auth->user() && !$this->Auth->user('active')) {</span></code>
<code><span style="color: #000000"> $this->Redirect->flashWarning(__('Deze account is nog niet geactiveerd!'), $this->Auth->logout());</span></code>
<code><span style="color: #000000"> } </span></code>
<span class="code-highlight"><code><span style="color: #000000"> if ($this->isAdmin()) {</span></code></span>
<code><span style="color: #000000"> Configure::write('debug', 2); </span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/PlacesController.php line 29</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">AppController->beforeFilter()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> } </span></code>
<code><span style="color: #000000"> } </span></code>
<code><span style="color: #000000"> }</span></code>
<span class="code-highlight"><code><span style="color: #000000"> parent::beforeFilter(); </span></code></span>
<code><span style="color: #000000"> } </span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">PlacesController->beforeFilter(CakeEvent)</a> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Event/CakeEventManager.php line 246</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> if ($listener['passParams'] === true) {</span></code>
<code><span style="color: #000000"> $result = call_user_func_array($listener['callable'], $event->data);</span></code>
<code><span style="color: #000000"> } else {</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $result = call_user_func($listener['callable'], $event);</span></code></span>
<code><span style="color: #000000"> }</span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(PlacesController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Controller/Controller.php line 670</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> * @return void</span></code>
<code><span style="color: #000000"> */</span></code>
<code><span style="color: #000000"> public function startupProcess() {</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $this->getEventManager()->dispatch(new CakeEvent('Controller.initialize', $this));</span></code></span>
<code><span style="color: #000000"> $this->getEventManager()->dispatch(new CakeEvent('Controller.startup', $this));</span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">CORE/Cake/Routing/Dispatcher.php line 100</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">Controller->startupProcess()</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> */</span></code>
<code><span style="color: #000000"> protected function _invoke(Controller $controller, CakeRequest $request, CakeResponse $response) {</span></code>
<code><span style="color: #000000"> $controller->constructClasses();</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $controller->startupProcess();</span></code></span>
<code><span style="color: #000000"></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">CORE/Cake/Routing/Dispatcher.php line 85</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">Dispatcher->_invoke(PlacesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-14" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> ));</span></code>
<code><span style="color: #000000"> }</span></code>
<code><span style="color: #000000"></span></code>
<span class="code-highlight"><code><span style="color: #000000"> return $this->_invoke($controller, $request, $response);</span></code></span>
<code><span style="color: #000000"> }</span></code></pre></div> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>object(PlacesController) {
name => 'Places'
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
user => null
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Places'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'town_category_switch'
layout => 'yozo'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Place'
modelKey => 'place'
validationErrors => null
Session => object(SessionComponent) {}
Redirect => object(RedirectComponent) {}
Email => object(EmailComponent) {}
Connect => object(ConnectComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Seo => object(SeoComponent) {}
Auth => object(AuthComponent) {}
Yourls => object(YourlsComponent) {}
Group => object(Group) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array(
[maximum depth reached]
)
url => 'sitemap.xml'
base => ''
webroot => '/'
here => '/sitemap.xml'
}
object(CakeResponse) {
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">APP/webroot/index.php line 92</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"> App::uses('Dispatcher', 'Routing');</span></code>
<code><span style="color: #000000"></span></code>
<code><span style="color: #000000"> $Dispatcher = new Dispatcher();</span></code>
<span class="code-highlight"><code><span style="color: #000000"> $Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));</span></code></span></pre></div> <div id="trace-args-15" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array(
[maximum depth reached]
)
url => 'sitemap.xml'
base => ''
webroot => '/'
here => '/sitemap.xml'
}
object(CakeResponse) {
}</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display == 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
'
$scripts_for_layout = ''
$title_for_layout = 'Errors' include - APP/View/Layouts/default.ctp, line 71
View::_evaluate() - CORE/Cake/View/View.php, line 915
View::_render() - CORE/Cake/View/View.php, line 879
View::renderLayout() - CORE/Cake/View/View.php, line 534
View::render() - CORE/Cake/View/View.php, line 478
Controller::render() - CORE/Cake/Controller/Controller.php, line 959
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 ??
Fatal error : Call to a member function init() on null in /home/yozo/public_html/app/View/Layouts/default.ctp on line 71
Warning (512) : _cake_core_ cache was unable to write 'file_map' to File cache [CORE/Cake/Cache/Cache.php , line 306 ]Code Context public static function shutdown() {
if (self::$_cacheChange) {
Cache::write('file_map', array_filter(self::$_map), '_cake_core_'); $key = 'file_map'
$value = array(
'Configure' => '/home/yozo/public_html/lib/Cake/Core/Configure.php',
'Cache' => '/home/yozo/public_html/lib/Cake/Cache/Cache.php',
'FileEngine' => '/home/yozo/public_html/lib/Cake/Cache/Engine/FileEngine.php',
'CacheEngine' => '/home/yozo/public_html/lib/Cake/Cache/CacheEngine.php',
'Inflector' => '/home/yozo/public_html/lib/Cake/Utility/Inflector.php',
'ErrorHandler' => '/home/yozo/public_html/lib/Cake/Error/ErrorHandler.php',
'CakeLog' => '/home/yozo/public_html/lib/Cake/Log/CakeLog.php',
'FileLog' => '/home/yozo/public_html/lib/Cake/Log/Engine/FileLog.php',
'CakeLogInterface' => '/home/yozo/public_html/lib/Cake/Log/CakeLogInterface.php',
'CakePlugin' => '/home/yozo/public_html/lib/Cake/Core/CakePlugin.php',
'Dispatcher' => '/home/yozo/public_html/lib/Cake/Routing/Dispatcher.php',
'CakeRequest' => '/home/yozo/public_html/lib/Cake/Network/CakeRequest.php',
'CakeResponse' => '/home/yozo/public_html/lib/Cake/Network/CakeResponse.php',
'Router' => '/home/yozo/public_html/lib/Cake/Routing/Router.php',
'CakeRoute' => '/home/yozo/public_html/lib/Cake/Routing/Route/CakeRoute.php',
'PluginShortRoute' => '/home/yozo/public_html/lib/Cake/Routing/Route/PluginShortRoute.php',
'PlacesController' => '/home/yozo/public_html/app/Controller/PlacesController.php',
'AppController' => '/home/yozo/public_html/app/Controller/AppController.php',
'Controller' => '/home/yozo/public_html/lib/Cake/Controller/Controller.php',
'Object' => '/home/yozo/public_html/lib/Cake/Core/Object.php',
'CakeEventListener' => '/home/yozo/public_html/lib/Cake/Event/CakeEventListener.php',
'ComponentCollection' => '/home/yozo/public_html/lib/Cake/Controller/ComponentCollection.php',
'ObjectCollection' => '/home/yozo/public_html/lib/Cake/Utility/ObjectCollection.php',
'Set' => '/home/yozo/public_html/lib/Cake/Utility/Set.php',
'SessionComponent' => '/home/yozo/public_html/lib/Cake/Controller/Component/SessionComponent.php',
'Component' => '/home/yozo/public_html/lib/Cake/Controller/Component.php',
'RedirectComponent' => '/home/yozo/public_html/app/Controller/Component/RedirectComponent.php',
'EmailComponent' => '/home/yozo/public_html/lib/Cake/Controller/Component/EmailComponent.php',
'plugin.ConnectComponent' => '/home/yozo/public_html/app/Plugin/Facebook/Controller/Component/ConnectComponent.php',
'RequestHandlerComponent' => '/home/yozo/public_html/lib/Cake/Controller/Component/RequestHandlerComponent.php',
'SeoComponent' => '/home/yozo/public_html/app/Controller/Component/SeoComponent.php',
'AuthComponent' => '/home/yozo/public_html/lib/Cake/Controller/Component/AuthComponent.php',
'YourlsComponent' => '/home/yozo/public_html/app/Controller/Component/YourlsComponent.php',
'CakeEventManager' => '/home/yozo/public_html/lib/Cake/Event/CakeEventManager.php',
'CakeEvent' => '/home/yozo/public_html/lib/Cake/Event/CakeEvent.php',
'plugin.FB' => '/home/yozo/public_html/app/Plugin/Facebook/Lib/FB.php',
'plugin.Facebook' => '/home/yozo/public_html/app/Plugin/Facebook/Vendor/Facebook.php',
'plugin.FacebookInfo' => '/home/yozo/public_html/app/Plugin/Facebook/Lib/FacebookInfo.php',
'PhpReader' => '/home/yozo/public_html/lib/Cake/Configure/PhpReader.php',
'ConfigReaderInterface' => '/home/yozo/public_html/lib/Cake/Configure/ConfigReaderInterface.php',
'Debugger' => '/home/yozo/public_html/lib/Cake/Utility/Debugger.php',
'User' => '/home/yozo/public_html/app/Model/User.php',
'AppModel' => '/home/yozo/public_html/app/Model/AppModel.php',
'Model' => '/home/yozo/public_html/lib/Cake/Model/Model.php',
'CakeSession' => '/home/yozo/public_html/lib/Cake/Model/Datasource/CakeSession.php',
'ClassRegistry' => '/home/yozo/public_html/lib/Cake/Utility/ClassRegistry.php',
'ConnectionManager' => '/home/yozo/public_html/lib/Cake/Model/ConnectionManager.php',
'Group' => '/home/yozo/public_html/app/Model/Group.php',
'BehaviorCollection' => '/home/yozo/public_html/lib/Cake/Model/BehaviorCollection.php',
'Mysql' => '/home/yozo/public_html/lib/Cake/Model/Datasource/Database/Mysql.php',
'DboSource' => '/home/yozo/public_html/lib/Cake/Model/Datasource/DboSource.php',
'DataSource' => '/home/yozo/public_html/lib/Cake/Model/Datasource/DataSource.php',
'I18n' => '/home/yozo/public_html/lib/Cake/I18n/I18n.php',
'L10n' => '/home/yozo/public_html/lib/Cake/I18n/L10n.php',
'String' => '/home/yozo/public_html/lib/Cake/Utility/String.php',
'ExceptionRenderer' => '/home/yozo/public_html/lib/Cake/Error/ExceptionRenderer.php',
'CakeErrorController' => '/home/yozo/public_html/lib/Cake/Controller/CakeErrorController.php',
'View' => '/home/yozo/public_html/lib/Cake/View/View.php',
'HelperCollection' => '/home/yozo/public_html/lib/Cake/View/HelperCollection.php',
'ViewBlock' => '/home/yozo/public_html/lib/Cake/View/ViewBlock.php',
'SessionHelper' => '/home/yozo/public_html/lib/Cake/View/Helper/SessionHelper.php',
'AppHelper' => '/home/yozo/public_html/app/View/Helper/AppHelper.php',
'Helper' => '/home/yozo/public_html/lib/Cake/View/Helper.php',
'HtmlHelper' => '/home/yozo/public_html/lib/Cake/View/Helper/HtmlHelper.php',
'FormHelper' => '/home/yozo/public_html/lib/Cake/View/Helper/FormHelper.php'
)
$config = '_cake_core_'
$settings = array(
'prefix' => '*****',
'duration' => (int) 10,
'probability' => (int) 100,
'engine' => 'File',
'path' => '/home/yozo/public_html/app/tmp/cache/persistent/',
'lock' => true,
'serialize' => true,
'isWindows' => false,
'mask' => (int) 436
)
$success = false Cache::write() - CORE/Cake/Cache/Cache.php, line 306
App::shutdown() - CORE/Cake/Core/App.php, line 890
[main] - [internal], line ?? Warning (512) : _cake_core_ cache was unable to write 'object_map' to File cache [CORE/Cake/Cache/Cache.php , line 306 ]Code Context }
if (self::$_objectCacheChange) {
Cache::write('object_map', self::$_objects, '_cake_core_'); $key = 'object_map'
$value = array(
(int) 0 => false,
'app' => array(
[maximum depth reached]
)
)
$config = '_cake_core_'
$settings = array(
'prefix' => '*****',
'duration' => (int) 10,
'probability' => (int) 100,
'engine' => 'File',
'path' => '/home/yozo/public_html/app/tmp/cache/persistent/',
'lock' => true,
'serialize' => true,
'isWindows' => false,
'mask' => (int) 436
)
$success = false Cache::write() - CORE/Cake/Cache/Cache.php, line 306
App::shutdown() - CORE/Cake/Core/App.php, line 893
[main] - [internal], line ??