Warning (2) : PDOStatement::execute(): MySQL server has gone away [CORE/Cake/Model/Datasource/DboSource.php , line 458 ]Code Context $query = $this -> _connection -> prepare ( $sql , $prepareOptions );
$query -> setFetchMode ( PDO :: FETCH_LAZY );
if (! $query -> execute ( $params )) {
$sql = 'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
$params = array()
$prepareOptions = array()
$this = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 12
numRows => (int) 12
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
map => 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]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
)
)
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array(
'utf8_swedish_ci' => 'utf8'
)
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 1
[protected] _queriesTime => (float) 1
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => false
[protected] _descriptions => array(
'sindecol_db.noticias' => array(
[maximum depth reached]
)
)
[protected] _sources => array(
(int) 0 => 'administradores',
(int) 1 => 'banners',
(int) 2 => 'beneficios',
(int) 3 => 'categorias',
(int) 4 => 'contatos',
(int) 5 => 'convencoes',
(int) 6 => 'convenios',
(int) 7 => 'curriculos',
(int) 8 => 'empresas',
(int) 9 => 'fotos',
(int) 10 => 'galerias',
(int) 11 => 'galeriatitulos',
(int) 12 => 'links',
(int) 13 => 'newsletters',
(int) 14 => 'noticias',
(int) 15 => 'panfletos',
(int) 16 => 'revistas',
(int) 17 => 'revistatitulos',
(int) 18 => 'sindicatos',
(int) 19 => 'tabelas',
(int) 20 => 'vagas',
(int) 21 => 'videos'
)
[protected] _transactionStarted => false
}
$query = object(PDOStatement) {
queryString => 'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
} PDOStatement::execute() - [internal], line ??
DboSource::_execute() - CORE/Cake/Model/Datasource/DboSource.php, line 458
DboSource::execute() - CORE/Cake/Model/Datasource/DboSource.php, line 424
DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 665
DboSource::read() - CORE/Cake/Model/Datasource/DboSource.php, line 1077
Model::_readDataSource() - CORE/Cake/Model/Model.php, line 2903
Model::find() - CORE/Cake/Model/Model.php, line 2875
PaginatorComponent::paginate() - CORE/Cake/Controller/Component/PaginatorComponent.php, line 210
Controller::paginate() - CORE/Cake/Controller/Controller.php, line 1080
NoticiasController::index() - APP/Controller/NoticiasController.php, line 7
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108 Warning (2) : PDOStatement::execute(): Error reading result set's header [CORE/Cake/Model/Datasource/DboSource.php , line 458 ]Code Context $query = $this -> _connection -> prepare ( $sql , $prepareOptions );
$query -> setFetchMode ( PDO :: FETCH_LAZY );
if (! $query -> execute ( $params )) {
$sql = 'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
$params = array()
$prepareOptions = array()
$this = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 12
numRows => (int) 12
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
map => 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]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
)
)
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array(
'utf8_swedish_ci' => 'utf8'
)
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 1
[protected] _queriesTime => (float) 1
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => false
[protected] _descriptions => array(
'sindecol_db.noticias' => array(
[maximum depth reached]
)
)
[protected] _sources => array(
(int) 0 => 'administradores',
(int) 1 => 'banners',
(int) 2 => 'beneficios',
(int) 3 => 'categorias',
(int) 4 => 'contatos',
(int) 5 => 'convencoes',
(int) 6 => 'convenios',
(int) 7 => 'curriculos',
(int) 8 => 'empresas',
(int) 9 => 'fotos',
(int) 10 => 'galerias',
(int) 11 => 'galeriatitulos',
(int) 12 => 'links',
(int) 13 => 'newsletters',
(int) 14 => 'noticias',
(int) 15 => 'panfletos',
(int) 16 => 'revistas',
(int) 17 => 'revistatitulos',
(int) 18 => 'sindicatos',
(int) 19 => 'tabelas',
(int) 20 => 'vagas',
(int) 21 => 'videos'
)
[protected] _transactionStarted => false
}
$query = object(PDOStatement) {
queryString => 'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
} PDOStatement::execute() - [internal], line ??
DboSource::_execute() - CORE/Cake/Model/Datasource/DboSource.php, line 458
DboSource::execute() - CORE/Cake/Model/Datasource/DboSource.php, line 424
DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 665
DboSource::read() - CORE/Cake/Model/Datasource/DboSource.php, line 1077
Model::_readDataSource() - CORE/Cake/Model/Model.php, line 2903
Model::find() - CORE/Cake/Model/Model.php, line 2875
PaginatorComponent::paginate() - CORE/Cake/Controller/Component/PaginatorComponent.php, line 210
Controller::paginate() - CORE/Cake/Controller/Controller.php, line 1080
NoticiasController::index() - APP/Controller/NoticiasController.php, line 7
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108
SINDECOLON: Sindicato dos empregados no comércio de Londrina:
Errors
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/sindecolon/public_html/lib/Cake/Utility/Debugger.php:800) [APP/View/Layouts/default.ctp , line 116 ]Code Context <?php echo $this -> element ( 'popup' ); ?>
<?php endif ?>
<? setcookie ( 'jquery_popup' , 'jQuery Popup' , time () + 180 );
$viewFile = '/home/sindecolon/public_html/app/View/Layouts/default.ctp'
$dataForView = array(
'keywords_for_layout' => 'ford, fiori, veículos, novos, seminovos, Campo Mourão, Goioerê',
'description_for_layout' => 'Ford Fiori - Concessionária Ford em Campo Mourão e Goioerê',
'title_for_layout' => 'Errors',
'code' => (int) 500,
'url' => '/noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12',
'name' => 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away',
'error' => object(PDOException) {
errorInfo => array(
[maximum depth reached]
)
queryString => 'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
[protected] message => 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away'
[protected] code => 'HY000'
[protected] file => '/home/sindecolon/public_html/lib/Cake/Model/Datasource/DboSource.php'
[protected] line => (int) 458
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'url',
(int) 2 => 'name',
(int) 3 => 'error'
),
'usuario_ativo' => null,
'logado' => false,
'content_for_layout' => '<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away</p>
<p class="notice">
<strong>SQL Query: </strong>
SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1 </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.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 458</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</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">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/DboSource.php line 424</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string, array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</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"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</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-1" class="cake-code-dump" style="display: none;"><pre>'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
array()</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Datasource/DboSource.php line 665</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute(string, array, array)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
array()
array()</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Datasource/DboSource.php line 1077</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll(string, boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">generateAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$null</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"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</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-3" class="cake-code-dump" style="display: none;"><pre>'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
false</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 2903</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read(Noticia, array)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(Noticia) {
name => 'Noticia'
validate => array(
[maximum depth reached]
)
useDbConfig => 'default'
useTable => 'noticias'
id => false
data => array([maximum depth reached])
schemaName => 'sindecol_db'
table => 'noticias'
primaryKey => 'id'
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'Noticia'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'count'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
findMethods => array(
[maximum depth reached]
)
[protected] _schema => array(
[maximum depth reached]
)
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
array(
'conditions' => array(),
'fields' => 'COUNT(*) AS `count`',
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => false
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'maxLimit' => (int) 12,
'paramType' => 'named'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 2875</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'count'
array(
'conditions' => array(),
'fields' => 'COUNT(*) AS `count`',
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => false
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'maxLimit' => (int) 12,
'paramType' => 'named'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Controller/Component/PaginatorComponent.php line 210</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find(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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$recursive </span><span style="color: #007700">!= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">recursive</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $parameters</span><span style="color: #007700">[</span><span style="color: #DD0000">'recursive'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$recursive</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $count </span><span style="color: #007700">= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'count'</span><span style="color: #007700">, </span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$parameters</span><span style="color: #007700">, </span><span style="color: #0000BB">$extra</span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'count'
array(
'conditions' => array(),
'maxLimit' => (int) 12,
'paramType' => 'named'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Controller/Controller.php line 1080</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">PaginatorComponent->paginate(string, array, array)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">link http</span><span style="color: #007700">:</span><span style="color: #FF8000">//book.cakephp.org/2.0/en/controllers.html#Controller::paginate</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope </span><span style="color: #007700">= array(), </span><span style="color: #0000BB">$whitelist </span><span style="color: #007700">= array()) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Components</span><span style="color: #007700">-></span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'Paginator'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">)-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope</span><span style="color: #007700">, </span><span style="color: #0000BB">$whitelist</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'Noticia'
array()
array()</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/NoticiasController.php line 7</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Controller->paginate(string)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">index</span><span style="color: #007700">(</span><span style="color: #0000BB">$slug </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">){</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate </span><span style="color: #007700">= array(</span><span style="color: #DD0000">'order' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'Noticia.created' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'desc'</span><span style="color: #007700">), </span><span style="color: #DD0000">'limit' </span><span style="color: #007700">=> </span><span style="color: #0000BB">12</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// $this->set('noticias', $this->Paginator->paginate());</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $noticias </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #DD0000">'Noticia'</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'noticias'</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'Noticia'</pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">NoticiasController->index(string, string, string, string, string, string, string, string, string)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>'favicon-16x16.png'
'favicon-196x196.png'
'apple-touch-icon-114x114.png'
'favicon-96x96.png'
'apple-touch-icon-120x120.png'
'apple-touch-icon-152x152.png'
'favicon-32x32.png'
'apple-touch-icon-60x60.png'
'favicon-160x160.png'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">ReflectionMethod->invokeArgs(NoticiasController, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'action'</span><span style="color: #007700">]</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$method</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'pass'</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-10" class="cake-code-dump" style="display: none;"><pre>object(NoticiasController) {
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
name => 'Noticias'
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Noticias'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Noticia'
modelKey => 'noticia'
validationErrors => null
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Noticia => object(Noticia) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
array(
(int) 0 => 'favicon-16x16.png',
(int) 1 => 'favicon-196x196.png',
(int) 2 => 'apple-touch-icon-114x114.png',
(int) 3 => 'favicon-96x96.png',
(int) 4 => 'apple-touch-icon-120x120.png',
(int) 5 => 'apple-touch-icon-152x152.png',
(int) 6 => 'favicon-32x32.png',
(int) 7 => 'apple-touch-icon-60x60.png',
(int) 8 => 'favicon-160x160.png'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Routing/Dispatcher.php line 185</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $render </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
base => ''
webroot => '/'
here => '/noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Routing/Dispatcher.php line 160</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Dispatcher->_invoke(NoticiasController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>object(NoticiasController) {
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
name => 'Noticias'
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Noticias'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Noticia'
modelKey => 'noticia'
validationErrors => null
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Noticia => object(Noticia) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
base => ''
webroot => '/'
here => '/noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array(
[maximum depth reached]
)
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/webroot/index.php line 108</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
base => ''
webroot => '/'
here => '/noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array(
[maximum depth reached]
)
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display === 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
',
'scripts_for_layout' => ''
)
$keywords_for_layout = 'ford, fiori, veículos, novos, seminovos, Campo Mourão, Goioerê'
$description_for_layout = 'Ford Fiori - Concessionária Ford em Campo Mourão e Goioerê'
$title_for_layout = 'Errors'
$code = (int) 500
$url = '/noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
$name = 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away'
$error = object(PDOException) {
errorInfo => array(
(int) 0 => 'HY000',
(int) 1 => (int) 2006,
(int) 2 => 'MySQL server has gone away'
)
queryString => 'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
[protected] message => 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away'
[protected] code => 'HY000'
[protected] file => '/home/sindecolon/public_html/lib/Cake/Model/Datasource/DboSource.php'
[protected] line => (int) 458
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'url',
(int) 2 => 'name',
(int) 3 => 'error'
)
$usuario_ativo = null
$logado = false
$content_for_layout = '<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away</p>
<p class="notice">
<strong>SQL Query: </strong>
SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1 </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.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 458</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</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">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/DboSource.php line 424</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string, array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</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"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</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-1" class="cake-code-dump" style="display: none;"><pre>'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
array()</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Datasource/DboSource.php line 665</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute(string, array, array)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
array()
array()</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Datasource/DboSource.php line 1077</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll(string, boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">generateAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$null</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"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</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-3" class="cake-code-dump" style="display: none;"><pre>'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
false</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 2903</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read(Noticia, array)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(Noticia) {
name => 'Noticia'
validate => array(
[maximum depth reached]
)
useDbConfig => 'default'
useTable => 'noticias'
id => false
data => array([maximum depth reached])
schemaName => 'sindecol_db'
table => 'noticias'
primaryKey => 'id'
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'Noticia'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'count'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
findMethods => array(
[maximum depth reached]
)
[protected] _schema => array(
[maximum depth reached]
)
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
array(
'conditions' => array(),
'fields' => 'COUNT(*) AS `count`',
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => false
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'maxLimit' => (int) 12,
'paramType' => 'named'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 2875</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'count'
array(
'conditions' => array(),
'fields' => 'COUNT(*) AS `count`',
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => false
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'maxLimit' => (int) 12,
'paramType' => 'named'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Controller/Component/PaginatorComponent.php line 210</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find(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"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$recursive </span><span style="color: #007700">!= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">recursive</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $parameters</span><span style="color: #007700">[</span><span style="color: #DD0000">'recursive'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$recursive</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $count </span><span style="color: #007700">= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'count'</span><span style="color: #007700">, </span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$parameters</span><span style="color: #007700">, </span><span style="color: #0000BB">$extra</span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'count'
array(
'conditions' => array(),
'maxLimit' => (int) 12,
'paramType' => 'named'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Controller/Controller.php line 1080</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">PaginatorComponent->paginate(string, array, array)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">link http</span><span style="color: #007700">:</span><span style="color: #FF8000">//book.cakephp.org/2.0/en/controllers.html#Controller::paginate</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope </span><span style="color: #007700">= array(), </span><span style="color: #0000BB">$whitelist </span><span style="color: #007700">= array()) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Components</span><span style="color: #007700">-></span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'Paginator'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">)-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope</span><span style="color: #007700">, </span><span style="color: #0000BB">$whitelist</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'Noticia'
array()
array()</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/NoticiasController.php line 7</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Controller->paginate(string)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">index</span><span style="color: #007700">(</span><span style="color: #0000BB">$slug </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">){</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate </span><span style="color: #007700">= array(</span><span style="color: #DD0000">'order' </span><span style="color: #007700">=> array(</span><span style="color: #DD0000">'Noticia.created' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'desc'</span><span style="color: #007700">), </span><span style="color: #DD0000">'limit' </span><span style="color: #007700">=> </span><span style="color: #0000BB">12</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// $this->set('noticias', $this->Paginator->paginate());</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $noticias </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #DD0000">'Noticia'</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'noticias'</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'Noticia'</pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">NoticiasController->index(string, string, string, string, string, string, string, string, string)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>'favicon-16x16.png'
'favicon-196x196.png'
'apple-touch-icon-114x114.png'
'favicon-96x96.png'
'apple-touch-icon-120x120.png'
'apple-touch-icon-152x152.png'
'favicon-32x32.png'
'apple-touch-icon-60x60.png'
'favicon-160x160.png'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">ReflectionMethod->invokeArgs(NoticiasController, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'action'</span><span style="color: #007700">]</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$method</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'pass'</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-10" class="cake-code-dump" style="display: none;"><pre>object(NoticiasController) {
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
name => 'Noticias'
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Noticias'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Noticia'
modelKey => 'noticia'
validationErrors => null
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Noticia => object(Noticia) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
array(
(int) 0 => 'favicon-16x16.png',
(int) 1 => 'favicon-196x196.png',
(int) 2 => 'apple-touch-icon-114x114.png',
(int) 3 => 'favicon-96x96.png',
(int) 4 => 'apple-touch-icon-120x120.png',
(int) 5 => 'apple-touch-icon-152x152.png',
(int) 6 => 'favicon-32x32.png',
(int) 7 => 'apple-touch-icon-60x60.png',
(int) 8 => 'favicon-160x160.png'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Routing/Dispatcher.php line 185</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $render </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
base => ''
webroot => '/'
here => '/noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Routing/Dispatcher.php line 160</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Dispatcher->_invoke(NoticiasController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>object(NoticiasController) {
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
name => 'Noticias'
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Noticias'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Noticia'
modelKey => 'noticia'
validationErrors => null
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Noticia => object(Noticia) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
base => ''
webroot => '/'
here => '/noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array(
[maximum depth reached]
)
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/webroot/index.php line 108</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">()</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
base => ''
webroot => '/'
here => '/noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array(
[maximum depth reached]
)
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display === 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
'
$scripts_for_layout = ''
$cakeDescription = 'SINDECOLON: Sindicato dos empregados no comércio de Londrina'
$pagina = 'noticiasindexfavicon-16x16.pngfavicon-196x196.pngapple-touch-icon-114x114.pngfavicon-96x96.pngapple-touch-icon-120x120.pngapple-touch-icon-152x152.pngfavicon-32x32.pngapple-touch-icon-60x60.pngfavicon-160x160.pngpage:12'
$class = 'paginas' setcookie - [internal], line ??
include - APP/View/Layouts/default.ctp, line 116
View::_evaluate() - CORE/Cake/View/View.php, line 935
View::_render() - CORE/Cake/View/View.php, line 897
View::renderLayout() - CORE/Cake/View/View.php, line 529
View::render() - CORE/Cake/View/View.php, line 474
Controller::render() - CORE/Cake/Controller/Controller.php, line 954
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 273
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 262
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 175
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 120
[main] - [internal], line ??
Database Error
Error:
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
SQL Query:
SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1
Notice:
If you want to customize this error message, create app/View/Errors/pdo_error.ctp
Stack Trace
CORE/Cake/Model/Datasource/DboSource.php line 458 → PDOStatement->execute(array) try {
$query = $this -> _connection -> prepare ( $sql , $prepareOptions );
$query -> setFetchMode ( PDO :: FETCH_LAZY );
if (! $query -> execute ( $params )) {
$this -> _results = $query ;
CORE/Cake/Model/Datasource/DboSource.php line 424 → DboSource->_execute(string, array) $options += array( 'log' => $this -> fullDebug );
$t = microtime ( true );
$this -> _result = $this -> _execute ( $sql , $params );
'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
array()
CORE/Cake/Model/Datasource/DboSource.php line 665 → DboSource->execute(string, array, array) if ( $cache && ( $cached = $this -> getQueryCache ( $sql , $params )) !== false ) {
return $cached ;
}
$result = $this -> execute ( $sql , array(), $params );
if ( $result ) {
'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
array()
array()
CORE/Cake/Model/Datasource/DboSource.php line 1077 → DboSource->fetchAll(string, boolean)
$query = $this -> generateAssociationQuery ( $model , null , null , null , null , $queryData , false , $null );
$resultSet = $this -> fetchAll ( $query , $model -> cacheQueries );
'SELECT COUNT(*) AS `count` FROM `sindecol_db`.`noticias` AS `Noticia` WHERE 1 = 1'
false
CORE/Cake/Model/Model.php line 2903 → DboSource->read(Noticia, array) * @return array
*/
protected function _readDataSource ( $type , $query ) {
$results = $this -> getDataSource ()-> read ( $this , $query );
$this -> resetAssociations ();
object(Noticia) {
name => 'Noticia'
validate => array(
[maximum depth reached]
)
useDbConfig => 'default'
useTable => 'noticias'
id => false
data => array([maximum depth reached])
schemaName => 'sindecol_db'
table => 'noticias'
primaryKey => 'id'
validationErrors => array([maximum depth reached])
validationDomain => null
tablePrefix => ''
plugin => null
alias => 'Noticia'
tableToModel => array(
[maximum depth reached]
)
cacheQueries => false
belongsTo => array([maximum depth reached])
hasOne => array([maximum depth reached])
hasMany => array([maximum depth reached])
hasAndBelongsToMany => array([maximum depth reached])
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array([maximum depth reached])
cacheSources => true
findQueryType => 'count'
recursive => (int) 1
order => null
virtualFields => array([maximum depth reached])
__backAssociation => array([maximum depth reached])
__backInnerAssociation => array([maximum depth reached])
__backOriginalAssociation => array([maximum depth reached])
__backContainableAssociation => array([maximum depth reached])
findMethods => array(
[maximum depth reached]
)
[protected] _schema => array(
[maximum depth reached]
)
[protected] _associationKeys => array(
[maximum depth reached]
)
[protected] _associations => array(
[maximum depth reached]
)
[protected] _insertID => null
[protected] _sourceConfigured => true
[protected] _eventManager => object(CakeEventManager) {}
[protected] _validator => null
}
array(
'conditions' => array(),
'fields' => 'COUNT(*) AS `count`',
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => false
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'maxLimit' => (int) 12,
'paramType' => 'named'
)
CORE/Cake/Model/Model.php line 2875 → Model->_readDataSource(string, array) return null ;
}
return $this -> _readDataSource ( $type , $query );
}
'count'
array(
'conditions' => array(),
'fields' => 'COUNT(*) AS `count`',
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => false
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'maxLimit' => (int) 12,
'paramType' => 'named'
)
CORE/Cake/Controller/Component/PaginatorComponent.php line 210 → Model->find(string, array) if ( $recursive != $object -> recursive ) {
$parameters [ 'recursive' ] = $recursive ;
}
$count = $object -> find ( 'count' , array_merge ( $parameters , $extra ));
}
'count'
array(
'conditions' => array(),
'maxLimit' => (int) 12,
'paramType' => 'named'
)
CORE/Cake/Controller/Controller.php line 1080 → PaginatorComponent->paginate(string, array, array) * @ link http : //book.cakephp.org/2.0/en/controllers.html#Controller::paginate
*/
public function paginate ( $object = null , $scope = array(), $whitelist = array()) {
return $this -> Components -> load ( 'Paginator' , $this -> paginate )-> paginate ( $object , $scope , $whitelist );
}
'Noticia'
array()
array()
APP/Controller/NoticiasController.php line 7 → Controller->paginate(string) public function index ( $slug = null ){
$this -> paginate = array( 'order' => array( 'Noticia.created' => 'desc' ), 'limit' => 12 );
// $this->set('noticias', $this->Paginator->paginate());
$noticias = $this -> paginate ( 'Noticia' );
$this -> set ( compact ( 'noticias' ));
[internal function] → NoticiasController->index(string, string, string, string, string, string, string, string, string) 'favicon-16x16.png'
'favicon-196x196.png'
'apple-touch-icon-114x114.png'
'favicon-96x96.png'
'apple-touch-icon-120x120.png'
'apple-touch-icon-152x152.png'
'favicon-32x32.png'
'apple-touch-icon-60x60.png'
'favicon-160x160.png'
CORE/Cake/Controller/Controller.php line 490 → ReflectionMethod->invokeArgs(NoticiasController, array) 'action' => $request -> params [ 'action' ]
));
}
return $method -> invokeArgs ( $this , $request -> params [ 'pass' ]);
object(NoticiasController) {
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
name => 'Noticias'
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Noticias'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Noticia'
modelKey => 'noticia'
validationErrors => null
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Noticia => object(Noticia) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
array(
(int) 0 => 'favicon-16x16.png',
(int) 1 => 'favicon-196x196.png',
(int) 2 => 'apple-touch-icon-114x114.png',
(int) 3 => 'favicon-96x96.png',
(int) 4 => 'apple-touch-icon-120x120.png',
(int) 5 => 'apple-touch-icon-152x152.png',
(int) 6 => 'favicon-32x32.png',
(int) 7 => 'apple-touch-icon-60x60.png',
(int) 8 => 'favicon-160x160.png'
)
CORE/Cake/Routing/Dispatcher.php line 185 → Controller->invokeAction(CakeRequest) $controller -> startupProcess ();
$render = true ;
$result = $controller -> invokeAction ( $request );
if ( $result instanceof CakeResponse ) {
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
base => ''
webroot => '/'
here => '/noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
CORE/Cake/Routing/Dispatcher.php line 160 → Dispatcher->_invoke(NoticiasController, CakeRequest, CakeResponse) ));
}
$response = $this -> _invoke ( $controller , $request , $response );
if (isset( $request -> params [ 'return' ])) {
object(NoticiasController) {
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
name => 'Noticias'
uses => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Noticias'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'index'
layout => 'default'
autoRender => true
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Noticia'
modelKey => 'noticia'
validationErrors => null
Auth => object(AuthComponent) {}
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Noticia => object(Noticia) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
base => ''
webroot => '/'
here => '/noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array(
[maximum depth reached]
)
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
APP/webroot/index.php line 108 → Dispatcher->dispatch(CakeRequest, CakeResponse) $Dispatcher -> dispatch (
new CakeRequest (),
new CakeResponse ()
);
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
base => ''
webroot => '/'
here => '/noticias/index/favicon-16x16.png/favicon-196x196.png/apple-touch-icon-114x114.png/favicon-96x96.png/apple-touch-icon-120x120.png/apple-touch-icon-152x152.png/favicon-32x32.png/apple-touch-icon-60x60.png/favicon-160x160.png/page:12'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array(
[maximum depth reached]
)
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}