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' => '/tags/rolstoeltoegankelijk/page:3/?url=tags%2Frolstoeltoegankelijk%2Fpage%3A10%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F',
'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/TagsController.php line 9</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"> var $helpers = array('Stars', 'YozoImage');</span></code>
<code><span style="color: #000000"> </span></code>
<code><span style="color: #000000"> function beforeFilter() {</span></code>
<span class="code-highlight"><code><span style="color: #000000"> parent::beforeFilter();</span></code></span>
<code><span style="color: #000000"> $this->Auth->deny('admin_checklist');</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')">TagsController->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(TagsController) {},
(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(TagsController, 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(TagsController) {
name => 'Tags'
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
user => null
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Tags'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'view'
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 => 'Tag'
modelKey => 'tag'
validationErrors => null
Session => object(SessionComponent) {}
Redirect => object(RedirectComponent) {}
Email => object(EmailComponent) {}
Connect => object(ConnectComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Seo => object(SeoComponent) {}
Auth => object(AuthComponent) {}
Group => object(Group) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array(
[maximum depth reached]
)
url => 'tags/rolstoeltoegankelijk/page:3/'
base => ''
webroot => '/'
here => '/tags/rolstoeltoegankelijk/page:3/'
}
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 => 'tags/rolstoeltoegankelijk/page:3/'
base => ''
webroot => '/'
here => '/tags/rolstoeltoegankelijk/page:3/'
}
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 = '/tags/rolstoeltoegankelijk/page:3/?url=tags%2Frolstoeltoegankelijk%2Fpage%3A10%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F'
$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/TagsController.php line 9</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"> var $helpers = array('Stars', 'YozoImage');</span></code>
<code><span style="color: #000000"> </span></code>
<code><span style="color: #000000"> function beforeFilter() {</span></code>
<span class="code-highlight"><code><span style="color: #000000"> parent::beforeFilter();</span></code></span>
<code><span style="color: #000000"> $this->Auth->deny('admin_checklist');</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')">TagsController->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(TagsController) {},
(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(TagsController, 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(TagsController) {
name => 'Tags'
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
user => null
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Tags'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'view'
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 => 'Tag'
modelKey => 'tag'
validationErrors => null
Session => object(SessionComponent) {}
Redirect => object(RedirectComponent) {}
Email => object(EmailComponent) {}
Connect => object(ConnectComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Seo => object(SeoComponent) {}
Auth => object(AuthComponent) {}
Group => object(Group) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array(
[maximum depth reached]
)
url => 'tags/rolstoeltoegankelijk/page:3/'
base => ''
webroot => '/'
here => '/tags/rolstoeltoegankelijk/page:3/'
}
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 => 'tags/rolstoeltoegankelijk/page:3/'
base => ''
webroot => '/'
here => '/tags/rolstoeltoegankelijk/page:3/'
}
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 ??