Warning (2): PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known [CORE/Cake/Model/Datasource/Database/Mysql.php, line 184]
Polina <pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5c3f8e0f86aa0-trace').style.display = (document.getElementById('cakeErr5c3f8e0f86aa0-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined variable: titulo [<b>APP/View/Elements/header.ctp</b>, line <b>8</b>]<div id="cakeErr5c3f8e0f86aa0-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr5c3f8e0f86aa0-code').style.display = (document.getElementById('cakeErr5c3f8e0f86aa0-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr5c3f8e0f86aa0-context').style.display = (document.getElementById('cakeErr5c3f8e0f86aa0-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr5c3f8e0f86aa0-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB">    </span><span style="color: #007700"><</span><span style="color: #0000BB">meta name</span><span style="color: #007700">=</span><span style="color: #DD0000">"mobile-web-app-capable" </span><span style="color: #0000BB">content</span><span style="color: #007700">=</span><span style="color: #DD0000">"yes"</span><span style="color: #007700">></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">    </span><span style="color: #007700"><</span><span style="color: #0000BB">meta name</span><span style="color: #007700">=</span><span style="color: #DD0000">"viewport" </span><span style="color: #0000BB">content</span><span style="color: #007700">=</span><span style="color: #DD0000">"width=device-width, initial-scale=1.0, user-scalable=no"</span><span style="color: #007700">/></span></span></code> <span class="code-highlight"><code><span style="color: #000000">    <title>Polina <span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #0000BB">$titulo ?></span></title></span></code></span></pre><pre id="cakeErr5c3f8e0f86aa0-context" class="cake-context" style="display: none;">$viewFile = '/var/www/html/polinaalimentos.com.br/web/app/View/Elements/header.ctp' $dataForView = array( 'debugToolbarPanels' => array( 'history' => array( 'content' => array( [maximum depth reached] ), 'elementName' => 'history_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'session' => array( 'content' => null, 'elementName' => 'session_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'request' => array( 'content' => array( [maximum depth reached] ), 'elementName' => 'request_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'sql_log' => array( 'content' => array( [maximum depth reached] ), 'elementName' => 'sql_log_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'timer' => array( 'content' => null, 'elementName' => 'timer_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'log' => array( 'content' => object(DebugKitLog) {}, 'elementName' => 'log_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'variables' => array( 'content' => array( [maximum depth reached] ), 'elementName' => 'variables_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'environment' => array( 'content' => array( [maximum depth reached] ), 'elementName' => 'environment_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'include' => array( 'content' => array( [maximum depth reached] ), 'elementName' => 'include_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ) ), 'debugToolbarJavascript' => array( 'libs' => 'DebugKit./js/js_debug_toolbar' ), 'debugToolbarCss' => array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ), 'class' => 'Mysql', 'message' => 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known', 'enabled' => true, 'code' => (int) 500, 'name' => 'Database connection &quot;Mysql&quot; is missing, or could not be created.', 'url' => '/var/www/html/polinaalimentos.com.br/web/produto/99', '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/html/polinaalimentos.com.br/web/lib/Cake/Model/Datasource/Database/Mysql.php' [protected] line => (int) 192 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'name', (int) 2 => 'message', (int) 3 => 'url' ), 'referer' => '/', 'informacoes' => array( 'InformationTmp' => array( 'id' => '1', 'telefone' => '(45) 3324-0101', 'email' => 'contato@polinaalimentos.com.br', 'endereco' => 'Av. Dr. Azuel Portes, 17.489 Marginal BR-277 - KM 591 Bairro Santa Felicidade Cascavel/PR', 'facebook' => 'https://www.facebook.com/Polina-Alimentos-309278889526703/', 'instagram' => '#', 'youtube' => '#', 'snapchat' => '#', 'latitude' => '-24.955607', 'longitude' => '-53.458542', 'twitter' => 'http://polinaalimentos.com.br/upload/catalogo/catalogo-polina.pdf', 'favicon' => 'favicon.png', 'analytics' => null, 'mapa' => 'https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3616.4359829879445!2d-53.467855484994686!3d-24.985297283995127!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x94f3d432a51a6087%3A0x7cd20b2855d5983a!2sPolina+Comercial+De+Alimentos+Ltda!5e0!3m2!1spt-BR!2sbr!4v1496952702602', 'descricao' => 'Fundada em 1983, pela Família Polina, no oeste do Paraná, a Polina Alimentos é referência na distribuição de alimentos congelados, como: sorvetes, pães, vegetais e carnes. As câmaras frigoríficas têm moderno sistema de refrigeração com monitoramento computadorizado, para garantir a qualidade dos alimentos armazenados. ', 'created' => null, 'modified' => '2017-12-11 09:16:03' ) ), '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] php_network_getaddresses: getaddrinfo failed: Name or service not known</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 260</a> &rarr; <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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">$autoConnect</span><span style="color: #007700">)&nbsp;{</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">connect</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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 105</a> &rarr; <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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'message'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'Datasource&nbsp;is&nbsp;not&nbsp;found&nbsp;in&nbsp;Model/Datasource&nbsp;package.'</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">static::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">]&nbsp;=&nbsp;new&nbsp;</span><span style="color: #0000BB">$class</span><span style="color: #007700">(static::</span><span style="color: #0000BB">$config</span><span style="color: #007700">-&gt;{</span><span style="color: #0000BB">$name</span><span style="color: #007700">});</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">static::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">]-&gt;</span><span style="color: #0000BB">configKeyName&nbsp;</span><span style="color: #007700">=&nbsp;</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( &#039;password&#039; =&gt; &#039;*****&#039;, &#039;login&#039; =&gt; &#039;*****&#039;, &#039;host&#039; =&gt; &#039;*****&#039;, &#039;database&#039; =&gt; &#039;*****&#039;, &#039;prefix&#039; =&gt; &#039;*****&#039;, &#039;datasource&#039; =&gt; &#039;Database/Mysql&#039;, &#039;persistent&#039; =&gt; false, &#039;encoding&#039; =&gt; &#039;utf8&#039; )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 3626</a> &rarr; <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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">useDbConfig&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$dataSource</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$db&nbsp;</span><span style="color: #007700">=&nbsp;</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">-&gt;</span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(!empty(</span><span style="color: #0000BB">$oldConfig</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;isset(</span><span style="color: #0000BB">$db</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">config</span><span style="color: #007700">[</span><span style="color: #DD0000">'prefix'</span><span style="color: #007700">]))&nbsp;{</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>&#039;default&#039;</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1155</a> &rarr; <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">&nbsp;</span><span style="color: #007700">*&nbsp;@return&nbsp;</span><span style="color: #0000BB">void</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;</span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">public&nbsp;function&nbsp;</span><span style="color: #0000BB">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$tableName</span><span style="color: #007700">)&nbsp;{</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$db&nbsp;</span><span style="color: #007700">=&nbsp;</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">-&gt;</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>&#039;default&#039;</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 3653</a> &rarr; <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">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">public&nbsp;function&nbsp;</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()&nbsp;{</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(!</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">_sourceConfigured&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">useTable&nbsp;</span><span style="color: #007700">!==&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">)&nbsp;{</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">_sourceConfigured&nbsp;</span><span style="color: #007700">=&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">useTable</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>&#039;configs&#039;</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 3031</a> &rarr; <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">&nbsp;</span><span style="color: #007700">*&nbsp;@return&nbsp;array</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;</span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">protected&nbsp;function&nbsp;</span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$query</span><span style="color: #007700">)&nbsp;{</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$results&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-&gt;</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">resetAssociations</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')">CORE/Cake/Model/Model.php line 3003</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">return&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">return&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>&#039;first&#039; array( &#039;conditions&#039; =&gt; null, &#039;fields&#039; =&gt; null, &#039;joins&#039; =&gt; array(), &#039;limit&#039; =&gt; (int) 1, &#039;offset&#039; =&gt; null, &#039;order&#039; =&gt; array( (int) 0 =&gt; null ), &#039;page&#039; =&gt; (int) 1, &#039;group&#039; =&gt; null, &#039;callbacks&#039; =&gt; true )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Controller/AppController.php line 34</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-7')">Model->find(string)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$InformationTmp&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'class'</span><span style="color: #007700">=&gt;</span><span style="color: #DD0000">'Config'</span><span style="color: #007700">,</span><span style="color: #DD0000">'alias'</span><span style="color: #007700">=&gt;</span><span style="color: #DD0000">'InformationTmp'</span><span style="color: #007700">));</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$informacoes&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$InformationTmp</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'first'</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>&#039;first&#039;</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/PagesController.php line 7</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-8')">AppController->beforeFilter()</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></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">public&nbsp;function&nbsp;</span><span style="color: #0000BB">beforeFilter</span><span style="color: #007700">()&nbsp;{</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">Auth</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">allow</span><span style="color: #007700">(</span><span style="color: #DD0000">'index'</span><span style="color: #007700">,</span><span style="color: #DD0000">'institucional'</span><span style="color: #007700">,</span><span style="color: #DD0000">'produtos'</span><span style="color: #007700">,</span><span style="color: #DD0000">'produto'</span><span style="color: #007700">,</span><span style="color: #DD0000">'blog'</span><span style="color: #007700">,</span><span style="color: #DD0000">'blog_interna'</span><span style="color: #007700">,</span><span style="color: #DD0000">'contato'</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="#">[internal function]</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-9')">PagesController->beforeFilter(CakeEvent)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data =&gt; null result =&gt; null [protected] _name =&gt; &#039;Controller.initialize&#039; [protected] _subject =&gt; object(PagesController) { components =&gt; array( [maximum depth reached] ) name =&gt; &#039;Pages&#039; uses =&gt; array( [maximum depth reached] ) helpers =&gt; array([maximum depth reached]) request =&gt; object(CakeRequest) {} response =&gt; object(CakeResponse) {} viewPath =&gt; &#039;Pages&#039; layoutPath =&gt; null viewVars =&gt; array([maximum depth reached]) view =&gt; &#039;produto&#039; layout =&gt; &#039;default&#039; autoRender =&gt; true autoLayout =&gt; true Components =&gt; object(ComponentCollection) {} viewClass =&gt; &#039;View&#039; View =&gt; null ext =&gt; &#039;.ctp&#039; plugin =&gt; &#039;&#039; cacheAction =&gt; false passedArgs =&gt; array( [maximum depth reached] ) scaffold =&gt; false methods =&gt; array( [maximum depth reached] ) modelClass =&gt; &#039;Page&#039; modelKey =&gt; &#039;page&#039; validationErrors =&gt; null Session =&gt; object(SessionComponent) {} Cookie =&gt; object(CookieComponent) {} Toolbar =&gt; object(ToolbarComponent) {} MenuInfo =&gt; object(MenuInfoComponent) {} Auth =&gt; object(AuthComponent) {} [protected] _responseClass =&gt; &#039;CakeResponse&#039; [protected] _mergeParent =&gt; &#039;AppController&#039; [protected] _eventManager =&gt; object(CakeEventManager) {} } [protected] _stopped =&gt; false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Event/CakeEventManager.php line 243</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-10')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">]&nbsp;===&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">)&nbsp;{</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$result&nbsp;</span><span style="color: #007700">=&nbsp;</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">],&nbsp;</span><span style="color: #0000BB">$event</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}&nbsp;else&nbsp;{</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$result&nbsp;</span><span style="color: #007700">=&nbsp;</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">],&nbsp;</span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>array( (int) 0 =&gt; object(PagesController) { components =&gt; array( (int) 0 =&gt; &#039;Session&#039;, (int) 1 =&gt; &#039;Cookie&#039;, (int) 2 =&gt; &#039;DebugKit.Toolbar&#039;, (int) 3 =&gt; &#039;Users.MenuInfo&#039;, &#039;Auth&#039; =&gt; array( [maximum depth reached] ) ) name =&gt; &#039;Pages&#039; uses =&gt; array( (int) 0 =&gt; &#039;Page&#039; ) helpers =&gt; array() request =&gt; object(CakeRequest) {} response =&gt; object(CakeResponse) {} viewPath =&gt; &#039;Pages&#039; layoutPath =&gt; null viewVars =&gt; array() view =&gt; &#039;produto&#039; layout =&gt; &#039;default&#039; autoRender =&gt; true autoLayout =&gt; true Components =&gt; object(ComponentCollection) {} viewClass =&gt; &#039;View&#039; View =&gt; null ext =&gt; &#039;.ctp&#039; plugin =&gt; &#039;&#039; cacheAction =&gt; false passedArgs =&gt; array( (int) 0 =&gt; &#039;99&#039; ) scaffold =&gt; false methods =&gt; array( (int) 1 =&gt; &#039;index&#039;, (int) 2 =&gt; &#039;institucional&#039;, (int) 3 =&gt; &#039;blog&#039;, (int) 4 =&gt; &#039;blog_interna&#039;, (int) 5 =&gt; &#039;produtos&#039;, (int) 6 =&gt; &#039;produto&#039;, (int) 7 =&gt; &#039;contato&#039;, (int) 8 =&gt; &#039;save_email&#039;, (int) 10 =&gt; &#039;preparaUpload&#039;, (int) 11 =&gt; &#039;upload&#039;, (int) 12 =&gt; &#039;checa_dir&#039;, (int) 13 =&gt; &#039;arquivos&#039;, (int) 14 =&gt; &#039;deletar&#039;, (int) 15 =&gt; &#039;checa_nome&#039;, (int) 16 =&gt; &#039;trata_nome&#039;, (int) 17 =&gt; &#039;move_arquivos&#039; ) modelClass =&gt; &#039;Page&#039; modelKey =&gt; &#039;page&#039; validationErrors =&gt; null Session =&gt; object(SessionComponent) {} Cookie =&gt; object(CookieComponent) {} Toolbar =&gt; object(ToolbarComponent) {} MenuInfo =&gt; object(MenuInfoComponent) {} Auth =&gt; object(AuthComponent) {} [protected] _responseClass =&gt; &#039;CakeResponse&#039; [protected] _mergeParent =&gt; &#039;AppController&#039; [protected] _eventManager =&gt; object(CakeEventManager) {} }, (int) 1 =&gt; &#039;beforeFilter&#039; ) object(CakeEvent) { data =&gt; null result =&gt; null [protected] _name =&gt; &#039;Controller.initialize&#039; [protected] _subject =&gt; object(PagesController) { components =&gt; array( [maximum depth reached] ) name =&gt; &#039;Pages&#039; uses =&gt; array( [maximum depth reached] ) helpers =&gt; array([maximum depth reached]) request =&gt; object(CakeRequest) {} response =&gt; object(CakeResponse) {} viewPath =&gt; &#039;Pages&#039; layoutPath =&gt; null viewVars =&gt; array([maximum depth reached]) view =&gt; &#039;produto&#039; layout =&gt; &#039;default&#039; autoRender =&gt; true autoLayout =&gt; true Components =&gt; object(ComponentCollection) {} viewClass =&gt; &#039;View&#039; View =&gt; null ext =&gt; &#039;.ctp&#039; plugin =&gt; &#039;&#039; cacheAction =&gt; false passedArgs =&gt; array( [maximum depth reached] ) scaffold =&gt; false methods =&gt; array( [maximum depth reached] ) modelClass =&gt; &#039;Page&#039; modelKey =&gt; &#039;page&#039; validationErrors =&gt; null Session =&gt; object(SessionComponent) {} Cookie =&gt; object(CookieComponent) {} Toolbar =&gt; object(ToolbarComponent) {} MenuInfo =&gt; object(MenuInfoComponent) {} Auth =&gt; object(AuthComponent) {} [protected] _responseClass =&gt; &#039;CakeResponse&#039; [protected] _mergeParent =&gt; &#039;AppController&#039; [protected] _eventManager =&gt; object(CakeEventManager) {} } [protected] _stopped =&gt; false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Controller/Controller.php line 676</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-11')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;</span><span style="color: #007700">*&nbsp;@</span><span style="color: #0000BB">triggers&nbsp;Controller</span><span style="color: #007700">.</span><span style="color: #0000BB">startup&nbsp;$this</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;</span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">public&nbsp;function&nbsp;</span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">()&nbsp;{</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-&gt;</span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new&nbsp;</span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-&gt;</span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new&nbsp;</span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data =&gt; null result =&gt; null [protected] _name =&gt; &#039;Controller.initialize&#039; [protected] _subject =&gt; object(PagesController) { components =&gt; array( [maximum depth reached] ) name =&gt; &#039;Pages&#039; uses =&gt; array( [maximum depth reached] ) helpers =&gt; array([maximum depth reached]) request =&gt; object(CakeRequest) {} response =&gt; object(CakeResponse) {} viewPath =&gt; &#039;Pages&#039; layoutPath =&gt; null viewVars =&gt; array([maximum depth reached]) view =&gt; &#039;produto&#039; layout =&gt; &#039;default&#039; autoRender =&gt; true autoLayout =&gt; true Components =&gt; object(ComponentCollection) {} viewClass =&gt; &#039;View&#039; View =&gt; null ext =&gt; &#039;.ctp&#039; plugin =&gt; &#039;&#039; cacheAction =&gt; false passedArgs =&gt; array( [maximum depth reached] ) scaffold =&gt; false methods =&gt; array( [maximum depth reached] ) modelClass =&gt; &#039;Page&#039; modelKey =&gt; &#039;page&#039; validationErrors =&gt; null Session =&gt; object(SessionComponent) {} Cookie =&gt; object(CookieComponent) {} Toolbar =&gt; object(ToolbarComponent) {} MenuInfo =&gt; object(MenuInfoComponent) {} Auth =&gt; object(AuthComponent) {} [protected] _responseClass =&gt; &#039;CakeResponse&#039; [protected] _mergeParent =&gt; &#039;AppController&#039; [protected] _eventManager =&gt; object(CakeEventManager) {} } [protected] _stopped =&gt; false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Routing/Dispatcher.php line 189</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-12')">Controller->startupProcess()</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;</span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">protected&nbsp;function&nbsp;</span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller&nbsp;$controller</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">CakeRequest&nbsp;$request</span><span style="color: #007700">)&nbsp;{</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$controller</span><span style="color: #007700">-&gt;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$controller</span><span style="color: #007700">-&gt;</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-12" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">CORE/Cake/Routing/Dispatcher.php line 167</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-13')">Dispatcher->_invoke(PagesController, CakeRequest)</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$response&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">]))&nbsp;{</span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { components =&gt; array( (int) 0 =&gt; &#039;Session&#039;, (int) 1 =&gt; &#039;Cookie&#039;, (int) 2 =&gt; &#039;DebugKit.Toolbar&#039;, (int) 3 =&gt; &#039;Users.MenuInfo&#039;, &#039;Auth&#039; =&gt; array( &#039;loginAction&#039; =&gt; array( [maximum depth reached] ), &#039;loginRedirect&#039; =&gt; array( [maximum depth reached] ), &#039;autoRedirect&#039; =&gt; true, &#039;authError&#039; =&gt; &#039;Você deve fazer login para ter acesso a essa área!&#039;, &#039;loginError&#039; =&gt; &#039;Combinação de usuário e senha errada!&#039; ) ) name =&gt; &#039;Pages&#039; uses =&gt; array( (int) 0 =&gt; &#039;Page&#039; ) helpers =&gt; array() request =&gt; object(CakeRequest) { params =&gt; array( [maximum depth reached] ) data =&gt; array([maximum depth reached]) query =&gt; array([maximum depth reached]) url =&gt; &#039;produto/99&#039; base =&gt; &#039;/var/www/html/polinaalimentos.com.br/web&#039; webroot =&gt; &#039;/var/www/html/polinaalimentos.com.br/web/&#039; here =&gt; &#039;/var/www/html/polinaalimentos.com.br/web/produto/99&#039; [protected] _detectors =&gt; array( [maximum depth reached] ) [protected] _input =&gt; &#039;&#039; } response =&gt; object(CakeResponse) { [protected] _statusCodes =&gt; array( [maximum depth reached] ) [protected] _mimeTypes =&gt; array( [maximum depth reached] ) [protected] _protocol =&gt; &#039;HTTP/1.1&#039; [protected] _status =&gt; (int) 200 [protected] _contentType =&gt; &#039;text/html&#039; [protected] _headers =&gt; array([maximum depth reached]) [protected] _body =&gt; null [protected] _file =&gt; null [protected] _fileRange =&gt; null [protected] _charset =&gt; &#039;UTF-8&#039; [protected] _cacheDirectives =&gt; array([maximum depth reached]) [protected] _cookies =&gt; array([maximum depth reached]) } viewPath =&gt; &#039;Pages&#039; layoutPath =&gt; null viewVars =&gt; array() view =&gt; &#039;produto&#039; layout =&gt; &#039;default&#039; autoRender =&gt; true autoLayout =&gt; true Components =&gt; object(ComponentCollection) { defaultPriority =&gt; (int) 10 [protected] _Controller =&gt; object(PagesController) {} [protected] _enabled =&gt; array( [maximum depth reached] ) [protected] _loaded =&gt; array( [maximum depth reached] ) } viewClass =&gt; &#039;View&#039; View =&gt; null ext =&gt; &#039;.ctp&#039; plugin =&gt; &#039;&#039; cacheAction =&gt; false passedArgs =&gt; array( (int) 0 =&gt; &#039;99&#039; ) scaffold =&gt; false methods =&gt; array( (int) 1 =&gt; &#039;index&#039;, (int) 2 =&gt; &#039;institucional&#039;, (int) 3 =&gt; &#039;blog&#039;, (int) 4 =&gt; &#039;blog_interna&#039;, (int) 5 =&gt; &#039;produtos&#039;, (int) 6 =&gt; &#039;produto&#039;, (int) 7 =&gt; &#039;contato&#039;, (int) 8 =&gt; &#039;save_email&#039;, (int) 10 =&gt; &#039;preparaUpload&#039;, (int) 11 =&gt; &#039;upload&#039;, (int) 12 =&gt; &#039;checa_dir&#039;, (int) 13 =&gt; &#039;arquivos&#039;, (int) 14 =&gt; &#039;deletar&#039;, (int) 15 =&gt; &#039;checa_nome&#039;, (int) 16 =&gt; &#039;trata_nome&#039;, (int) 17 =&gt; &#039;move_arquivos&#039; ) modelClass =&gt; &#039;Page&#039; modelKey =&gt; &#039;page&#039; validationErrors =&gt; null Session =&gt; object(SessionComponent) { settings =&gt; array([maximum depth reached]) components =&gt; array([maximum depth reached]) [protected] _Collection =&gt; object(ComponentCollection) {} [protected] _componentMap =&gt; array([maximum depth reached]) } Cookie =&gt; object(CookieComponent) { name =&gt; &#039;CakeCookie&#039; time =&gt; null path =&gt; &#039;/&#039; domain =&gt; &#039;&#039; secure =&gt; false key =&gt; &#039;caionorder&#039; httpOnly =&gt; false settings =&gt; array([maximum depth reached]) components =&gt; array([maximum depth reached]) [protected] _values =&gt; array([maximum depth reached]) [protected] _type =&gt; &#039;cipher&#039; [protected] _reset =&gt; null [protected] _expires =&gt; (int) 0 [protected] _response =&gt; object(CakeResponse) {} [protected] _Collection =&gt; object(ComponentCollection) {} [protected] _componentMap =&gt; array([maximum depth reached]) } Toolbar =&gt; object(ToolbarComponent) { settings =&gt; array( [maximum depth reached] ) controller =&gt; object(PagesController) {} components =&gt; array( [maximum depth reached] ) panels =&gt; array( [maximum depth reached] ) javascript =&gt; array( [maximum depth reached] ) css =&gt; array( [maximum depth reached] ) cacheKey =&gt; &#039;toolbar_cache&#039; cacheDuration =&gt; &#039;+4 hours&#039; enabled =&gt; true Session =&gt; object(SessionComponent) {} [protected] _defaultPanels =&gt; array( [maximum depth reached] ) [protected] _Collection =&gt; object(ComponentCollection) {} [protected] _componentMap =&gt; array( [maximum depth reached] ) } MenuInfo =&gt; object(MenuInfoComponent) { settings =&gt; array([maximum depth reached]) components =&gt; array([maximum depth reached]) [protected] _Collection =&gt; object(ComponentCollection) {} [protected] _componentMap =&gt; array([maximum depth reached]) } Auth =&gt; object(AuthComponent) { components =&gt; array( [maximum depth reached] ) authenticate =&gt; array( [maximum depth reached] ) authorize =&gt; false ajaxLogin =&gt; null flash =&gt; array( [maximum depth reached] ) loginAction =&gt; array( [maximum depth reached] ) loginRedirect =&gt; array( [maximum depth reached] ) logoutRedirect =&gt; null authError =&gt; &#039;Você deve fazer login para ter acesso a essa área!&#039; unauthorizedRedirect =&gt; true allowedActions =&gt; array( [maximum depth reached] ) request =&gt; object(CakeRequest) {} response =&gt; object(CakeResponse) {} settings =&gt; array( [maximum depth reached] ) [protected] _authenticateObjects =&gt; array([maximum depth reached]) [protected] _authorizeObjects =&gt; array([maximum depth reached]) [protected] _user =&gt; array([maximum depth reached]) [protected] _methods =&gt; array( [maximum depth reached] ) [protected] _Collection =&gt; object(ComponentCollection) {} [protected] _componentMap =&gt; array( [maximum depth reached] ) } [protected] _responseClass =&gt; &#039;CakeResponse&#039; [protected] _mergeParent =&gt; &#039;AppController&#039; [protected] _eventManager =&gt; object(CakeEventManager) { [protected] _generalManager =&gt; object(CakeEventManager) {} [protected] _listeners =&gt; array( [maximum depth reached] ) [protected] _isGlobal =&gt; false } } object(CakeRequest) { params =&gt; array( &#039;plugin&#039; =&gt; false, &#039;controller&#039; =&gt; &#039;pages&#039;, &#039;action&#039; =&gt; &#039;produto&#039;, &#039;named&#039; =&gt; array(), &#039;pass&#039; =&gt; array( (int) 0 =&gt; &#039;99&#039; ), &#039;models&#039; =&gt; array( &#039;InformationTmp&#039; =&gt; array( [maximum depth reached] ) ) ) data =&gt; array() query =&gt; array() url =&gt; &#039;produto/99&#039; base =&gt; &#039;/var/www/html/polinaalimentos.com.br/web&#039; webroot =&gt; &#039;/var/www/html/polinaalimentos.com.br/web/&#039; here =&gt; &#039;/var/www/html/polinaalimentos.com.br/web/produto/99&#039; [protected] _detectors =&gt; array( &#039;get&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;GET&#039; ), &#039;post&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;POST&#039; ), &#039;put&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;PUT&#039; ), &#039;delete&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;DELETE&#039; ), &#039;head&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;HEAD&#039; ), &#039;options&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;OPTIONS&#039; ), &#039;ssl&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTPS&#039;, &#039;value&#039; =&gt; (int) 1 ), &#039;ajax&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTP_X_REQUESTED_WITH&#039;, &#039;value&#039; =&gt; &#039;XMLHttpRequest&#039; ), &#039;flash&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTP_USER_AGENT&#039;, &#039;pattern&#039; =&gt; &#039;/^(Shockwave|Adobe) Flash/&#039; ), &#039;mobile&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTP_USER_AGENT&#039;, &#039;options&#039; =&gt; array( [maximum depth reached] ) ), &#039;requested&#039; =&gt; array( &#039;param&#039; =&gt; &#039;requested&#039;, &#039;value&#039; =&gt; (int) 1 ), &#039;json&#039; =&gt; array( &#039;accept&#039; =&gt; array( [maximum depth reached] ), &#039;param&#039; =&gt; &#039;ext&#039;, &#039;value&#039; =&gt; &#039;json&#039; ), &#039;xml&#039; =&gt; array( &#039;accept&#039; =&gt; array( [maximum depth reached] ), &#039;param&#039; =&gt; &#039;ext&#039;, &#039;value&#039; =&gt; &#039;xml&#039; ) ) [protected] _input =&gt; &#039;&#039; }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/webroot/index.php line 118</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-14')">Dispatcher->dispatch(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">$Dispatcher</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params =&gt; array( &#039;plugin&#039; =&gt; false, &#039;controller&#039; =&gt; &#039;pages&#039;, &#039;action&#039; =&gt; &#039;produto&#039;, &#039;named&#039; =&gt; array(), &#039;pass&#039; =&gt; array( (int) 0 =&gt; &#039;99&#039; ), &#039;models&#039; =&gt; array( &#039;InformationTmp&#039; =&gt; array( [maximum depth reached] ) ) ) data =&gt; array() query =&gt; array() url =&gt; &#039;produto/99&#039; base =&gt; &#039;/var/www/html/polinaalimentos.com.br/web&#039; webroot =&gt; &#039;/var/www/html/polinaalimentos.com.br/web/&#039; here =&gt; &#039;/var/www/html/polinaalimentos.com.br/web/produto/99&#039; [protected] _detectors =&gt; array( &#039;get&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;GET&#039; ), &#039;post&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;POST&#039; ), &#039;put&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;PUT&#039; ), &#039;delete&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;DELETE&#039; ), &#039;head&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;HEAD&#039; ), &#039;options&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;OPTIONS&#039; ), &#039;ssl&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTPS&#039;, &#039;value&#039; =&gt; (int) 1 ), &#039;ajax&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTP_X_REQUESTED_WITH&#039;, &#039;value&#039; =&gt; &#039;XMLHttpRequest&#039; ), &#039;flash&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTP_USER_AGENT&#039;, &#039;pattern&#039; =&gt; &#039;/^(Shockwave|Adobe) Flash/&#039; ), &#039;mobile&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTP_USER_AGENT&#039;, &#039;options&#039; =&gt; array( [maximum depth reached] ) ), &#039;requested&#039; =&gt; array( &#039;param&#039; =&gt; &#039;requested&#039;, &#039;value&#039; =&gt; (int) 1 ), &#039;json&#039; =&gt; array( &#039;accept&#039; =&gt; array( [maximum depth reached] ), &#039;param&#039; =&gt; &#039;ext&#039;, &#039;value&#039; =&gt; &#039;json&#039; ), &#039;xml&#039; =&gt; array( &#039;accept&#039; =&gt; array( [maximum depth reached] ), &#039;param&#039; =&gt; &#039;ext&#039;, &#039;value&#039; =&gt; &#039;xml&#039; ) ) [protected] _input =&gt; &#039;&#039; } object(CakeResponse) { [protected] _statusCodes =&gt; array( (int) 100 =&gt; &#039;Continue&#039;, (int) 101 =&gt; &#039;Switching Protocols&#039;, (int) 200 =&gt; &#039;OK&#039;, (int) 201 =&gt; &#039;Created&#039;, (int) 202 =&gt; &#039;Accepted&#039;, (int) 203 =&gt; &#039;Non-Authoritative Information&#039;, (int) 204 =&gt; &#039;No Content&#039;, (int) 205 =&gt; &#039;Reset Content&#039;, (int) 206 =&gt; &#039;Partial Content&#039;, (int) 300 =&gt; &#039;Multiple Choices&#039;, (int) 301 =&gt; &#039;Moved Permanently&#039;, (int) 302 =&gt; &#039;Found&#039;, (int) 303 =&gt; &#039;See Other&#039;, (int) 304 =&gt; &#039;Not Modified&#039;, (int) 305 =&gt; &#039;Use Proxy&#039;, (int) 307 =&gt; &#039;Temporary Redirect&#039;, (int) 400 =&gt; &#039;Bad Request&#039;, (int) 401 =&gt; &#039;Unauthorized&#039;, (int) 402 =&gt; &#039;Payment Required&#039;, (int) 403 =&gt; &#039;Forbidden&#039;, (int) 404 =&gt; &#039;Not Found&#039;, (int) 405 =&gt; &#039;Method Not Allowed&#039;, (int) 406 =&gt; &#039;Not Acceptable&#039;, (int) 407 =&gt; &#039;Proxy Authentication Required&#039;, (int) 408 =&gt; &#039;Request Time-out&#039;, (int) 409 =&gt; &#039;Conflict&#039;, (int) 410 =&gt; &#039;Gone&#039;, (int) 411 =&gt; &#039;Length Required&#039;, (int) 412 =&gt; &#039;Precondition Failed&#039;, (int) 413 =&gt; &#039;Request Entity Too Large&#039;, (int) 414 =&gt; &#039;Request-URI Too Large&#039;, (int) 415 =&gt; &#039;Unsupported Media Type&#039;, (int) 416 =&gt; &#039;Requested range not satisfiable&#039;, (int) 417 =&gt; &#039;Expectation Failed&#039;, (int) 429 =&gt; &#039;Too Many Requests&#039;, (int) 500 =&gt; &#039;Internal Server Error&#039;, (int) 501 =&gt; &#039;Not Implemented&#039;, (int) 502 =&gt; &#039;Bad Gateway&#039;, (int) 503 =&gt; &#039;Service Unavailable&#039;, (int) 504 =&gt; &#039;Gateway Time-out&#039;, (int) 505 =&gt; &#039;Unsupported Version&#039; ) [protected] _mimeTypes =&gt; array( &#039;html&#039; =&gt; array( (int) 0 =&gt; &#039;text/html&#039;, (int) 1 =&gt; &#039;*/*&#039; ), &#039;json&#039; =&gt; &#039;application/json&#039;, &#039;xml&#039; =&gt; array( (int) 0 =&gt; &#039;application/xml&#039;, (int) 1 =&gt; &#039;text/xml&#039; ), &#039;rss&#039; =&gt; &#039;application/rss+xml&#039;, &#039;ai&#039; =&gt; &#039;application/postscript&#039;, &#039;bcpio&#039; =&gt; &#039;application/x-bcpio&#039;, &#039;bin&#039; =&gt; &#039;application/octet-stream&#039;, &#039;ccad&#039; =&gt; &#039;application/clariscad&#039;, &#039;cdf&#039; =&gt; &#039;application/x-netcdf&#039;, &#039;class&#039; =&gt; &#039;application/octet-stream&#039;, &#039;cpio&#039; =&gt; &#039;application/x-cpio&#039;, &#039;cpt&#039; =&gt; &#039;application/mac-compactpro&#039;, &#039;csh&#039; =&gt; &#039;application/x-csh&#039;, &#039;csv&#039; =&gt; array( (int) 0 =&gt; &#039;text/csv&#039;, (int) 1 =&gt; &#039;application/vnd.ms-excel&#039; ), &#039;dcr&#039; =&gt; &#039;application/x-director&#039;, &#039;dir&#039; =&gt; &#039;application/x-director&#039;, &#039;dms&#039; =&gt; &#039;application/octet-stream&#039;, &#039;doc&#039; =&gt; &#039;application/msword&#039;, &#039;docx&#039; =&gt; &#039;application/vnd.openxmlformats-officedocument.wordprocessingml.document&#039;, &#039;drw&#039; =&gt; &#039;application/drafting&#039;, &#039;dvi&#039; =&gt; &#039;application/x-dvi&#039;, &#039;dwg&#039; =&gt; &#039;application/acad&#039;, &#039;dxf&#039; =&gt; &#039;application/dxf&#039;, &#039;dxr&#039; =&gt; &#039;application/x-director&#039;, &#039;eot&#039; =&gt; &#039;application/vnd.ms-fontobject&#039;, &#039;eps&#039; =&gt; &#039;application/postscript&#039;, &#039;exe&#039; =&gt; &#039;application/octet-stream&#039;, &#039;ez&#039; =&gt; &#039;application/andrew-inset&#039;, &#039;flv&#039; =&gt; &#039;video/x-flv&#039;, &#039;gtar&#039; =&gt; &#039;application/x-gtar&#039;, &#039;gz&#039; =&gt; &#039;application/x-gzip&#039;, &#039;bz2&#039; =&gt; &#039;application/x-bzip&#039;, &#039;7z&#039; =&gt; &#039;application/x-7z-compressed&#039;, &#039;hdf&#039; =&gt; &#039;application/x-hdf&#039;, &#039;hqx&#039; =&gt; &#039;application/mac-binhex40&#039;, &#039;ico&#039; =&gt; &#039;image/x-icon&#039;, &#039;ips&#039; =&gt; &#039;application/x-ipscript&#039;, &#039;ipx&#039; =&gt; &#039;application/x-ipix&#039;, &#039;js&#039; =&gt; &#039;application/javascript&#039;, &#039;latex&#039; =&gt; &#039;application/x-latex&#039;, &#039;lha&#039; =&gt; &#039;application/octet-stream&#039;, &#039;lsp&#039; =&gt; &#039;application/x-lisp&#039;, &#039;lzh&#039; =&gt; &#039;application/octet-stream&#039;, &#039;man&#039; =&gt; &#039;application/x-troff-man&#039;, &#039;me&#039; =&gt; &#039;application/x-troff-me&#039;, &#039;mif&#039; =&gt; &#039;application/vnd.mif&#039;, &#039;ms&#039; =&gt; &#039;application/x-troff-ms&#039;, &#039;nc&#039; =&gt; &#039;application/x-netcdf&#039;, &#039;oda&#039; =&gt; &#039;application/oda&#039;, &#039;otf&#039; =&gt; &#039;font/otf&#039;, &#039;pdf&#039; =&gt; &#039;application/pdf&#039;, &#039;pgn&#039; =&gt; &#039;application/x-chess-pgn&#039;, &#039;pot&#039; =&gt; &#039;application/vnd.ms-powerpoint&#039;, &#039;pps&#039; =&gt; &#039;application/vnd.ms-powerpoint&#039;, &#039;ppt&#039; =&gt; &#039;application/vnd.ms-powerpoint&#039;, &#039;pptx&#039; =&gt; &#039;application/vnd.openxmlformats-officedocument.presentationml.presentation&#039;, &#039;ppz&#039; =&gt; &#039;application/vnd.ms-powerpoint&#039;, &#039;pre&#039; =&gt; &#039;application/x-freelance&#039;, &#039;prt&#039; =&gt; &#039;application/pro_eng&#039;, &#039;ps&#039; =&gt; &#039;application/postscript&#039;, &#039;roff&#039; =&gt; &#039;application/x-troff&#039;, &#039;scm&#039; =&gt; &#039;application/x-lotusscreencam&#039;, &#039;set&#039; =&gt; &#039;application/set&#039;, &#039;sh&#039; =&gt; &#039;application/x-sh&#039;, &#039;shar&#039; =&gt; &#039;application/x-shar&#039;, &#039;sit&#039; =&gt; &#039;application/x-stuffit&#039;, &#039;skd&#039; =&gt; &#039;application/x-koan&#039;, &#039;skm&#039; =&gt; &#039;application/x-koan&#039;, &#039;skp&#039; =&gt; &#039;application/x-koan&#039;, &#039;skt&#039; =&gt; &#039;application/x-koan&#039;, &#039;smi&#039; =&gt; &#039;application/smil&#039;, &#039;smil&#039; =&gt; &#039;application/smil&#039;, &#039;sol&#039; =&gt; &#039;application/solids&#039;, &#039;spl&#039; =&gt; &#039;application/x-futuresplash&#039;, &#039;src&#039; =&gt; &#039;application/x-wais-source&#039;, &#039;step&#039; =&gt; &#039;application/STEP&#039;, &#039;stl&#039; =&gt; &#039;application/SLA&#039;, &#039;stp&#039; =&gt; &#039;application/STEP&#039;, &#039;sv4cpio&#039; =&gt; &#039;application/x-sv4cpio&#039;, &#039;sv4crc&#039; =&gt; &#039;application/x-sv4crc&#039;, &#039;svg&#039; =&gt; &#039;image/svg+xml&#039;, &#039;svgz&#039; =&gt; &#039;image/svg+xml&#039;, &#039;swf&#039; =&gt; &#039;application/x-shockwave-flash&#039;, &#039;t&#039; =&gt; &#039;application/x-troff&#039;, &#039;tar&#039; =&gt; &#039;application/x-tar&#039;, &#039;tcl&#039; =&gt; &#039;application/x-tcl&#039;, &#039;tex&#039; =&gt; &#039;application/x-tex&#039;, &#039;texi&#039; =&gt; &#039;application/x-texinfo&#039;, &#039;texinfo&#039; =&gt; &#039;application/x-texinfo&#039;, &#039;tr&#039; =&gt; &#039;application/x-troff&#039;, &#039;tsp&#039; =&gt; &#039;application/dsptype&#039;, &#039;ttc&#039; =&gt; &#039;font/ttf&#039;, &#039;ttf&#039; =&gt; &#039;font/ttf&#039;, &#039;unv&#039; =&gt; &#039;application/i-deas&#039;, &#039;ustar&#039; =&gt; &#039;application/x-ustar&#039;, &#039;vcd&#039; =&gt; &#039;application/x-cdlink&#039;, &#039;vda&#039; =&gt; &#039;application/vda&#039;, &#039;xlc&#039; =&gt; &#039;application/vnd.ms-excel&#039;, &#039;xll&#039; =&gt; &#039;application/vnd.ms-excel&#039;, &#039;xlm&#039; =&gt; &#039;application/vnd.ms-excel&#039;, &#039;xls&#039; =&gt; &#039;application/vnd.ms-excel&#039;, &#039;xlsx&#039; =&gt; &#039;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&#039;, &#039;xlw&#039; =&gt; &#039;application/vnd.ms-excel&#039;, &#039;zip&#039; =&gt; &#039;application/zip&#039;, &#039;aif&#039; =&gt; &#039;audio/x-aiff&#039;, &#039;aifc&#039; =&gt; &#039;audio/x-aiff&#039;, &#039;aiff&#039; =&gt; &#039;audio/x-aiff&#039;, &#039;au&#039; =&gt; &#039;audio/basic&#039;, &#039;kar&#039; =&gt; &#039;audio/midi&#039;, &#039;mid&#039; =&gt; &#039;audio/midi&#039;, &#039;midi&#039; =&gt; &#039;audio/midi&#039;, &#039;mp2&#039; =&gt; &#039;audio/mpeg&#039;, &#039;mp3&#039; =&gt; &#039;audio/mpeg&#039;, &#039;mpga&#039; =&gt; &#039;audio/mpeg&#039;, &#039;ogg&#039; =&gt; &#039;audio/ogg&#039;, &#039;oga&#039; =&gt; &#039;audio/ogg&#039;, &#039;spx&#039; =&gt; &#039;audio/ogg&#039;, &#039;ra&#039; =&gt; &#039;audio/x-realaudio&#039;, &#039;ram&#039; =&gt; &#039;audio/x-pn-realaudio&#039;, &#039;rm&#039; =&gt; &#039;audio/x-pn-realaudio&#039;, &#039;rpm&#039; =&gt; &#039;audio/x-pn-realaudio-plugin&#039;, &#039;snd&#039; =&gt; &#039;audio/basic&#039;, &#039;tsi&#039; =&gt; &#039;audio/TSP-audio&#039;, &#039;wav&#039; =&gt; &#039;audio/x-wav&#039;, &#039;aac&#039; =&gt; &#039;audio/aac&#039;, &#039;asc&#039; =&gt; &#039;text/plain&#039;, &#039;c&#039; =&gt; &#039;text/plain&#039;, &#039;cc&#039; =&gt; &#039;text/plain&#039;, &#039;css&#039; =&gt; &#039;text/css&#039;, &#039;etx&#039; =&gt; &#039;text/x-setext&#039;, &#039;f&#039; =&gt; &#039;text/plain&#039;, &#039;f90&#039; =&gt; &#039;text/plain&#039;, &#039;h&#039; =&gt; &#039;text/plain&#039;, &#039;hh&#039; =&gt; &#039;text/plain&#039;, &#039;htm&#039; =&gt; array( (int) 0 =&gt; &#039;text/html&#039;, (int) 1 =&gt; &#039;*/*&#039; ), &#039;ics&#039; =&gt; &#039;text/calendar&#039;, &#039;m&#039; =&gt; &#039;text/plain&#039;, &#039;rtf&#039; =&gt; &#039;text/rtf&#039;, &#039;rtx&#039; =&gt; &#039;text/richtext&#039;, &#039;sgm&#039; =&gt; &#039;text/sgml&#039;, &#039;sgml&#039; =&gt; &#039;text/sgml&#039;, &#039;tsv&#039; =&gt; &#039;text/tab-separated-values&#039;, &#039;tpl&#039; =&gt; &#039;text/template&#039;, &#039;txt&#039; =&gt; &#039;text/plain&#039;, &#039;text&#039; =&gt; &#039;text/plain&#039;, &#039;avi&#039; =&gt; &#039;video/x-msvideo&#039;, &#039;fli&#039; =&gt; &#039;video/x-fli&#039;, &#039;mov&#039; =&gt; &#039;video/quicktime&#039;, &#039;movie&#039; =&gt; &#039;video/x-sgi-movie&#039;, &#039;mpe&#039; =&gt; &#039;video/mpeg&#039;, &#039;mpeg&#039; =&gt; &#039;video/mpeg&#039;, &#039;mpg&#039; =&gt; &#039;video/mpeg&#039;, &#039;qt&#039; =&gt; &#039;video/quicktime&#039;, &#039;viv&#039; =&gt; &#039;video/vnd.vivo&#039;, &#039;vivo&#039; =&gt; &#039;video/vnd.vivo&#039;, &#039;ogv&#039; =&gt; &#039;video/ogg&#039;, &#039;webm&#039; =&gt; &#039;video/webm&#039;, &#039;mp4&#039; =&gt; &#039;video/mp4&#039;, &#039;m4v&#039; =&gt; &#039;video/mp4&#039;, &#039;f4v&#039; =&gt; &#039;video/mp4&#039;, &#039;f4p&#039; =&gt; &#039;video/mp4&#039;, &#039;m4a&#039; =&gt; &#039;audio/mp4&#039;, &#039;f4a&#039; =&gt; &#039;audio/mp4&#039;, &#039;f4b&#039; =&gt; &#039;audio/mp4&#039;, &#039;gif&#039; =&gt; &#039;image/gif&#039;, &#039;ief&#039; =&gt; &#039;image/ief&#039;, &#039;jpg&#039; =&gt; &#039;image/jpeg&#039;, &#039;jpeg&#039; =&gt; &#039;image/jpeg&#039;, &#039;jpe&#039; =&gt; &#039;image/jpeg&#039;, &#039;pbm&#039; =&gt; &#039;image/x-portable-bitmap&#039;, &#039;pgm&#039; =&gt; &#039;image/x-portable-graymap&#039;, &#039;png&#039; =&gt; &#039;image/png&#039;, &#039;pnm&#039; =&gt; &#039;image/x-portable-anymap&#039;, &#039;ppm&#039; =&gt; &#039;image/x-portable-pixmap&#039;, &#039;ras&#039; =&gt; &#039;image/cmu-raster&#039;, &#039;rgb&#039; =&gt; &#039;image/x-rgb&#039;, &#039;tif&#039; =&gt; &#039;image/tiff&#039;, &#039;tiff&#039; =&gt; &#039;image/tiff&#039;, &#039;xbm&#039; =&gt; &#039;image/x-xbitmap&#039;, &#039;xpm&#039; =&gt; &#039;image/x-xpixmap&#039;, &#039;xwd&#039; =&gt; &#039;image/x-xwindowdump&#039;, &#039;ice&#039; =&gt; &#039;x-conference/x-cooltalk&#039;, &#039;iges&#039; =&gt; &#039;model/iges&#039;, &#039;igs&#039; =&gt; &#039;model/iges&#039;, &#039;mesh&#039; =&gt; &#039;model/mesh&#039;, &#039;msh&#039; =&gt; &#039;model/mesh&#039;, &#039;silo&#039; =&gt; &#039;model/mesh&#039;, &#039;vrml&#039; =&gt; &#039;model/vrml&#039;, &#039;wrl&#039; =&gt; &#039;model/vrml&#039;, &#039;mime&#039; =&gt; &#039;www/mime&#039;, &#039;pdb&#039; =&gt; &#039;chemical/x-pdb&#039;, &#039;xyz&#039; =&gt; &#039;chemical/x-pdb&#039;, &#039;javascript&#039; =&gt; &#039;application/javascript&#039;, &#039;form&#039; =&gt; &#039;application/x-www-form-urlencoded&#039;, &#039;file&#039; =&gt; &#039;multipart/form-data&#039;, &#039;xhtml&#039; =&gt; array( (int) 0 =&gt; &#039;application/xhtml+xml&#039;, (int) 1 =&gt; &#039;application/xhtml&#039;, (int) 2 =&gt; &#039;text/xhtml&#039; ), &#039;xhtml-mobile&#039; =&gt; &#039;application/vnd.wap.xhtml+xml&#039;, &#039;atom&#039; =&gt; &#039;application/atom+xml&#039;, &#039;amf&#039; =&gt; &#039;application/x-amf&#039;, &#039;wap&#039; =&gt; array( (int) 0 =&gt; &#039;text/vnd.wap.wml&#039;, (int) 1 =&gt; &#039;text/vnd.wap.wmlscript&#039;, (int) 2 =&gt; &#039;image/vnd.wap.wbmp&#039; ), &#039;wml&#039; =&gt; &#039;text/vnd.wap.wml&#039;, &#039;wmlscript&#039; =&gt; &#039;text/vnd.wap.wmlscript&#039;, &#039;wbmp&#039; =&gt; &#039;image/vnd.wap.wbmp&#039;, &#039;woff&#039; =&gt; &#039;application/x-font-woff&#039;, &#039;webp&#039; =&gt; &#039;image/webp&#039;, &#039;appcache&#039; =&gt; &#039;text/cache-manifest&#039;, &#039;manifest&#039; =&gt; &#039;text/cache-manifest&#039;, &#039;htc&#039; =&gt; &#039;text/x-component&#039;, &#039;rdf&#039; =&gt; &#039;application/xml&#039;, &#039;crx&#039; =&gt; &#039;application/x-chrome-extension&#039;, &#039;oex&#039; =&gt; &#039;application/x-opera-extension&#039;, &#039;xpi&#039; =&gt; &#039;application/x-xpinstall&#039;, &#039;safariextz&#039; =&gt; &#039;application/octet-stream&#039;, &#039;webapp&#039; =&gt; &#039;application/x-web-app-manifest+json&#039;, &#039;vcf&#039; =&gt; &#039;text/x-vcard&#039;, &#039;vtt&#039; =&gt; &#039;text/vtt&#039;, &#039;mkv&#039; =&gt; &#039;video/x-matroska&#039;, &#039;pkpass&#039; =&gt; &#039;application/vnd.apple.pkpass&#039; ) [protected] _protocol =&gt; &#039;HTTP/1.1&#039; [protected] _status =&gt; (int) 200 [protected] _contentType =&gt; &#039;text/html&#039; [protected] _headers =&gt; array() [protected] _body =&gt; null [protected] _file =&gt; null [protected] _fileRange =&gt; null [protected] _charset =&gt; &#039;UTF-8&#039; [protected] _cacheDirectives =&gt; array() [protected] _cookies =&gt; array() }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors' ) $debugToolbarPanels = array( 'history' => array( 'content' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ), 'elementName' => 'history_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'session' => array( 'content' => null, 'elementName' => 'session_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'request' => array( 'content' => array( 'params' => array( [maximum depth reached] ), 'url' => 'produto/99', 'query' => array([maximum depth reached]), 'data' => array([maximum depth reached]), 'cookie' => array([maximum depth reached]), 'get' => array([maximum depth reached]), 'currentRoute' => object(CakeRoute) {} ), 'elementName' => 'request_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'sql_log' => array( 'content' => array( 'connections' => array( [maximum depth reached] ), 'threshold' => (int) 20 ), 'elementName' => 'sql_log_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'timer' => array( 'content' => null, 'elementName' => 'timer_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'log' => array( 'content' => object(DebugKitLog) {}, 'elementName' => 'log_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'variables' => array( 'content' => array( 'class' => 'Mysql', 'message' => 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known', 'enabled' => true, 'code' => (int) 500, 'name' => 'Database connection &quot;Mysql&quot; is missing, or could not be created.', 'url' => '/var/www/html/polinaalimentos.com.br/web/produto/99', 'error' => object(MissingConnectionException) {}, '_serialize' => array( [maximum depth reached] ), 'referer' => '/', 'informacoes' => array( [maximum depth reached] ), '$request->data' => array([maximum depth reached]) ), 'elementName' => 'variables_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'environment' => array( 'content' => array( 'php' => array( [maximum depth reached] ), 'cake' => array( [maximum depth reached] ), 'app' => array( [maximum depth reached] ) ), 'elementName' => 'environment_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ), 'include' => array( 'content' => array( 'core' => array( [maximum depth reached] ), 'app' => array( [maximum depth reached] ), 'plugins' => array( [maximum depth reached] ), 'paths' => array( [maximum depth reached] ) ), 'elementName' => 'include_panel', 'plugin' => 'DebugKit', 'title' => null, 'disableTimer' => true ) ) $debugToolbarJavascript = array( 'libs' => 'DebugKit./js/js_debug_toolbar' ) $debugToolbarCss = array( (int) 0 => 'DebugKit./css/debug_toolbar.css' ) $class = 'Mysql' $message = 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known' $enabled = true $code = (int) 500 $name = 'Database connection &quot;Mysql&quot; is missing, or could not be created.' $url = '/var/www/html/polinaalimentos.com.br/web/produto/99' $error = object(MissingConnectionException) { [protected] _messageTemplate => 'Database connection "%s" is missing, or could not be created.' [protected] _attributes => array( 'class' => 'Mysql', 'message' => 'SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known', '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/html/polinaalimentos.com.br/web/lib/Cake/Model/Datasource/Database/Mysql.php' [protected] line => (int) 192 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'name', (int) 2 => 'message', (int) 3 => 'url' ) $referer = '/' $informacoes = array( 'InformationTmp' => array( 'id' => '1', 'telefone' => '(45) 3324-0101', 'email' => 'contato@polinaalimentos.com.br', 'endereco' => 'Av. Dr. Azuel Portes, 17.489 Marginal BR-277 - KM 591 Bairro Santa Felicidade Cascavel/PR', 'facebook' => 'https://www.facebook.com/Polina-Alimentos-309278889526703/', 'instagram' => '#', 'youtube' => '#', 'snapchat' => '#', 'latitude' => '-24.955607', 'longitude' => '-53.458542', 'twitter' => 'http://polinaalimentos.com.br/upload/catalogo/catalogo-polina.pdf', 'favicon' => 'favicon.png', 'analytics' => null, 'mapa' => 'https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3616.4359829879445!2d-53.467855484994686!3d-24.985297283995127!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x94f3d432a51a6087%3A0x7cd20b2855d5983a!2sPolina+Comercial+De+Alimentos+Ltda!5e0!3m2!1spt-BR!2sbr!4v1496952702602', 'descricao' => 'Fundada em 1983, pela Família Polina, no oeste do Paraná, a Polina Alimentos é referência na distribuição de alimentos congelados, como: sorvetes, pães, vegetais e carnes. As câmaras frigoríficas têm moderno sistema de refrigeração com monitoramento computadorizado, para garantir a qualidade dos alimentos armazenados. ', 'created' => null, 'modified' => '2017-12-11 09:16:03' ) ) $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] php_network_getaddresses: getaddrinfo failed: Name or service not known</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 260</a> &rarr; <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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">$autoConnect</span><span style="color: #007700">)&nbsp;{</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">connect</span><span style="color: #007700">();</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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 105</a> &rarr; <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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'message'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'Datasource&nbsp;is&nbsp;not&nbsp;found&nbsp;in&nbsp;Model/Datasource&nbsp;package.'</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">static::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">]&nbsp;=&nbsp;new&nbsp;</span><span style="color: #0000BB">$class</span><span style="color: #007700">(static::</span><span style="color: #0000BB">$config</span><span style="color: #007700">-&gt;{</span><span style="color: #0000BB">$name</span><span style="color: #007700">});</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">static::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">]-&gt;</span><span style="color: #0000BB">configKeyName&nbsp;</span><span style="color: #007700">=&nbsp;</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( &#039;password&#039; =&gt; &#039;*****&#039;, &#039;login&#039; =&gt; &#039;*****&#039;, &#039;host&#039; =&gt; &#039;*****&#039;, &#039;database&#039; =&gt; &#039;*****&#039;, &#039;prefix&#039; =&gt; &#039;*****&#039;, &#039;datasource&#039; =&gt; &#039;Database/Mysql&#039;, &#039;persistent&#039; =&gt; false, &#039;encoding&#039; =&gt; &#039;utf8&#039; )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Model.php line 3626</a> &rarr; <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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">useDbConfig&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$dataSource</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$db&nbsp;</span><span style="color: #007700">=&nbsp;</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">-&gt;</span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(!empty(</span><span style="color: #0000BB">$oldConfig</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;isset(</span><span style="color: #0000BB">$db</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">config</span><span style="color: #007700">[</span><span style="color: #DD0000">'prefix'</span><span style="color: #007700">]))&nbsp;{</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>&#039;default&#039;</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Model.php line 1155</a> &rarr; <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">&nbsp;</span><span style="color: #007700">*&nbsp;@return&nbsp;</span><span style="color: #0000BB">void</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;</span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">public&nbsp;function&nbsp;</span><span style="color: #0000BB">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$tableName</span><span style="color: #007700">)&nbsp;{</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$db&nbsp;</span><span style="color: #007700">=&nbsp;</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">-&gt;</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>&#039;default&#039;</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 3653</a> &rarr; <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">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">public&nbsp;function&nbsp;</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()&nbsp;{</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(!</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">_sourceConfigured&nbsp;</span><span style="color: #007700">&amp;&amp;&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">useTable&nbsp;</span><span style="color: #007700">!==&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">)&nbsp;{</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">_sourceConfigured&nbsp;</span><span style="color: #007700">=&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">useTable</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>&#039;configs&#039;</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 3031</a> &rarr; <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">&nbsp;</span><span style="color: #007700">*&nbsp;@return&nbsp;array</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;</span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">protected&nbsp;function&nbsp;</span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$query</span><span style="color: #007700">)&nbsp;{</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$results&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-&gt;</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">resetAssociations</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')">CORE/Cake/Model/Model.php line 3003</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">return&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">return&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>&#039;first&#039; array( &#039;conditions&#039; =&gt; null, &#039;fields&#039; =&gt; null, &#039;joins&#039; =&gt; array(), &#039;limit&#039; =&gt; (int) 1, &#039;offset&#039; =&gt; null, &#039;order&#039; =&gt; array( (int) 0 =&gt; null ), &#039;page&#039; =&gt; (int) 1, &#039;group&#039; =&gt; null, &#039;callbacks&#039; =&gt; true )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Controller/AppController.php line 34</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-7')">Model->find(string)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$InformationTmp&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'class'</span><span style="color: #007700">=&gt;</span><span style="color: #DD0000">'Config'</span><span style="color: #007700">,</span><span style="color: #DD0000">'alias'</span><span style="color: #007700">=&gt;</span><span style="color: #DD0000">'InformationTmp'</span><span style="color: #007700">));</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$informacoes&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$InformationTmp</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'first'</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>&#039;first&#039;</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/PagesController.php line 7</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-8')">AppController->beforeFilter()</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></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">public&nbsp;function&nbsp;</span><span style="color: #0000BB">beforeFilter</span><span style="color: #007700">()&nbsp;{</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">Auth</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">allow</span><span style="color: #007700">(</span><span style="color: #DD0000">'index'</span><span style="color: #007700">,</span><span style="color: #DD0000">'institucional'</span><span style="color: #007700">,</span><span style="color: #DD0000">'produtos'</span><span style="color: #007700">,</span><span style="color: #DD0000">'produto'</span><span style="color: #007700">,</span><span style="color: #DD0000">'blog'</span><span style="color: #007700">,</span><span style="color: #DD0000">'blog_interna'</span><span style="color: #007700">,</span><span style="color: #DD0000">'contato'</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="#">[internal function]</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-9')">PagesController->beforeFilter(CakeEvent)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data =&gt; null result =&gt; null [protected] _name =&gt; &#039;Controller.initialize&#039; [protected] _subject =&gt; object(PagesController) { components =&gt; array( [maximum depth reached] ) name =&gt; &#039;Pages&#039; uses =&gt; array( [maximum depth reached] ) helpers =&gt; array([maximum depth reached]) request =&gt; object(CakeRequest) {} response =&gt; object(CakeResponse) {} viewPath =&gt; &#039;Pages&#039; layoutPath =&gt; null viewVars =&gt; array([maximum depth reached]) view =&gt; &#039;produto&#039; layout =&gt; &#039;default&#039; autoRender =&gt; true autoLayout =&gt; true Components =&gt; object(ComponentCollection) {} viewClass =&gt; &#039;View&#039; View =&gt; null ext =&gt; &#039;.ctp&#039; plugin =&gt; &#039;&#039; cacheAction =&gt; false passedArgs =&gt; array( [maximum depth reached] ) scaffold =&gt; false methods =&gt; array( [maximum depth reached] ) modelClass =&gt; &#039;Page&#039; modelKey =&gt; &#039;page&#039; validationErrors =&gt; null Session =&gt; object(SessionComponent) {} Cookie =&gt; object(CookieComponent) {} Toolbar =&gt; object(ToolbarComponent) {} MenuInfo =&gt; object(MenuInfoComponent) {} Auth =&gt; object(AuthComponent) {} [protected] _responseClass =&gt; &#039;CakeResponse&#039; [protected] _mergeParent =&gt; &#039;AppController&#039; [protected] _eventManager =&gt; object(CakeEventManager) {} } [protected] _stopped =&gt; false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Event/CakeEventManager.php line 243</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-10')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">]&nbsp;===&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">)&nbsp;{</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$result&nbsp;</span><span style="color: #007700">=&nbsp;</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">],&nbsp;</span><span style="color: #0000BB">$event</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}&nbsp;else&nbsp;{</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$result&nbsp;</span><span style="color: #007700">=&nbsp;</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">],&nbsp;</span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>array( (int) 0 =&gt; object(PagesController) { components =&gt; array( (int) 0 =&gt; &#039;Session&#039;, (int) 1 =&gt; &#039;Cookie&#039;, (int) 2 =&gt; &#039;DebugKit.Toolbar&#039;, (int) 3 =&gt; &#039;Users.MenuInfo&#039;, &#039;Auth&#039; =&gt; array( [maximum depth reached] ) ) name =&gt; &#039;Pages&#039; uses =&gt; array( (int) 0 =&gt; &#039;Page&#039; ) helpers =&gt; array() request =&gt; object(CakeRequest) {} response =&gt; object(CakeResponse) {} viewPath =&gt; &#039;Pages&#039; layoutPath =&gt; null viewVars =&gt; array() view =&gt; &#039;produto&#039; layout =&gt; &#039;default&#039; autoRender =&gt; true autoLayout =&gt; true Components =&gt; object(ComponentCollection) {} viewClass =&gt; &#039;View&#039; View =&gt; null ext =&gt; &#039;.ctp&#039; plugin =&gt; &#039;&#039; cacheAction =&gt; false passedArgs =&gt; array( (int) 0 =&gt; &#039;99&#039; ) scaffold =&gt; false methods =&gt; array( (int) 1 =&gt; &#039;index&#039;, (int) 2 =&gt; &#039;institucional&#039;, (int) 3 =&gt; &#039;blog&#039;, (int) 4 =&gt; &#039;blog_interna&#039;, (int) 5 =&gt; &#039;produtos&#039;, (int) 6 =&gt; &#039;produto&#039;, (int) 7 =&gt; &#039;contato&#039;, (int) 8 =&gt; &#039;save_email&#039;, (int) 10 =&gt; &#039;preparaUpload&#039;, (int) 11 =&gt; &#039;upload&#039;, (int) 12 =&gt; &#039;checa_dir&#039;, (int) 13 =&gt; &#039;arquivos&#039;, (int) 14 =&gt; &#039;deletar&#039;, (int) 15 =&gt; &#039;checa_nome&#039;, (int) 16 =&gt; &#039;trata_nome&#039;, (int) 17 =&gt; &#039;move_arquivos&#039; ) modelClass =&gt; &#039;Page&#039; modelKey =&gt; &#039;page&#039; validationErrors =&gt; null Session =&gt; object(SessionComponent) {} Cookie =&gt; object(CookieComponent) {} Toolbar =&gt; object(ToolbarComponent) {} MenuInfo =&gt; object(MenuInfoComponent) {} Auth =&gt; object(AuthComponent) {} [protected] _responseClass =&gt; &#039;CakeResponse&#039; [protected] _mergeParent =&gt; &#039;AppController&#039; [protected] _eventManager =&gt; object(CakeEventManager) {} }, (int) 1 =&gt; &#039;beforeFilter&#039; ) object(CakeEvent) { data =&gt; null result =&gt; null [protected] _name =&gt; &#039;Controller.initialize&#039; [protected] _subject =&gt; object(PagesController) { components =&gt; array( [maximum depth reached] ) name =&gt; &#039;Pages&#039; uses =&gt; array( [maximum depth reached] ) helpers =&gt; array([maximum depth reached]) request =&gt; object(CakeRequest) {} response =&gt; object(CakeResponse) {} viewPath =&gt; &#039;Pages&#039; layoutPath =&gt; null viewVars =&gt; array([maximum depth reached]) view =&gt; &#039;produto&#039; layout =&gt; &#039;default&#039; autoRender =&gt; true autoLayout =&gt; true Components =&gt; object(ComponentCollection) {} viewClass =&gt; &#039;View&#039; View =&gt; null ext =&gt; &#039;.ctp&#039; plugin =&gt; &#039;&#039; cacheAction =&gt; false passedArgs =&gt; array( [maximum depth reached] ) scaffold =&gt; false methods =&gt; array( [maximum depth reached] ) modelClass =&gt; &#039;Page&#039; modelKey =&gt; &#039;page&#039; validationErrors =&gt; null Session =&gt; object(SessionComponent) {} Cookie =&gt; object(CookieComponent) {} Toolbar =&gt; object(ToolbarComponent) {} MenuInfo =&gt; object(MenuInfoComponent) {} Auth =&gt; object(AuthComponent) {} [protected] _responseClass =&gt; &#039;CakeResponse&#039; [protected] _mergeParent =&gt; &#039;AppController&#039; [protected] _eventManager =&gt; object(CakeEventManager) {} } [protected] _stopped =&gt; false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Controller/Controller.php line 676</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-11')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;</span><span style="color: #007700">*&nbsp;@</span><span style="color: #0000BB">triggers&nbsp;Controller</span><span style="color: #007700">.</span><span style="color: #0000BB">startup&nbsp;$this</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;</span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">public&nbsp;function&nbsp;</span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">()&nbsp;{</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-&gt;</span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new&nbsp;</span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-&gt;</span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new&nbsp;</span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) { data =&gt; null result =&gt; null [protected] _name =&gt; &#039;Controller.initialize&#039; [protected] _subject =&gt; object(PagesController) { components =&gt; array( [maximum depth reached] ) name =&gt; &#039;Pages&#039; uses =&gt; array( [maximum depth reached] ) helpers =&gt; array([maximum depth reached]) request =&gt; object(CakeRequest) {} response =&gt; object(CakeResponse) {} viewPath =&gt; &#039;Pages&#039; layoutPath =&gt; null viewVars =&gt; array([maximum depth reached]) view =&gt; &#039;produto&#039; layout =&gt; &#039;default&#039; autoRender =&gt; true autoLayout =&gt; true Components =&gt; object(ComponentCollection) {} viewClass =&gt; &#039;View&#039; View =&gt; null ext =&gt; &#039;.ctp&#039; plugin =&gt; &#039;&#039; cacheAction =&gt; false passedArgs =&gt; array( [maximum depth reached] ) scaffold =&gt; false methods =&gt; array( [maximum depth reached] ) modelClass =&gt; &#039;Page&#039; modelKey =&gt; &#039;page&#039; validationErrors =&gt; null Session =&gt; object(SessionComponent) {} Cookie =&gt; object(CookieComponent) {} Toolbar =&gt; object(ToolbarComponent) {} MenuInfo =&gt; object(MenuInfoComponent) {} Auth =&gt; object(AuthComponent) {} [protected] _responseClass =&gt; &#039;CakeResponse&#039; [protected] _mergeParent =&gt; &#039;AppController&#039; [protected] _eventManager =&gt; object(CakeEventManager) {} } [protected] _stopped =&gt; false }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Routing/Dispatcher.php line 189</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-12')">Controller->startupProcess()</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;</span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">protected&nbsp;function&nbsp;</span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller&nbsp;$controller</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">CakeRequest&nbsp;$request</span><span style="color: #007700">)&nbsp;{</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$controller</span><span style="color: #007700">-&gt;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$controller</span><span style="color: #007700">-&gt;</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-12" class="cake-code-dump" style="display: none;"><pre></pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">CORE/Cake/Routing/Dispatcher.php line 167</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-13')">Dispatcher->_invoke(PagesController, CakeRequest)</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$response&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">]))&nbsp;{</span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(PagesController) { components =&gt; array( (int) 0 =&gt; &#039;Session&#039;, (int) 1 =&gt; &#039;Cookie&#039;, (int) 2 =&gt; &#039;DebugKit.Toolbar&#039;, (int) 3 =&gt; &#039;Users.MenuInfo&#039;, &#039;Auth&#039; =&gt; array( &#039;loginAction&#039; =&gt; array( [maximum depth reached] ), &#039;loginRedirect&#039; =&gt; array( [maximum depth reached] ), &#039;autoRedirect&#039; =&gt; true, &#039;authError&#039; =&gt; &#039;Você deve fazer login para ter acesso a essa área!&#039;, &#039;loginError&#039; =&gt; &#039;Combinação de usuário e senha errada!&#039; ) ) name =&gt; &#039;Pages&#039; uses =&gt; array( (int) 0 =&gt; &#039;Page&#039; ) helpers =&gt; array() request =&gt; object(CakeRequest) { params =&gt; array( [maximum depth reached] ) data =&gt; array([maximum depth reached]) query =&gt; array([maximum depth reached]) url =&gt; &#039;produto/99&#039; base =&gt; &#039;/var/www/html/polinaalimentos.com.br/web&#039; webroot =&gt; &#039;/var/www/html/polinaalimentos.com.br/web/&#039; here =&gt; &#039;/var/www/html/polinaalimentos.com.br/web/produto/99&#039; [protected] _detectors =&gt; array( [maximum depth reached] ) [protected] _input =&gt; &#039;&#039; } response =&gt; object(CakeResponse) { [protected] _statusCodes =&gt; array( [maximum depth reached] ) [protected] _mimeTypes =&gt; array( [maximum depth reached] ) [protected] _protocol =&gt; &#039;HTTP/1.1&#039; [protected] _status =&gt; (int) 200 [protected] _contentType =&gt; &#039;text/html&#039; [protected] _headers =&gt; array([maximum depth reached]) [protected] _body =&gt; null [protected] _file =&gt; null [protected] _fileRange =&gt; null [protected] _charset =&gt; &#039;UTF-8&#039; [protected] _cacheDirectives =&gt; array([maximum depth reached]) [protected] _cookies =&gt; array([maximum depth reached]) } viewPath =&gt; &#039;Pages&#039; layoutPath =&gt; null viewVars =&gt; array() view =&gt; &#039;produto&#039; layout =&gt; &#039;default&#039; autoRender =&gt; true autoLayout =&gt; true Components =&gt; object(ComponentCollection) { defaultPriority =&gt; (int) 10 [protected] _Controller =&gt; object(PagesController) {} [protected] _enabled =&gt; array( [maximum depth reached] ) [protected] _loaded =&gt; array( [maximum depth reached] ) } viewClass =&gt; &#039;View&#039; View =&gt; null ext =&gt; &#039;.ctp&#039; plugin =&gt; &#039;&#039; cacheAction =&gt; false passedArgs =&gt; array( (int) 0 =&gt; &#039;99&#039; ) scaffold =&gt; false methods =&gt; array( (int) 1 =&gt; &#039;index&#039;, (int) 2 =&gt; &#039;institucional&#039;, (int) 3 =&gt; &#039;blog&#039;, (int) 4 =&gt; &#039;blog_interna&#039;, (int) 5 =&gt; &#039;produtos&#039;, (int) 6 =&gt; &#039;produto&#039;, (int) 7 =&gt; &#039;contato&#039;, (int) 8 =&gt; &#039;save_email&#039;, (int) 10 =&gt; &#039;preparaUpload&#039;, (int) 11 =&gt; &#039;upload&#039;, (int) 12 =&gt; &#039;checa_dir&#039;, (int) 13 =&gt; &#039;arquivos&#039;, (int) 14 =&gt; &#039;deletar&#039;, (int) 15 =&gt; &#039;checa_nome&#039;, (int) 16 =&gt; &#039;trata_nome&#039;, (int) 17 =&gt; &#039;move_arquivos&#039; ) modelClass =&gt; &#039;Page&#039; modelKey =&gt; &#039;page&#039; validationErrors =&gt; null Session =&gt; object(SessionComponent) { settings =&gt; array([maximum depth reached]) components =&gt; array([maximum depth reached]) [protected] _Collection =&gt; object(ComponentCollection) {} [protected] _componentMap =&gt; array([maximum depth reached]) } Cookie =&gt; object(CookieComponent) { name =&gt; &#039;CakeCookie&#039; time =&gt; null path =&gt; &#039;/&#039; domain =&gt; &#039;&#039; secure =&gt; false key =&gt; &#039;caionorder&#039; httpOnly =&gt; false settings =&gt; array([maximum depth reached]) components =&gt; array([maximum depth reached]) [protected] _values =&gt; array([maximum depth reached]) [protected] _type =&gt; &#039;cipher&#039; [protected] _reset =&gt; null [protected] _expires =&gt; (int) 0 [protected] _response =&gt; object(CakeResponse) {} [protected] _Collection =&gt; object(ComponentCollection) {} [protected] _componentMap =&gt; array([maximum depth reached]) } Toolbar =&gt; object(ToolbarComponent) { settings =&gt; array( [maximum depth reached] ) controller =&gt; object(PagesController) {} components =&gt; array( [maximum depth reached] ) panels =&gt; array( [maximum depth reached] ) javascript =&gt; array( [maximum depth reached] ) css =&gt; array( [maximum depth reached] ) cacheKey =&gt; &#039;toolbar_cache&#039; cacheDuration =&gt; &#039;+4 hours&#039; enabled =&gt; true Session =&gt; object(SessionComponent) {} [protected] _defaultPanels =&gt; array( [maximum depth reached] ) [protected] _Collection =&gt; object(ComponentCollection) {} [protected] _componentMap =&gt; array( [maximum depth reached] ) } MenuInfo =&gt; object(MenuInfoComponent) { settings =&gt; array([maximum depth reached]) components =&gt; array([maximum depth reached]) [protected] _Collection =&gt; object(ComponentCollection) {} [protected] _componentMap =&gt; array([maximum depth reached]) } Auth =&gt; object(AuthComponent) { components =&gt; array( [maximum depth reached] ) authenticate =&gt; array( [maximum depth reached] ) authorize =&gt; false ajaxLogin =&gt; null flash =&gt; array( [maximum depth reached] ) loginAction =&gt; array( [maximum depth reached] ) loginRedirect =&gt; array( [maximum depth reached] ) logoutRedirect =&gt; null authError =&gt; &#039;Você deve fazer login para ter acesso a essa área!&#039; unauthorizedRedirect =&gt; true allowedActions =&gt; array( [maximum depth reached] ) request =&gt; object(CakeRequest) {} response =&gt; object(CakeResponse) {} settings =&gt; array( [maximum depth reached] ) [protected] _authenticateObjects =&gt; array([maximum depth reached]) [protected] _authorizeObjects =&gt; array([maximum depth reached]) [protected] _user =&gt; array([maximum depth reached]) [protected] _methods =&gt; array( [maximum depth reached] ) [protected] _Collection =&gt; object(ComponentCollection) {} [protected] _componentMap =&gt; array( [maximum depth reached] ) } [protected] _responseClass =&gt; &#039;CakeResponse&#039; [protected] _mergeParent =&gt; &#039;AppController&#039; [protected] _eventManager =&gt; object(CakeEventManager) { [protected] _generalManager =&gt; object(CakeEventManager) {} [protected] _listeners =&gt; array( [maximum depth reached] ) [protected] _isGlobal =&gt; false } } object(CakeRequest) { params =&gt; array( &#039;plugin&#039; =&gt; false, &#039;controller&#039; =&gt; &#039;pages&#039;, &#039;action&#039; =&gt; &#039;produto&#039;, &#039;named&#039; =&gt; array(), &#039;pass&#039; =&gt; array( (int) 0 =&gt; &#039;99&#039; ), &#039;models&#039; =&gt; array( &#039;InformationTmp&#039; =&gt; array( [maximum depth reached] ) ) ) data =&gt; array() query =&gt; array() url =&gt; &#039;produto/99&#039; base =&gt; &#039;/var/www/html/polinaalimentos.com.br/web&#039; webroot =&gt; &#039;/var/www/html/polinaalimentos.com.br/web/&#039; here =&gt; &#039;/var/www/html/polinaalimentos.com.br/web/produto/99&#039; [protected] _detectors =&gt; array( &#039;get&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;GET&#039; ), &#039;post&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;POST&#039; ), &#039;put&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;PUT&#039; ), &#039;delete&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;DELETE&#039; ), &#039;head&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;HEAD&#039; ), &#039;options&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;OPTIONS&#039; ), &#039;ssl&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTPS&#039;, &#039;value&#039; =&gt; (int) 1 ), &#039;ajax&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTP_X_REQUESTED_WITH&#039;, &#039;value&#039; =&gt; &#039;XMLHttpRequest&#039; ), &#039;flash&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTP_USER_AGENT&#039;, &#039;pattern&#039; =&gt; &#039;/^(Shockwave|Adobe) Flash/&#039; ), &#039;mobile&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTP_USER_AGENT&#039;, &#039;options&#039; =&gt; array( [maximum depth reached] ) ), &#039;requested&#039; =&gt; array( &#039;param&#039; =&gt; &#039;requested&#039;, &#039;value&#039; =&gt; (int) 1 ), &#039;json&#039; =&gt; array( &#039;accept&#039; =&gt; array( [maximum depth reached] ), &#039;param&#039; =&gt; &#039;ext&#039;, &#039;value&#039; =&gt; &#039;json&#039; ), &#039;xml&#039; =&gt; array( &#039;accept&#039; =&gt; array( [maximum depth reached] ), &#039;param&#039; =&gt; &#039;ext&#039;, &#039;value&#039; =&gt; &#039;xml&#039; ) ) [protected] _input =&gt; &#039;&#039; }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/webroot/index.php line 118</a> &rarr; <a href="#" onclick="traceToggle(event, 'trace-args-14')">Dispatcher->dispatch(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">$Dispatcher</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params =&gt; array( &#039;plugin&#039; =&gt; false, &#039;controller&#039; =&gt; &#039;pages&#039;, &#039;action&#039; =&gt; &#039;produto&#039;, &#039;named&#039; =&gt; array(), &#039;pass&#039; =&gt; array( (int) 0 =&gt; &#039;99&#039; ), &#039;models&#039; =&gt; array( &#039;InformationTmp&#039; =&gt; array( [maximum depth reached] ) ) ) data =&gt; array() query =&gt; array() url =&gt; &#039;produto/99&#039; base =&gt; &#039;/var/www/html/polinaalimentos.com.br/web&#039; webroot =&gt; &#039;/var/www/html/polinaalimentos.com.br/web/&#039; here =&gt; &#039;/var/www/html/polinaalimentos.com.br/web/produto/99&#039; [protected] _detectors =&gt; array( &#039;get&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;GET&#039; ), &#039;post&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;POST&#039; ), &#039;put&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;PUT&#039; ), &#039;delete&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;DELETE&#039; ), &#039;head&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;HEAD&#039; ), &#039;options&#039; =&gt; array( &#039;env&#039; =&gt; &#039;REQUEST_METHOD&#039;, &#039;value&#039; =&gt; &#039;OPTIONS&#039; ), &#039;ssl&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTPS&#039;, &#039;value&#039; =&gt; (int) 1 ), &#039;ajax&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTP_X_REQUESTED_WITH&#039;, &#039;value&#039; =&gt; &#039;XMLHttpRequest&#039; ), &#039;flash&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTP_USER_AGENT&#039;, &#039;pattern&#039; =&gt; &#039;/^(Shockwave|Adobe) Flash/&#039; ), &#039;mobile&#039; =&gt; array( &#039;env&#039; =&gt; &#039;HTTP_USER_AGENT&#039;, &#039;options&#039; =&gt; array( [maximum depth reached] ) ), &#039;requested&#039; =&gt; array( &#039;param&#039; =&gt; &#039;requested&#039;, &#039;value&#039; =&gt; (int) 1 ), &#039;json&#039; =&gt; array( &#039;accept&#039; =&gt; array( [maximum depth reached] ), &#039;param&#039; =&gt; &#039;ext&#039;, &#039;value&#039; =&gt; &#039;json&#039; ), &#039;xml&#039; =&gt; array( &#039;accept&#039; =&gt; array( [maximum depth reached] ), &#039;param&#039; =&gt; &#039;ext&#039;, &#039;value&#039; =&gt; &#039;xml&#039; ) ) [protected] _input =&gt; &#039;&#039; } object(CakeResponse) { [protected] _statusCodes =&gt; array( (int) 100 =&gt; &#039;Continue&#039;, (int) 101 =&gt; &#039;Switching Protocols&#039;, (int) 200 =&gt; &#039;OK&#039;, (int) 201 =&gt; &#039;Created&#039;, (int) 202 =&gt; &#039;Accepted&#039;, (int) 203 =&gt; &#039;Non-Authoritative Information&#039;, (int) 204 =&gt; &#039;No Content&#039;, (int) 205 =&gt; &#039;Reset Content&#039;, (int) 206 =&gt; &#039;Partial Content&#039;, (int) 300 =&gt; &#039;Multiple Choices&#039;, (int) 301 =&gt; &#039;Moved Permanently&#039;, (int) 302 =&gt; &#039;Found&#039;, (int) 303 =&gt; &#039;See Other&#039;, (int) 304 =&gt; &#039;Not Modified&#039;, (int) 305 =&gt; &#039;Use Proxy&#039;, (int) 307 =&gt; &#039;Temporary Redirect&#039;, (int) 400 =&gt; &#039;Bad Request&#039;, (int) 401 =&gt; &#039;Unauthorized&#039;, (int) 402 =&gt; &#039;Payment Required&#039;, (int) 403 =&gt; &#039;Forbidden&#039;, (int) 404 =&gt; &#039;Not Found&#039;, (int) 405 =&gt; &#039;Method Not Allowed&#039;, (int) 406 =&gt; &#039;Not Acceptable&#039;, (int) 407 =&gt; &#039;Proxy Authentication Required&#039;, (int) 408 =&gt; &#039;Request Time-out&#039;, (int) 409 =&gt; &#039;Conflict&#039;, (int) 410 =&gt; &#039;Gone&#039;, (int) 411 =&gt; &#039;Length Required&#039;, (int) 412 =&gt; &#039;Precondition Failed&#039;, (int) 413 =&gt; &#039;Request Entity Too Large&#039;, (int) 414 =&gt; &#039;Request-URI Too Large&#039;, (int) 415 =&gt; &#039;Unsupported Media Type&#039;, (int) 416 =&gt; &#039;Requested range not satisfiable&#039;, (int) 417 =&gt; &#039;Expectation Failed&#039;, (int) 429 =&gt; &#039;Too Many Requests&#039;, (int) 500 =&gt; &#039;Internal Server Error&#039;, (int) 501 =&gt; &#039;Not Implemented&#039;, (int) 502 =&gt; &#039;Bad Gateway&#039;, (int) 503 =&gt; &#039;Service Unavailable&#039;, (int) 504 =&gt; &#039;Gateway Time-out&#039;, (int) 505 =&gt; &#039;Unsupported Version&#039; ) [protected] _mimeTypes =&gt; array( &#039;html&#039; =&gt; array( (int) 0 =&gt; &#039;text/html&#039;, (int) 1 =&gt; &#039;*/*&#039; ), &#039;json&#039; =&gt; &#039;application/json&#039;, &#039;xml&#039; =&gt; array( (int) 0 =&gt; &#039;application/xml&#039;, (int) 1 =&gt; &#039;text/xml&#039; ), &#039;rss&#039; =&gt; &#039;application/rss+xml&#039;, &#039;ai&#039; =&gt; &#039;application/postscript&#039;, &#039;bcpio&#039; =&gt; &#039;application/x-bcpio&#039;, &#039;bin&#039; =&gt; &#039;application/octet-stream&#039;, &#039;ccad&#039; =&gt; &#039;application/clariscad&#039;, &#039;cdf&#039; =&gt; &#039;application/x-netcdf&#039;, &#039;class&#039; =&gt; &#039;application/octet-stream&#039;, &#039;cpio&#039; =&gt; &#039;application/x-cpio&#039;, &#039;cpt&#039; =&gt; &#039;application/mac-compactpro&#039;, &#039;csh&#039; =&gt; &#039;application/x-csh&#039;, &#039;csv&#039; =&gt; array( (int) 0 =&gt; &#039;text/csv&#039;, (int) 1 =&gt; &#039;application/vnd.ms-excel&#039; ), &#039;dcr&#039; =&gt; &#039;application/x-director&#039;, &#039;dir&#039; =&gt; &#039;application/x-director&#039;, &#039;dms&#039; =&gt; &#039;application/octet-stream&#039;, &#039;doc&#039; =&gt; &#039;application/msword&#039;, &#039;docx&#039; =&gt; &#039;application/vnd.openxmlformats-officedocument.wordprocessingml.document&#039;, &#039;drw&#039; =&gt; &#039;application/drafting&#039;, &#039;dvi&#039; =&gt; &#039;application/x-dvi&#039;, &#039;dwg&#039; =&gt; &#039;application/acad&#039;, &#039;dxf&#039; =&gt; &#039;application/dxf&#039;, &#039;dxr&#039; =&gt; &#039;application/x-director&#039;, &#039;eot&#039; =&gt; &#039;application/vnd.ms-fontobject&#039;, &#039;eps&#039; =&gt; &#039;application/postscript&#039;, &#039;exe&#039; =&gt; &#039;application/octet-stream&#039;, &#039;ez&#039; =&gt; &#039;application/andrew-inset&#039;, &#039;flv&#039; =&gt; &#039;video/x-flv&#039;, &#039;gtar&#039; =&gt; &#039;application/x-gtar&#039;, &#039;gz&#039; =&gt; &#039;application/x-gzip&#039;, &#039;bz2&#039; =&gt; &#039;application/x-bzip&#039;, &#039;7z&#039; =&gt; &#039;application/x-7z-compressed&#039;, &#039;hdf&#039; =&gt; &#039;application/x-hdf&#039;, &#039;hqx&#039; =&gt; &#039;application/mac-binhex40&#039;, &#039;ico&#039; =&gt; &#039;image/x-icon&#039;, &#039;ips&#039; =&gt; &#039;application/x-ipscript&#039;, &#039;ipx&#039; =&gt; &#039;application/x-ipix&#039;, &#039;js&#039; =&gt; &#039;application/javascript&#039;, &#039;latex&#039; =&gt; &#039;application/x-latex&#039;, &#039;lha&#039; =&gt; &#039;application/octet-stream&#039;, &#039;lsp&#039; =&gt; &#039;application/x-lisp&#039;, &#039;lzh&#039; =&gt; &#039;application/octet-stream&#039;, &#039;man&#039; =&gt; &#039;application/x-troff-man&#039;, &#039;me&#039; =&gt; &#039;application/x-troff-me&#039;, &#039;mif&#039; =&gt; &#039;application/vnd.mif&#039;, &#039;ms&#039; =&gt; &#039;application/x-troff-ms&#039;, &#039;nc&#039; =&gt; &#039;application/x-netcdf&#039;, &#039;oda&#039; =&gt; &#039;application/oda&#039;, &#039;otf&#039; =&gt; &#039;font/otf&#039;, &#039;pdf&#039; =&gt; &#039;application/pdf&#039;, &#039;pgn&#039; =&gt; &#039;application/x-chess-pgn&#039;, &#039;pot&#039; =&gt; &#039;application/vnd.ms-powerpoint&#039;, &#039;pps&#039; =&gt; &#039;application/vnd.ms-powerpoint&#039;, &#039;ppt&#039; =&gt; &#039;application/vnd.ms-powerpoint&#039;, &#039;pptx&#039; =&gt; &#039;application/vnd.openxmlformats-officedocument.presentationml.presentation&#039;, &#039;ppz&#039; =&gt; &#039;application/vnd.ms-powerpoint&#039;, &#039;pre&#039; =&gt; &#039;application/x-freelance&#039;, &#039;prt&#039; =&gt; &#039;application/pro_eng&#039;, &#039;ps&#039; =&gt; &#039;application/postscript&#039;, &#039;roff&#039; =&gt; &#039;application/x-troff&#039;, &#039;scm&#039; =&gt; &#039;application/x-lotusscreencam&#039;, &#039;set&#039; =&gt; &#039;application/set&#039;, &#039;sh&#039; =&gt; &#039;application/x-sh&#039;, &#039;shar&#039; =&gt; &#039;application/x-shar&#039;, &#039;sit&#039; =&gt; &#039;application/x-stuffit&#039;, &#039;skd&#039; =&gt; &#039;application/x-koan&#039;, &#039;skm&#039; =&gt; &#039;application/x-koan&#039;, &#039;skp&#039; =&gt; &#039;application/x-koan&#039;, &#039;skt&#039; =&gt; &#039;application/x-koan&#039;, &#039;smi&#039; =&gt; &#039;application/smil&#039;, &#039;smil&#039; =&gt; &#039;application/smil&#039;, &#039;sol&#039; =&gt; &#039;application/solids&#039;, &#039;spl&#039; =&gt; &#039;application/x-futuresplash&#039;, &#039;src&#039; =&gt; &#039;application/x-wais-source&#039;, &#039;step&#039; =&gt; &#039;application/STEP&#039;, &#039;stl&#039; =&gt; &#039;application/SLA&#039;, &#039;stp&#039; =&gt; &#039;application/STEP&#039;, &#039;sv4cpio&#039; =&gt; &#039;application/x-sv4cpio&#039;, &#039;sv4crc&#039; =&gt; &#039;application/x-sv4crc&#039;, &#039;svg&#039; =&gt; &#039;image/svg+xml&#039;, &#039;svgz&#039; =&gt; &#039;image/svg+xml&#039;, &#039;swf&#039; =&gt; &#039;application/x-shockwave-flash&#039;, &#039;t&#039; =&gt; &#039;application/x-troff&#039;, &#039;tar&#039; =&gt; &#039;application/x-tar&#039;, &#039;tcl&#039; =&gt; &#039;application/x-tcl&#039;, &#039;tex&#039; =&gt; &#039;application/x-tex&#039;, &#039;texi&#039; =&gt; &#039;application/x-texinfo&#039;, &#039;texinfo&#039; =&gt; &#039;application/x-texinfo&#039;, &#039;tr&#039; =&gt; &#039;application/x-troff&#039;, &#039;tsp&#039; =&gt; &#039;application/dsptype&#039;, &#039;ttc&#039; =&gt; &#039;font/ttf&#039;, &#039;ttf&#039; =&gt; &#039;font/ttf&#039;, &#039;unv&#039; =&gt; &#039;application/i-deas&#039;, &#039;ustar&#039; =&gt; &#039;application/x-ustar&#039;, &#039;vcd&#039; =&gt; &#039;application/x-cdlink&#039;, &#039;vda&#039; =&gt; &#039;application/vda&#039;, &#039;xlc&#039; =&gt; &#039;application/vnd.ms-excel&#039;, &#039;xll&#039; =&gt; &#039;application/vnd.ms-excel&#039;, &#039;xlm&#039; =&gt; &#039;application/vnd.ms-excel&#039;, &#039;xls&#039; =&gt; &#039;application/vnd.ms-excel&#039;, &#039;xlsx&#039; =&gt; &#039;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet&#039;, &#039;xlw&#039; =&gt; &#039;application/vnd.ms-excel&#039;, &#039;zip&#039; =&gt; &#039;application/zip&#039;, &#039;aif&#039; =&gt; &#039;audio/x-aiff&#039;, &#039;aifc&#039; =&gt; &#039;audio/x-aiff&#039;, &#039;aiff&#039; =&gt; &#039;audio/x-aiff&#039;, &#039;au&#039; =&gt; &#039;audio/basic&#039;, &#039;kar&#039; =&gt; &#039;audio/midi&#039;, &#039;mid&#039; =&gt; &#039;audio/midi&#039;, &#039;midi&#039; =&gt; &#039;audio/midi&#039;, &#039;mp2&#039; =&gt; &#039;audio/mpeg&#039;, &#039;mp3&#039; =&gt; &#039;audio/mpeg&#039;, &#039;mpga&#039; =&gt; &#039;audio/mpeg&#039;, &#039;ogg&#039; =&gt; &#039;audio/ogg&#039;, &#039;oga&#039; =&gt; &#039;audio/ogg&#039;, &#039;spx&#039; =&gt; &#039;audio/ogg&#039;, &#039;ra&#039; =&gt; &#039;audio/x-realaudio&#039;, &#039;ram&#039; =&gt; &#039;audio/x-pn-realaudio&#039;, &#039;rm&#039; =&gt; &#039;audio/x-pn-realaudio&#039;, &#039;rpm&#039; =&gt; &#039;audio/x-pn-realaudio-plugin&#039;, &#039;snd&#039; =&gt; &#039;audio/basic&#039;, &#039;tsi&#039; =&gt; &#039;audio/TSP-audio&#039;, &#039;wav&#039; =&gt; &#039;audio/x-wav&#039;, &#039;aac&#039; =&gt; &#039;audio/aac&#039;, &#039;asc&#039; =&gt; &#039;text/plain&#039;, &#039;c&#039; =&gt; &#039;text/plain&#039;, &#039;cc&#039; =&gt; &#039;text/plain&#039;, &#039;css&#039; =&gt; &#039;text/css&#039;, &#039;etx&#039; =&gt; &#039;text/x-setext&#039;, &#039;f&#039; =&gt; &#039;text/plain&#039;, &#039;f90&#039; =&gt; &#039;text/plain&#039;, &#039;h&#039; =&gt; &#039;text/plain&#039;, &#039;hh&#039; =&gt; &#039;text/plain&#039;, &#039;htm&#039; =&gt; array( (int) 0 =&gt; &#039;text/html&#039;, (int) 1 =&gt; &#039;*/*&#039; ), &#039;ics&#039; =&gt; &#039;text/calendar&#039;, &#039;m&#039; =&gt; &#039;text/plain&#039;, &#039;rtf&#039; =&gt; &#039;text/rtf&#039;, &#039;rtx&#039; =&gt; &#039;text/richtext&#039;, &#039;sgm&#039; =&gt; &#039;text/sgml&#039;, &#039;sgml&#039; =&gt; &#039;text/sgml&#039;, &#039;tsv&#039; =&gt; &#039;text/tab-separated-values&#039;, &#039;tpl&#039; =&gt; &#039;text/template&#039;, &#039;txt&#039; =&gt; &#039;text/plain&#039;, &#039;text&#039; =&gt; &#039;text/plain&#039;, &#039;avi&#039; =&gt; &#039;video/x-msvideo&#039;, &#039;fli&#039; =&gt; &#039;video/x-fli&#039;, &#039;mov&#039; =&gt; &#039;video/quicktime&#039;, &#039;movie&#039; =&gt; &#039;video/x-sgi-movie&#039;, &#039;mpe&#039; =&gt; &#039;video/mpeg&#039;, &#039;mpeg&#039; =&gt; &#039;video/mpeg&#039;, &#039;mpg&#039; =&gt; &#039;video/mpeg&#039;, &#039;qt&#039; =&gt; &#039;video/quicktime&#039;, &#039;viv&#039; =&gt; &#039;video/vnd.vivo&#039;, &#039;vivo&#039; =&gt; &#039;video/vnd.vivo&#039;, &#039;ogv&#039; =&gt; &#039;video/ogg&#039;, &#039;webm&#039; =&gt; &#039;video/webm&#039;, &#039;mp4&#039; =&gt; &#039;video/mp4&#039;, &#039;m4v&#039; =&gt; &#039;video/mp4&#039;, &#039;f4v&#039; =&gt; &#039;video/mp4&#039;, &#039;f4p&#039; =&gt; &#039;video/mp4&#039;, &#039;m4a&#039; =&gt; &#039;audio/mp4&#039;, &#039;f4a&#039; =&gt; &#039;audio/mp4&#039;, &#039;f4b&#039; =&gt; &#039;audio/mp4&#039;, &#039;gif&#039; =&gt; &#039;image/gif&#039;, &#039;ief&#039; =&gt; &#039;image/ief&#039;, &#039;jpg&#039; =&gt; &#039;image/jpeg&#039;, &#039;jpeg&#039; =&gt; &#039;image/jpeg&#039;, &#039;jpe&#039; =&gt; &#039;image/jpeg&#039;, &#039;pbm&#039; =&gt; &#039;image/x-portable-bitmap&#039;, &#039;pgm&#039; =&gt; &#039;image/x-portable-graymap&#039;, &#039;png&#039; =&gt; &#039;image/png&#039;, &#039;pnm&#039; =&gt; &#039;image/x-portable-anymap&#039;, &#039;ppm&#039; =&gt; &#039;image/x-portable-pixmap&#039;, &#039;ras&#039; =&gt; &#039;image/cmu-raster&#039;, &#039;rgb&#039; =&gt; &#039;image/x-rgb&#039;, &#039;tif&#039; =&gt; &#039;image/tiff&#039;, &#039;tiff&#039; =&gt; &#039;image/tiff&#039;, &#039;xbm&#039; =&gt; &#039;image/x-xbitmap&#039;, &#039;xpm&#039; =&gt; &#039;image/x-xpixmap&#039;, &#039;xwd&#039; =&gt; &#039;image/x-xwindowdump&#039;, &#039;ice&#039; =&gt; &#039;x-conference/x-cooltalk&#039;, &#039;iges&#039; =&gt; &#039;model/iges&#039;, &#039;igs&#039; =&gt; &#039;model/iges&#039;, &#039;mesh&#039; =&gt; &#039;model/mesh&#039;, &#039;msh&#039; =&gt; &#039;model/mesh&#039;, &#039;silo&#039; =&gt; &#039;model/mesh&#039;, &#039;vrml&#039; =&gt; &#039;model/vrml&#039;, &#039;wrl&#039; =&gt; &#039;model/vrml&#039;, &#039;mime&#039; =&gt; &#039;www/mime&#039;, &#039;pdb&#039; =&gt; &#039;chemical/x-pdb&#039;, &#039;xyz&#039; =&gt; &#039;chemical/x-pdb&#039;, &#039;javascript&#039; =&gt; &#039;application/javascript&#039;, &#039;form&#039; =&gt; &#039;application/x-www-form-urlencoded&#039;, &#039;file&#039; =&gt; &#039;multipart/form-data&#039;, &#039;xhtml&#039; =&gt; array( (int) 0 =&gt; &#039;application/xhtml+xml&#039;, (int) 1 =&gt; &#039;application/xhtml&#039;, (int) 2 =&gt; &#039;text/xhtml&#039; ), &#039;xhtml-mobile&#039; =&gt; &#039;application/vnd.wap.xhtml+xml&#039;, &#039;atom&#039; =&gt; &#039;application/atom+xml&#039;, &#039;amf&#039; =&gt; &#039;application/x-amf&#039;, &#039;wap&#039; =&gt; array( (int) 0 =&gt; &#039;text/vnd.wap.wml&#039;, (int) 1 =&gt; &#039;text/vnd.wap.wmlscript&#039;, (int) 2 =&gt; &#039;image/vnd.wap.wbmp&#039; ), &#039;wml&#039; =&gt; &#039;text/vnd.wap.wml&#039;, &#039;wmlscript&#039; =&gt; &#039;text/vnd.wap.wmlscript&#039;, &#039;wbmp&#039; =&gt; &#039;image/vnd.wap.wbmp&#039;, &#039;woff&#039; =&gt; &#039;application/x-font-woff&#039;, &#039;webp&#039; =&gt; &#039;image/webp&#039;, &#039;appcache&#039; =&gt; &#039;text/cache-manifest&#039;, &#039;manifest&#039; =&gt; &#039;text/cache-manifest&#039;, &#039;htc&#039; =&gt; &#039;text/x-component&#039;, &#039;rdf&#039; =&gt; &#039;application/xml&#039;, &#039;crx&#039; =&gt; &#039;application/x-chrome-extension&#039;, &#039;oex&#039; =&gt; &#039;application/x-opera-extension&#039;, &#039;xpi&#039; =&gt; &#039;application/x-xpinstall&#039;, &#039;safariextz&#039; =&gt; &#039;application/octet-stream&#039;, &#039;webapp&#039; =&gt; &#039;application/x-web-app-manifest+json&#039;, &#039;vcf&#039; =&gt; &#039;text/x-vcard&#039;, &#039;vtt&#039; =&gt; &#039;text/vtt&#039;, &#039;mkv&#039; =&gt; &#039;video/x-matroska&#039;, &#039;pkpass&#039; =&gt; &#039;application/vnd.apple.pkpass&#039; ) [protected] _protocol =&gt; &#039;HTTP/1.1&#039; [protected] _status =&gt; (int) 200 [protected] _contentType =&gt; &#039;text/html&#039; [protected] _headers =&gt; array() [protected] _body =&gt; null [protected] _file =&gt; null [protected] _fileRange =&gt; null [protected] _charset =&gt; &#039;UTF-8&#039; [protected] _cacheDirectives =&gt; array() [protected] _cookies =&gt; array() }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ' $scripts_for_layout = '' $title_for_layout = 'Errors'</pre><pre class="stack-trace">include - APP/View/Elements/header.ctp, line 8 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::_renderElement() - CORE/Cake/View/View.php, line 1224 View::element() - CORE/Cake/View/View.php, line 418 include - APP/View/Layouts/default.ctp, line 1 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 960 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 289 ExceptionRenderer::_cakeError() - CORE/Cake/Error/ExceptionRenderer.php, line 210 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 187 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127 [main] - [internal], line ??</pre></div></pre>

Missing Database Connection

Error: A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

Notice: If you want to customize this error message, create app/View/Errors/missing_connection.ctp

Stack Trace