Notice (8) : Undefined variable: credentials [APP/Plugin/Croogo/View/Elements/notify.ctp , line 2 ]Code Context <?php
if ( $credentials == false ) {
$viewFile = '/var/www/sky/app/Plugin/Croogo/View/Elements/notify.ctp'
$dataForView = array(
'vocabularies_for_layout' => array(),
'types_for_layout' => array(),
'menus_for_layout' => array(),
'nodes_for_layout' => array(),
'blocks_for_layout' => array(),
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)',
'enabled' => true,
'code' => '500',
'url' => '/page/vivo-play-room',
'name' => 'Database connection &quot;Mysql&quot; 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 => '/var/www/sky/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] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)</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 107</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"> </span><span style="color: #DD0000">'message' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Datasource is not found in Model/Datasource package.'</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">}</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' => '*****',
'port' => '*****',
'prefix' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => false,
'encoding' => 'UTF8'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 3221</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 style="color: #007700">if (</span><span style="color: #0000BB">$dataSource</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig </span><span style="color: #007700">= </span><span style="color: #0000BB">$dataSource</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>
<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: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$oldConfig</span><span style="color: #007700">) && isset(</span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">config</span><span style="color: #007700">[</span><span style="color: #DD0000">'prefix'</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')">CORE/Cake/Model/Model.php line 1108</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"><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">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$tableName</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">setDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<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: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></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 3243</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"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getDataSource</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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">&& </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable </span><span style="color: #007700">!== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">= </span><span style="color: #0000BB">true</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">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable</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-4" class="cake-code-dump" style="display: none;"><pre>'aros'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/AclNode.php line 63</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"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">throws CakeException when binding to a model that doesn</span><span style="color: #DD0000">'t exist.</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">node</span><span style="color: #007700">(</span><span style="color: #0000BB">$ref </span><span style="color: #007700">= </span><span style="color: #0000BB">null</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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $type </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">alias</span><span style="color: #007700">;</span></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/Plugin/Acl/Controller/Component/AclFilterComponent.php line 202</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">AclNode->node(array)</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">public function </span><span style="color: #0000BB">getPermissions</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">, </span><span style="color: #0000BB">$id</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $Acl </span><span style="color: #007700">=& </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_controller</span><span style="color: #007700">-></span><span style="color: #0000BB">Acl</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $aro </span><span style="color: #007700">= array(</span><span style="color: #DD0000">'model' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$model</span><span style="color: #007700">, </span><span style="color: #DD0000">'foreign_key' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$id</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $node </span><span style="color: #007700">= </span><span style="color: #0000BB">$Acl</span><span style="color: #007700">-></span><span style="color: #0000BB">Aro</span><span style="color: #007700">-></span><span style="color: #0000BB">node</span><span style="color: #007700">(</span><span style="color: #0000BB">$aro</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $nodes </span><span style="color: #007700">= </span><span style="color: #0000BB">$Acl</span><span style="color: #007700">-></span><span style="color: #0000BB">Aro</span><span style="color: #007700">-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">(</span><span style="color: #0000BB">$node</span><span style="color: #007700">[</span><span style="color: #0000BB">0</span><span style="color: #007700">][</span><span style="color: #DD0000">'Aro'</span><span style="color: #007700">][</span><span style="color: #DD0000">'id'</span><span style="color: #007700">]);</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>array(
'model' => 'Role',
'foreign_key' => (int) 3
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Plugin/Acl/Controller/Component/AclFilterComponent.php line 182</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">AclFilterComponent->getPermissions(string, integer)</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: #FF8000">// public access authorization</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $cacheName </span><span style="color: #007700">= </span><span style="color: #DD0000">'permissions_public'</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">$perms </span><span style="color: #007700">= </span><span style="color: #0000BB">Cache</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$cacheName</span><span style="color: #007700">, </span><span style="color: #DD0000">'permissions'</span><span style="color: #007700">)) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $perms </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getPermissions</span><span style="color: #007700">(</span><span style="color: #DD0000">'Role'</span><span style="color: #007700">, </span><span style="color: #0000BB">3</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> Cache</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #0000BB">$cacheName</span><span style="color: #007700">, </span><span style="color: #0000BB">$perms</span><span style="color: #007700">, </span><span style="color: #DD0000">'permissions'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'Role'
(int) 3</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Plugin/Croogo/Controller/CroogoAppController.php line 139</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">AclFilterComponent->auth()</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">if (empty(</span><span style="color: #0000BB">$this</span><span style="color: #007700">->{</span><span style="color: #0000BB">$aclFilterComponent</span><span style="color: #007700">})) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">MissingComponentException</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'class' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$aclFilterComponent</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>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">->{</span><span style="color: #0000BB">$aclFilterComponent</span><span style="color: #007700">}-></span><span style="color: #0000BB">auth</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">RequestHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">setContent</span><span style="color: #007700">(</span><span style="color: #DD0000">'json'</span><span style="color: #007700">, </span><span style="color: #DD0000">'text/x-json'</span><span style="color: #007700">);</span></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/Plugin/Nodes/Controller/NodesController.php line 80</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">CroogoAppController->beforeFilter()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">access </span><span style="color: #007700">public</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">beforeFilter</span><span style="color: #007700">() {</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"></span></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')">NodesController->beforeFilter(CakeEvent)</a> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(NodesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Event/CakeEventManager.php line 248</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"><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-11" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(NodesController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(NodesController) {}
[protected] _stopped => false
}</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"><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-12" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(NodesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">CORE/Cake/Routing/Dispatcher.php line 184</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 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-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 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">Dispatcher->_invoke(NodesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-14" 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-14" class="cake-code-dump" style="display: none;"><pre>object(NodesController) {
name => 'Nodes'
components => array(
[maximum depth reached]
)
presetVars => array(
[maximum depth reached]
)
uses => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
paginate => array(
[maximum depth reached]
)
usePaginationCache => true
viewClass => 'Theme'
theme => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Nodes'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'view'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
View => null
ext => '.ctp'
plugin => 'Nodes'
cacheAction => false
passedArgs => array([maximum depth reached])
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Node'
modelKey => 'node'
validationErrors => null
Croogo => object(CroogoComponent) {}
Security => object(SecurityComponent) {}
Acl => object(AclComponent) {}
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Recaptcha => object(RecaptchaComponent) {}
Node => object(Node) {}
Prg => object(PrgComponent) {}
AclFilter => object(AclFilterComponent) {}
CroogoAccess => object(AclAccessComponent) {}
Settings => object(SettingsComponent) {}
Nodes => object(NodesComponent) {}
Menus => object(MenusComponent) {}
Blocks => object(BlocksComponent) {}
Taxonomies => object(TaxonomiesComponent) {}
Meta => object(MetaComponent) {}
[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 => 'page/vivo-play-room'
base => ''
webroot => '/'
here => '/page/vivo-play-room'
[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-15')">APP/webroot/index.php line 96</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"><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">'Dispatcher'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Routing'</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">Dispatcher</span><span style="color: #007700">();</span></span></code>
<span class="code-highlight"><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">(new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(), new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'charset' </span><span style="color: #007700">=> </span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.encoding'</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-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 => 'page/vivo-play-room'
base => ''
webroot => '/'
here => '/page/vivo-play-room'
[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' => '<script type="text/javascript" src="/wysiwyg/js/wysiwyg.js"></script>',
'title_for_layout' => 'Errors'
)
$vocabularies_for_layout = array()
$types_for_layout = array()
$menus_for_layout = array()
$nodes_for_layout = array()
$blocks_for_layout = array()
$class = 'Mysql'
$message = 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
$enabled = true
$code = '500'
$url = '/page/vivo-play-room'
$name = 'Database connection &quot;Mysql&quot; 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] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)',
'enabled' => true
)
[protected] _responseHeaders => null
[protected] message => 'Database connection "Mysql" is missing, or could not be created.'
[protected] code => (int) 500
[protected] file => '/var/www/sky/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] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)</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 107</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"> </span><span style="color: #DD0000">'message' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Datasource is not found in Model/Datasource package.'</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">}</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' => '*****',
'port' => '*****',
'prefix' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => false,
'encoding' => 'UTF8'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 3221</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 style="color: #007700">if (</span><span style="color: #0000BB">$dataSource</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig </span><span style="color: #007700">= </span><span style="color: #0000BB">$dataSource</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>
<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: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$oldConfig</span><span style="color: #007700">) && isset(</span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">config</span><span style="color: #007700">[</span><span style="color: #DD0000">'prefix'</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')">CORE/Cake/Model/Model.php line 1108</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"><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">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$tableName</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">setDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<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: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></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 3243</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"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getDataSource</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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">&& </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable </span><span style="color: #007700">!== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">= </span><span style="color: #0000BB">true</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">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable</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-4" class="cake-code-dump" style="display: none;"><pre>'aros'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/AclNode.php line 63</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"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">throws CakeException when binding to a model that doesn</span><span style="color: #DD0000">'t exist.</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">node</span><span style="color: #007700">(</span><span style="color: #0000BB">$ref </span><span style="color: #007700">= </span><span style="color: #0000BB">null</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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $type </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">alias</span><span style="color: #007700">;</span></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/Plugin/Acl/Controller/Component/AclFilterComponent.php line 202</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">AclNode->node(array)</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">public function </span><span style="color: #0000BB">getPermissions</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">, </span><span style="color: #0000BB">$id</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $Acl </span><span style="color: #007700">=& </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_controller</span><span style="color: #007700">-></span><span style="color: #0000BB">Acl</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $aro </span><span style="color: #007700">= array(</span><span style="color: #DD0000">'model' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$model</span><span style="color: #007700">, </span><span style="color: #DD0000">'foreign_key' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$id</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $node </span><span style="color: #007700">= </span><span style="color: #0000BB">$Acl</span><span style="color: #007700">-></span><span style="color: #0000BB">Aro</span><span style="color: #007700">-></span><span style="color: #0000BB">node</span><span style="color: #007700">(</span><span style="color: #0000BB">$aro</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $nodes </span><span style="color: #007700">= </span><span style="color: #0000BB">$Acl</span><span style="color: #007700">-></span><span style="color: #0000BB">Aro</span><span style="color: #007700">-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">(</span><span style="color: #0000BB">$node</span><span style="color: #007700">[</span><span style="color: #0000BB">0</span><span style="color: #007700">][</span><span style="color: #DD0000">'Aro'</span><span style="color: #007700">][</span><span style="color: #DD0000">'id'</span><span style="color: #007700">]);</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>array(
'model' => 'Role',
'foreign_key' => (int) 3
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Plugin/Acl/Controller/Component/AclFilterComponent.php line 182</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">AclFilterComponent->getPermissions(string, integer)</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: #FF8000">// public access authorization</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $cacheName </span><span style="color: #007700">= </span><span style="color: #DD0000">'permissions_public'</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">$perms </span><span style="color: #007700">= </span><span style="color: #0000BB">Cache</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$cacheName</span><span style="color: #007700">, </span><span style="color: #DD0000">'permissions'</span><span style="color: #007700">)) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $perms </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getPermissions</span><span style="color: #007700">(</span><span style="color: #DD0000">'Role'</span><span style="color: #007700">, </span><span style="color: #0000BB">3</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> Cache</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #0000BB">$cacheName</span><span style="color: #007700">, </span><span style="color: #0000BB">$perms</span><span style="color: #007700">, </span><span style="color: #DD0000">'permissions'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'Role'
(int) 3</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Plugin/Croogo/Controller/CroogoAppController.php line 139</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">AclFilterComponent->auth()</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">if (empty(</span><span style="color: #0000BB">$this</span><span style="color: #007700">->{</span><span style="color: #0000BB">$aclFilterComponent</span><span style="color: #007700">})) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">MissingComponentException</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'class' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$aclFilterComponent</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>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">->{</span><span style="color: #0000BB">$aclFilterComponent</span><span style="color: #007700">}-></span><span style="color: #0000BB">auth</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">RequestHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">setContent</span><span style="color: #007700">(</span><span style="color: #DD0000">'json'</span><span style="color: #007700">, </span><span style="color: #DD0000">'text/x-json'</span><span style="color: #007700">);</span></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/Plugin/Nodes/Controller/NodesController.php line 80</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">CroogoAppController->beforeFilter()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">access </span><span style="color: #007700">public</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">beforeFilter</span><span style="color: #007700">() {</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"></span></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')">NodesController->beforeFilter(CakeEvent)</a> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(NodesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Event/CakeEventManager.php line 248</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"><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-11" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(NodesController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(NodesController) {}
[protected] _stopped => false
}</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"><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-12" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(NodesController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">CORE/Cake/Routing/Dispatcher.php line 184</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 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-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 162</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">Dispatcher->_invoke(NodesController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-14" 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-14" class="cake-code-dump" style="display: none;"><pre>object(NodesController) {
name => 'Nodes'
components => array(
[maximum depth reached]
)
presetVars => array(
[maximum depth reached]
)
uses => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
paginate => array(
[maximum depth reached]
)
usePaginationCache => true
viewClass => 'Theme'
theme => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Nodes'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'view'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
View => null
ext => '.ctp'
plugin => 'Nodes'
cacheAction => false
passedArgs => array([maximum depth reached])
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Node'
modelKey => 'node'
validationErrors => null
Croogo => object(CroogoComponent) {}
Security => object(SecurityComponent) {}
Acl => object(AclComponent) {}
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Recaptcha => object(RecaptchaComponent) {}
Node => object(Node) {}
Prg => object(PrgComponent) {}
AclFilter => object(AclFilterComponent) {}
CroogoAccess => object(AclAccessComponent) {}
Settings => object(SettingsComponent) {}
Nodes => object(NodesComponent) {}
Menus => object(MenusComponent) {}
Blocks => object(BlocksComponent) {}
Taxonomies => object(TaxonomiesComponent) {}
Meta => object(MetaComponent) {}
[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 => 'page/vivo-play-room'
base => ''
webroot => '/'
here => '/page/vivo-play-room'
[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-15')">APP/webroot/index.php line 96</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"><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">'Dispatcher'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Routing'</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">Dispatcher</span><span style="color: #007700">();</span></span></code>
<span class="code-highlight"><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">(new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(), new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'charset' </span><span style="color: #007700">=> </span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.encoding'</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-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 => 'page/vivo-play-room'
base => ''
webroot => '/'
here => '/page/vivo-play-room'
[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 = '<script type="text/javascript" src="/wysiwyg/js/wysiwyg.js"></script>'
$title_for_layout = 'Errors' include - APP/Plugin/Croogo/View/Elements/notify.ctp, line 2
View::_evaluate() - CORE/Cake/View/View.php, line 947
View::_render() - CORE/Cake/View/View.php, line 909
View::_renderElement() - CORE/Cake/View/View.php, line 1210
View::element() - CORE/Cake/View/View.php, line 414
include - APP/Plugin/Croogo/View/Layouts/default.ctp, line 66
View::_evaluate() - CORE/Cake/View/View.php, line 947
View::_render() - CORE/Cake/View/View.php, line 909
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
CroogoAppController::render() - APP/Plugin/Croogo/Controller/CroogoAppController.php, line 276
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 ?? Missing Database Connection
Error:
A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
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 107 → DboSource->__construct(array) 'message' => 'Datasource is not found in Model/Datasource package.'
));
}
self :: $_dataSources [ $name ] = new $class ( self :: $config ->{ $name });
self :: $_dataSources [ $name ]-> configKeyName = $name ;
array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => false,
'encoding' => 'UTF8'
)
CORE/Cake/Model/Model.php line 3221 → ConnectionManager::getDataSource(string) if ( $dataSource ) {
$this -> useDbConfig = $dataSource ;
}
$db = ConnectionManager :: getDataSource ( $this -> useDbConfig );
if (!empty( $oldConfig ) && isset( $db -> config [ 'prefix' ])) {
CORE/Cake/Model/Model.php line 1108 → Model->setDataSource(string) * @return void
*/
public function setSource ( $tableName ) {
$this -> setDataSource ( $this -> useDbConfig );
$db = ConnectionManager :: getDataSource ( $this -> useDbConfig );
CORE/Cake/Model/Model.php line 3243 → Model->setSource(string) public function getDataSource () {
if (! $this -> _sourceConfigured && $this -> useTable !== false ) {
$this -> _sourceConfigured = true ;
$this -> setSource ( $this -> useTable );
}
CORE/Cake/Model/AclNode.php line 63 → Model->getDataSource() * @ throws CakeException when binding to a model that doesn 't exist.
*/
public function node ( $ref = null ) {
$db = $this -> getDataSource ();
$type = $this -> alias ;
APP/Plugin/Acl/Controller/Component/AclFilterComponent.php line 202 → AclNode->node(array) public function getPermissions ( $model , $id ) {
$Acl =& $this -> _controller -> Acl ;
$aro = array( 'model' => $model , 'foreign_key' => $id );
$node = $Acl -> Aro -> node ( $aro );
$nodes = $Acl -> Aro -> getPath ( $node [ 0 ][ 'Aro' ][ 'id' ]);
array(
'model' => 'Role',
'foreign_key' => (int) 3
)
APP/Plugin/Acl/Controller/Component/AclFilterComponent.php line 182 → AclFilterComponent->getPermissions(string, integer) // public access authorization
$cacheName = 'permissions_public' ;
if (( $perms = Cache :: read ( $cacheName , 'permissions' )) === false ) {
$perms = $this -> getPermissions ( 'Role' , 3 );
Cache :: write ( $cacheName , $perms , 'permissions' );
APP/Plugin/Croogo/Controller/CroogoAppController.php line 139 → AclFilterComponent->auth() if (empty( $this ->{ $aclFilterComponent })) {
throw new MissingComponentException (array( 'class' => $aclFilterComponent ));
}
$this ->{ $aclFilterComponent }-> auth ();
$this -> RequestHandler -> setContent ( 'json' , 'text/x-json' );
APP/Plugin/Nodes/Controller/NodesController.php line 80 → CroogoAppController->beforeFilter() * @ access public
*/
public function beforeFilter () {
parent :: beforeFilter ();
[internal function] → NodesController->beforeFilter(CakeEvent) object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(NodesController) {}
[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(NodesController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(NodesController) {}
[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(NodesController) {}
[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(NodesController, CakeRequest, CakeResponse) ));
}
$response = $this -> _invoke ( $controller , $request , $response );
if (isset( $request -> params [ 'return' ])) {
object(NodesController) {
name => 'Nodes'
components => array(
[maximum depth reached]
)
presetVars => array(
[maximum depth reached]
)
uses => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
paginate => array(
[maximum depth reached]
)
usePaginationCache => true
viewClass => 'Theme'
theme => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Nodes'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'view'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
View => null
ext => '.ctp'
plugin => 'Nodes'
cacheAction => false
passedArgs => array([maximum depth reached])
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Node'
modelKey => 'node'
validationErrors => null
Croogo => object(CroogoComponent) {}
Security => object(SecurityComponent) {}
Acl => object(AclComponent) {}
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Recaptcha => object(RecaptchaComponent) {}
Node => object(Node) {}
Prg => object(PrgComponent) {}
AclFilter => object(AclFilterComponent) {}
CroogoAccess => object(AclAccessComponent) {}
Settings => object(SettingsComponent) {}
Nodes => object(NodesComponent) {}
Menus => object(MenusComponent) {}
Blocks => object(BlocksComponent) {}
Taxonomies => object(TaxonomiesComponent) {}
Meta => object(MetaComponent) {}
[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 => 'page/vivo-play-room'
base => ''
webroot => '/'
here => '/page/vivo-play-room'
[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 96 → 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 => 'page/vivo-play-room'
base => ''
webroot => '/'
here => '/page/vivo-play-room'
[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])
}
Errors/ » Sky Experience Adventure
Database connection "Mysql" is missing, or could not be created.
Error:
An Internal Error Has Occurred.
Stack Trace
CORE/Cake/Model/Datasource/DboSource.php line 262 → Mysql->connect() ));
}
if ( $autoConnect ) {
$this -> connect ();
}
CORE/Cake/Model/ConnectionManager.php line 107 → DboSource->__construct(array) 'message' => 'Datasource is not found in Model/Datasource package.'
));
}
self :: $_dataSources [ $name ] = new $class ( self :: $config ->{ $name });
self :: $_dataSources [ $name ]-> configKeyName = $name ;
array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => false,
'encoding' => 'UTF8'
)
CORE/Cake/Model/Model.php line 3221 → ConnectionManager::getDataSource(string) if ( $dataSource ) {
$this -> useDbConfig = $dataSource ;
}
$db = ConnectionManager :: getDataSource ( $this -> useDbConfig );
if (!empty( $oldConfig ) && isset( $db -> config [ 'prefix' ])) {
CORE/Cake/Model/Model.php line 1108 → Model->setDataSource(string) * @return void
*/
public function setSource ( $tableName ) {
$this -> setDataSource ( $this -> useDbConfig );
$db = ConnectionManager :: getDataSource ( $this -> useDbConfig );
CORE/Cake/Model/Model.php line 3243 → Model->setSource(string) public function getDataSource () {
if (! $this -> _sourceConfigured && $this -> useTable !== false ) {
$this -> _sourceConfigured = true ;
$this -> setSource ( $this -> useTable );
}
CORE/Cake/Model/AclNode.php line 63 → Model->getDataSource() * @ throws CakeException when binding to a model that doesn 't exist.
*/
public function node ( $ref = null ) {
$db = $this -> getDataSource ();
$type = $this -> alias ;
APP/Plugin/Acl/Controller/Component/AclFilterComponent.php line 202 → AclNode->node(array) public function getPermissions ( $model , $id ) {
$Acl =& $this -> _controller -> Acl ;
$aro = array( 'model' => $model , 'foreign_key' => $id );
$node = $Acl -> Aro -> node ( $aro );
$nodes = $Acl -> Aro -> getPath ( $node [ 0 ][ 'Aro' ][ 'id' ]);
array(
'model' => 'Role',
'foreign_key' => (int) 3
)
APP/Plugin/Acl/Controller/Component/AclFilterComponent.php line 182 → AclFilterComponent->getPermissions(string, integer) // public access authorization
$cacheName = 'permissions_public' ;
if (( $perms = Cache :: read ( $cacheName , 'permissions' )) === false ) {
$perms = $this -> getPermissions ( 'Role' , 3 );
Cache :: write ( $cacheName , $perms , 'permissions' );
APP/Plugin/Croogo/Controller/CroogoAppController.php line 139 → AclFilterComponent->auth() if (empty( $this ->{ $aclFilterComponent })) {
throw new MissingComponentException (array( 'class' => $aclFilterComponent ));
}
$this ->{ $aclFilterComponent }-> auth ();
$this -> RequestHandler -> setContent ( 'json' , 'text/x-json' );
APP/Plugin/Nodes/Controller/NodesController.php line 80 → CroogoAppController->beforeFilter() * @ access public
*/
public function beforeFilter () {
parent :: beforeFilter ();
[internal function] → NodesController->beforeFilter(CakeEvent) object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(NodesController) {}
[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(NodesController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(NodesController) {}
[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(NodesController) {}
[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(NodesController, CakeRequest, CakeResponse) ));
}
$response = $this -> _invoke ( $controller , $request , $response );
if (isset( $request -> params [ 'return' ])) {
object(NodesController) {
name => 'Nodes'
components => array(
[maximum depth reached]
)
presetVars => array(
[maximum depth reached]
)
uses => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
paginate => array(
[maximum depth reached]
)
usePaginationCache => true
viewClass => 'Theme'
theme => null
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Nodes'
layoutPath => null
viewVars => array([maximum depth reached])
view => 'view'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
View => null
ext => '.ctp'
plugin => 'Nodes'
cacheAction => false
passedArgs => array([maximum depth reached])
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Node'
modelKey => 'node'
validationErrors => null
Croogo => object(CroogoComponent) {}
Security => object(SecurityComponent) {}
Acl => object(AclComponent) {}
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Recaptcha => object(RecaptchaComponent) {}
Node => object(Node) {}
Prg => object(PrgComponent) {}
AclFilter => object(AclFilterComponent) {}
CroogoAccess => object(AclAccessComponent) {}
Settings => object(SettingsComponent) {}
Nodes => object(NodesComponent) {}
Menus => object(MenusComponent) {}
Blocks => object(BlocksComponent) {}
Taxonomies => object(TaxonomiesComponent) {}
Meta => object(MetaComponent) {}
[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 => 'page/vivo-play-room'
base => ''
webroot => '/'
here => '/page/vivo-play-room'
[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 96 → 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 => 'page/vivo-play-room'
base => ''
webroot => '/'
here => '/page/vivo-play-room'
[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])
}
Warning (2) : Unknown: open(/var/lib/php5/sess_p713im20acnuvivvfo3e1eqr92, O_RDWR) failed: No space left on device (28) [Unknown , line 0 ]Code Context $_GET = array(
'/page/vivo-play-room' => ''
)
$_POST = array()
$_COOKIE = array()
$_FILES = array()
$_SERVER = array(
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_STATUS' => '200',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Sat, 03 Jun 2023 01:07:44 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'skyexperienceadventure.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.2.22 (Ubuntu) Server at skyexperienceadventure.com Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.2.22 (Ubuntu)',
'SERVER_NAME' => 'skyexperienceadventure.com',
'SERVER_ADDR' => '198.211.114.200',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '34.228.52.21',
'DOCUMENT_ROOT' => '/var/www/sky',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/sky/app/webroot/index.php',
'REMOTE_PORT' => '37488',
'REDIRECT_QUERY_STRING' => '/page/vivo-play-room',
'REDIRECT_URL' => '/app/webroot/page/vivo-play-room',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '/page/vivo-play-room',
'REQUEST_URI' => '/page/vivo-play-room',
'SCRIPT_NAME' => '/app/webroot/index.php',
'PHP_SELF' => '/app/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1701634996.004,
'REQUEST_TIME' => (int) 1701634996
)
$_ENV = array()
$encoding = 'UTF-8'
$Dispatcher = object(Dispatcher) {
[protected] _eventManager => object(CakeEventManager) {}
}
$_SESSION = array(
'Config' => array(
'userAgent' => '8fe375d9271dc90b24ea7a8e518c8308',
'time' => (int) 1701649396,
'countdown' => (int) 10
)
) session_write_close - [internal], line ??
[main] - [internal], line ?? Warning (2) : Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5) [Unknown , line 0 ]Code Context $_GET = array(
'/page/vivo-play-room' => ''
)
$_POST = array()
$_COOKIE = array()
$_FILES = array()
$_SERVER = array(
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_STATUS' => '200',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_IF_MODIFIED_SINCE' => 'Sat, 03 Jun 2023 01:07:44 GMT',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_HOST' => 'skyexperienceadventure.com',
'HTTP_CONNECTION' => 'Keep-Alive',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.2.22 (Ubuntu) Server at skyexperienceadventure.com Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.2.22 (Ubuntu)',
'SERVER_NAME' => 'skyexperienceadventure.com',
'SERVER_ADDR' => '198.211.114.200',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '34.228.52.21',
'DOCUMENT_ROOT' => '/var/www/sky',
'SERVER_ADMIN' => 'webmaster@localhost',
'SCRIPT_FILENAME' => '/var/www/sky/app/webroot/index.php',
'REMOTE_PORT' => '37488',
'REDIRECT_QUERY_STRING' => '/page/vivo-play-room',
'REDIRECT_URL' => '/app/webroot/page/vivo-play-room',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '/page/vivo-play-room',
'REQUEST_URI' => '/page/vivo-play-room',
'SCRIPT_NAME' => '/app/webroot/index.php',
'PHP_SELF' => '/app/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1701634996.004,
'REQUEST_TIME' => (int) 1701634996
)
$_ENV = array()
$encoding = 'UTF-8'
$Dispatcher = object(Dispatcher) {
[protected] _eventManager => object(CakeEventManager) {}
}
$_SESSION = array(
'Config' => array(
'userAgent' => '8fe375d9271dc90b24ea7a8e518c8308',
'time' => (int) 1701649396,
'countdown' => (int) 10
)
) session_write_close - [internal], line ??
[main] - [internal], line ??