Warning (2) : file_put_contents(/home/redmondg/public_html/app/tmp/logs/error.log): failed to open stream: No such file or directory [CORE/Cake/Log/Engine/FileLog.php , line 87 ]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 "Mysql" is missing, or could not be created.
Exception Attributes: array (
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [1045] Access denied for user \'redmondg\'@\'localhost\' (using password: YES)',
'enabled' => true,
)
Request URL: /our-services
Stack Trace:
#0 /home/redmondg/public_html/lib/Cake/Model/Datasource/DboSource.php(262): Mysql->connect()
#1 /home/redmondg/public_html/lib/Cake/Model/ConnectionManager.php(102): DboSource->__construct(Array)
#2 /home/redmondg/public_html/app/Controller/AppController.php(28): ConnectionManager::getDataSource('default')
#3 /home/redmondg/public_html/app/Controller/PagesController.php(41): AppController->beforeFilter()
#4 [internal function]: PagesController->beforeFilter(Object(CakeEvent))
#5 /home/redmondg/public_html/lib/Cake/Event/CakeEventManager.php(248): call_user_func(Array, Object(CakeEvent))
#6 /home/redmondg/public_html/lib/Cake/Controller/Controller.php(670): CakeEventManager->dispatch(Object(CakeEvent))
#7 /home/redmondg/public_html/lib/Cake/Routing/Dispatcher.php(184): Controller->startupProcess()
#8 /home/redmondg/public_html/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(PagesController), Object(CakeRequest), Object(CakeResponse))
#9 /home/redmondg/public_html/app/webroot/index.php(109): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#10 {main}'
$debugTypes = array(
(int) 0 => 'notice',
(int) 1 => 'info',
(int) 2 => 'debug'
)
$filename = '/home/redmondg/public_html/app/tmp/logs/error.log'
$output = '2024-11-21 06:40:41 Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
Exception Attributes: array (
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [1045] Access denied for user \'redmondg\'@\'localhost\' (using password: YES)',
'enabled' => true,
)
Request URL: /our-services
Stack Trace:
#0 /home/redmondg/public_html/lib/Cake/Model/Datasource/DboSource.php(262): Mysql->connect()
#1 /home/redmondg/public_html/lib/Cake/Model/ConnectionManager.php(102): DboSource->__construct(Array)
#2 /home/redmondg/public_html/app/Controller/AppController.php(28): ConnectionManager::getDataSource('default')
#3 /home/redmondg/public_html/app/Controller/PagesController.php(41): AppController->beforeFilter()
#4 [internal function]: PagesController->beforeFilter(Object(CakeEvent))
#5 /home/redmondg/public_html/lib/Cake/Event/CakeEventManager.php(248): call_user_func(Array, Object(CakeEvent))
#6 /home/redmondg/public_html/lib/Cake/Controller/Controller.php(670): CakeEventManager->dispatch(Object(CakeEvent))
#7 /home/redmondg/public_html/lib/Cake/Routing/Dispatcher.php(184): Controller->startupProcess()
#8 /home/redmondg/public_html/lib/Cake/Routing/Dispatcher.php(162): Dispatcher->_invoke(Object(PagesController), Object(CakeRequest), Object(CakeResponse))
#9 /home/redmondg/public_html/app/webroot/index.php(109): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#10 {main}
' file_put_contents - [internal], line ??
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 87
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 453
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 114
[main] - [internal], line ??
Notice (8) : Undefined variable: site_name [APP/View/Layouts/default.ctp , line 5 ]Code Context < head >
<?php
$page_title = $site_name ;
$viewFile = '/home/redmondg/public_html/app/View/Layouts/default.ctp'
$dataForView = array(
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [1045] Access denied for user 'redmondg'@'localhost' (using password: YES)',
'enabled' => true,
'code' => (int) 500,
'url' => '/our-services',
'name' => 'Database connection "Mysql" is missing, or could not be created.',
'error' => object(MissingConnectionException) {
[protected] _messageTemplate => 'Database connection "%s" is missing, or could not be created.'
[protected] _attributes => array(
[maximum depth reached]
)
[protected] _responseHeaders => null
[protected] message => 'Database connection "Mysql" is missing, or could not be created.'
[protected] code => (int) 500
[protected] file => '/home/redmondg/public_html/lib/Cake/Model/Datasource/Database/Mysql.php'
[protected] line => (int) 161
},
'_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>
A Database connection using "Mysql" was missing or unable to connect. <br />
The database server returned this error: SQLSTATE[HY000] [1045] Access denied for user 'redmondg'@'localhost' (using password: YES)</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 262</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 style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$autoConnect</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">connect</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></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 102</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"><span style="color: #0000BB"> $conn </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_connectionsEnum</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">];</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $class </span><span style="color: #007700">= </span><span style="color: #0000BB">$conn</span><span style="color: #007700">[</span><span style="color: #DD0000">'classname'</span><span style="color: #007700">];</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">] = new </span><span style="color: #0000BB">$class</span><span style="color: #007700">(</span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">$config</span><span style="color: #007700">->{</span><span style="color: #0000BB">$name</span><span style="color: #007700">});</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">]-></span><span style="color: #0000BB">configKeyName </span><span style="color: #007700">= </span><span style="color: #0000BB">$name</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'prefix' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => false
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/AppController.php line 28</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"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">function </span><span style="color: #0000BB">beforeFilter</span><span style="color: #007700">(){</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'ConnectionManager'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Model'</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(</span><span style="color: #DD0000">'default'</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $tables </span><span style="color: #007700">= </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">listSources</span><span style="color: #007700">();</span></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')">APP/Controller/PagesController.php line 41</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">AppController->beforeFilter()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">beforeFilter</span><span style="color: #007700">(){ </span><span style="color: #FF8000">// Before Filter runs before the rest of the functions</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> parent</span><span style="color: #007700">::</span><span style="color: #0000BB">beforeFilter</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Auth</span><span style="color: #007700">-></span><span style="color: #0000BB">allow</span><span style="color: #007700">(</span><span style="color: #DD0000">'view'</span><span style="color: #007700">,</span><span style="color: #DD0000">'home'</span><span style="color: #007700">,</span><span style="color: #DD0000">'contact'</span><span style="color: #007700">,</span><span style="color: #DD0000">'landing'</span><span style="color: #007700">,</span><span style="color: #DD0000">'about'</span><span style="color: #007700">,</span><span style="color: #DD0000">'aboutus'</span><span style="color: #007700">,</span><span style="color: #DD0000">'services'</span><span style="color: #007700">,</span><span style="color: #DD0000">'services_view'</span><span style="color: #007700">); </span><span style="color: #FF8000">// Allow the user to access the register page</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">PagesController->beforeFilter(CakeEvent)</a> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(PagesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Event/CakeEventManager.php line 248</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(PagesController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(PagesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Controller/Controller.php line 670</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">void</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(PagesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Routing/Dispatcher.php line 184</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Controller->startupProcess()</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeResponse $response</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">();</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>object(PagesController) {
uses => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Pages'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Pages'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'services'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array([maximum depth reached])
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Page'
modelKey => 'page'
validationErrors => null
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'our-services'
base => ''
webroot => '/'
here => '/our-services'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/webroot/index.php line 109</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-9" 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 => 'our-services'
base => ''
webroot => '/'
here => '/our-services'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}</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 = 'Mysql'
$message = 'SQLSTATE[HY000] [1045] Access denied for user 'redmondg'@'localhost' (using password: YES)'
$enabled = true
$code = (int) 500
$url = '/our-services'
$name = 'Database connection "Mysql" is missing, or could not be created.'
$error = object(MissingConnectionException) {
[protected] _messageTemplate => 'Database connection "%s" is missing, or could not be created.'
[protected] _attributes => array(
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [1045] Access denied for user 'redmondg'@'localhost' (using password: YES)',
'enabled' => true
)
[protected] _responseHeaders => null
[protected] message => 'Database connection "Mysql" is missing, or could not be created.'
[protected] code => (int) 500
[protected] file => '/home/redmondg/public_html/lib/Cake/Model/Datasource/Database/Mysql.php'
[protected] line => (int) 161
}
$_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>
A Database connection using "Mysql" was missing or unable to connect. <br />
The database server returned this error: SQLSTATE[HY000] [1045] Access denied for user 'redmondg'@'localhost' (using password: YES)</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 262</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 style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$autoConnect</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">connect</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></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 102</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"><span style="color: #0000BB"> $conn </span><span style="color: #007700">= </span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_connectionsEnum</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">];</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $class </span><span style="color: #007700">= </span><span style="color: #0000BB">$conn</span><span style="color: #007700">[</span><span style="color: #DD0000">'classname'</span><span style="color: #007700">];</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">] = new </span><span style="color: #0000BB">$class</span><span style="color: #007700">(</span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">$config</span><span style="color: #007700">->{</span><span style="color: #0000BB">$name</span><span style="color: #007700">});</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">]-></span><span style="color: #0000BB">configKeyName </span><span style="color: #007700">= </span><span style="color: #0000BB">$name</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'prefix' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => false
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/Controller/AppController.php line 28</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"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">function </span><span style="color: #0000BB">beforeFilter</span><span style="color: #007700">(){</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'ConnectionManager'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Model'</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(</span><span style="color: #DD0000">'default'</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $tables </span><span style="color: #007700">= </span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">listSources</span><span style="color: #007700">();</span></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')">APP/Controller/PagesController.php line 41</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">AppController->beforeFilter()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">beforeFilter</span><span style="color: #007700">(){ </span><span style="color: #FF8000">// Before Filter runs before the rest of the functions</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> parent</span><span style="color: #007700">::</span><span style="color: #0000BB">beforeFilter</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Auth</span><span style="color: #007700">-></span><span style="color: #0000BB">allow</span><span style="color: #007700">(</span><span style="color: #DD0000">'view'</span><span style="color: #007700">,</span><span style="color: #DD0000">'home'</span><span style="color: #007700">,</span><span style="color: #DD0000">'contact'</span><span style="color: #007700">,</span><span style="color: #DD0000">'landing'</span><span style="color: #007700">,</span><span style="color: #DD0000">'about'</span><span style="color: #007700">,</span><span style="color: #DD0000">'aboutus'</span><span style="color: #007700">,</span><span style="color: #DD0000">'services'</span><span style="color: #007700">,</span><span style="color: #DD0000">'services_view'</span><span style="color: #007700">); </span><span style="color: #FF8000">// Allow the user to access the register page</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">PagesController->beforeFilter(CakeEvent)</a> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(PagesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Event/CakeEventManager.php line 248</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(PagesController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(PagesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Controller/Controller.php line 670</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">void</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(PagesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Routing/Dispatcher.php line 184</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Controller->startupProcess()</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeResponse $response</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">();</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">CORE/Cake/Routing/Dispatcher.php line 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>object(PagesController) {
uses => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Pages'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Pages'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'services'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array([maximum depth reached])
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Page'
modelKey => 'page'
validationErrors => null
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'our-services'
base => ''
webroot => '/'
here => '/our-services'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/webroot/index.php line 109</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-9" 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 => 'our-services'
base => ''
webroot => '/'
here => '/our-services'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}</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 5
View::_evaluate() - CORE/Cake/View/View.php, line 948
View::_render() - CORE/Cake/View/View.php, line 910
View::renderLayout() - CORE/Cake/View/View.php, line 535
View::render() - CORE/Cake/View/View.php, line 479
Controller::render() - CORE/Cake/Controller/Controller.php, line 948
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 274
ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 198
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 176
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 123
[main] - [internal], line ?? | Errors
Missing Database Connection
Error:
A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [1045] Access denied for user 'redmondg'@'localhost' (using password: YES)
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 262 → Mysql->connect() ));
}
if ( $autoConnect ) {
$this -> connect ();
}
CORE/Cake/Model/ConnectionManager.php line 102 → 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' => '*****',
'prefix' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => false
)
APP/Controller/AppController.php line 28 → ConnectionManager::getDataSource(string)
function beforeFilter (){
App :: uses ( 'ConnectionManager' , 'Model' );
$db = ConnectionManager :: getDataSource ( 'default' );
$tables = $db -> listSources ();
APP/Controller/PagesController.php line 41 → AppController->beforeFilter()
public function beforeFilter (){ // Before Filter runs before the rest of the functions
parent :: beforeFilter ();
$this -> Auth -> allow ( 'view' , 'home' , 'contact' , 'landing' , 'about' , 'aboutus' , 'services' , 'services_view' ); // Allow the user to access the register page
[internal function] → PagesController->beforeFilter(CakeEvent) object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(PagesController) {}
[protected] _stopped => false
}
CORE/Cake/Event/CakeEventManager.php line 248 → 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(PagesController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(PagesController) {}
[protected] _stopped => false
}
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
[protected] _name => 'Controller.initialize'
[protected] _subject => object(PagesController) {}
[protected] _stopped => false
}
CORE/Cake/Routing/Dispatcher.php line 184 → Controller->startupProcess() */
protected function _invoke ( Controller $controller , CakeRequest $request , CakeResponse $response ) {
$controller -> constructClasses ();
$controller -> startupProcess ();
CORE/Cake/Routing/Dispatcher.php line 162 → Dispatcher->_invoke(PagesController, CakeRequest, CakeResponse) ));
}
$response = $this -> _invoke ( $controller , $request , $response );
if (isset( $request -> params [ 'return' ])) {
object(PagesController) {
uses => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
components => array(
[maximum depth reached]
)
name => 'Pages'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Pages'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'services'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array([maximum depth reached])
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Page'
modelKey => 'page'
validationErrors => null
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'our-services'
base => ''
webroot => '/'
here => '/our-services'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
APP/webroot/index.php line 109 → Dispatcher->dispatch(CakeRequest, CakeResponse) $Dispatcher -> dispatch (
new CakeRequest (),
new CakeResponse ()
);
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'our-services'
base => ''
webroot => '/'
here => '/our-services'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}