Warning (2) : PDO::__construct() [pdo.--construct ]: [2002] Connection refused (trying to connect via unix:///var/lib/mysql/mysql.sock) [APP/cakephp-2.5.3/lib/Cake/Model/Datasource/Database/Mysql.php , line 183 ]Code Context $config = array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'flags' => array(),
'datasource' => 'Database/Mysql',
'encoding' => 'utf8'
)
$flags = array(
(int) 12 => (int) 0,
(int) 1000 => (int) 1,
(int) 3 => (int) 2,
(int) 1002 => 'SET NAMES utf8'
)
$dsn = 'mysql:host=localhost;port=3306;dbname=sieuthicay_web'
$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]
),
'unsigned' => 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]
),
'decimal' => 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 => false
affected => null
numRows => null
took => null
configKeyName => null
virtualFieldSeparator => '__'
connected => false
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'flags' => array([maximum depth reached]),
'datasource' => 'Database/Mysql',
'encoding' => 'utf8'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true,
'flags' => array([maximum depth reached])
)
[protected] _connection => null
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => null
[protected] _queriesCnt => (int) 0
[protected] _queriesTime => null
[protected] _queriesLog => array()
[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()
[protected] _sources => null
[protected] _transactionStarted => false
} PDO::__construct() - [internal], line ??
Mysql::connect() - APP/cakephp-2.5.3/lib/Cake/Model/Datasource/Database/Mysql.php, line 183
DboSource::__construct() - APP/cakephp-2.5.3/lib/Cake/Model/Datasource/DboSource.php, line 260
ConnectionManager::getDataSource() - APP/cakephp-2.5.3/lib/Cake/Model/ConnectionManager.php, line 105
Model::setDataSource() - APP/cakephp-2.5.3/lib/Cake/Model/Model.php, line 3498
Model::setSource() - APP/cakephp-2.5.3/lib/Cake/Model/Model.php, line 1136
Model::getDataSource() - APP/cakephp-2.5.3/lib/Cake/Model/Model.php, line 3525
Model::_readDataSource() - APP/cakephp-2.5.3/lib/Cake/Model/Model.php, line 2921
Model::find() - APP/cakephp-2.5.3/lib/Cake/Model/Model.php, line 2893
AppController::_beforeFilterFrontend() - APP/Controller/AppController.php, line 121
AppController::__handleAuthentication() - APP/Controller/AppController.php, line 63
AppController::beforeFilter() - APP/Controller/AppController.php, line 53
call_user_func - [internal], line ??
CakeEventManager::dispatch() - APP/cakephp-2.5.3/lib/Cake/Event/CakeEventManager.php, line 242
Controller::startupProcess() - APP/cakephp-2.5.3/lib/Cake/Controller/Controller.php, line 674
Dispatcher::_invoke() - APP/cakephp-2.5.3/lib/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - APP/cakephp-2.5.3/lib/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 99 Warning (2) : PDO::__construct() [pdo.--construct ]: [2002] Connection refused (trying to connect via unix:///var/lib/mysql/mysql.sock) [APP/cakephp-2.5.3/lib/Cake/Model/Datasource/Database/Mysql.php , line 183 ]Code Context $config = array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'flags' => array(),
'datasource' => 'Database/Mysql',
'encoding' => 'utf8'
)
$flags = array(
(int) 12 => (int) 0,
(int) 1000 => (int) 1,
(int) 3 => (int) 2,
(int) 1002 => 'SET NAMES utf8'
)
$dsn = 'mysql:host=localhost;port=3306;dbname=sieuthicay_web'
$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]
),
'unsigned' => 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]
),
'decimal' => 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 => false
affected => null
numRows => null
took => null
configKeyName => null
virtualFieldSeparator => '__'
connected => false
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'flags' => array([maximum depth reached]),
'datasource' => 'Database/Mysql',
'encoding' => 'utf8'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true,
'flags' => array([maximum depth reached])
)
[protected] _connection => null
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => null
[protected] _queriesCnt => (int) 0
[protected] _queriesTime => null
[protected] _queriesLog => array()
[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()
[protected] _sources => null
[protected] _transactionStarted => false
} PDO::__construct() - [internal], line ??
Mysql::connect() - APP/cakephp-2.5.3/lib/Cake/Model/Datasource/Database/Mysql.php, line 183
DboSource::__construct() - APP/cakephp-2.5.3/lib/Cake/Model/Datasource/DboSource.php, line 260
ConnectionManager::getDataSource() - APP/cakephp-2.5.3/lib/Cake/Model/ConnectionManager.php, line 105
Model::getDataSource() - APP/cakephp-2.5.3/lib/Cake/Model/Model.php, line 3528
Model::_readDataSource() - APP/cakephp-2.5.3/lib/Cake/Model/Model.php, line 2921
Model::find() - APP/cakephp-2.5.3/lib/Cake/Model/Model.php, line 2893
AppController::_beforeFilterFrontend() - APP/Controller/AppController.php, line 121
AppController::__handleAuthentication() - APP/Controller/AppController.php, line 63
AppController::beforeFilter() - APP/Controller/AppController.php, line 53
call_user_func - [internal], line ??
CakeEventManager::dispatch() - APP/cakephp-2.5.3/lib/Cake/Event/CakeEventManager.php, line 242
Controller::startupProcess() - APP/cakephp-2.5.3/lib/Cake/Controller/Controller.php, line 674
ExceptionRenderer::_getController() - APP/cakephp-2.5.3/lib/Cake/Error/ExceptionRenderer.php, line 155
ExceptionRenderer::__construct() - APP/cakephp-2.5.3/lib/Cake/Error/ExceptionRenderer.php, line 92
ErrorHandler::handleException() - APP/cakephp-2.5.3/lib/Cake/Error/ErrorHandler.php, line 118
[main] - [internal], line ??
Errors Notice (8) : Undefined variable: a_site_info [APP/View/Elements/frontend/head.ctp , line 23 ]Code Context echo '<meta name="viewport" content="width=device-width, initial-scale=1">' ;
echo "<meta name='author' content=' { $_SERVER [ 'HTTP_HOST' ]} '>" ;
if(!empty( $oneweb_plugin [ 'comment_facebook' ])) echo "<meta property='fb:admins' content=' { $a_site_info [ 'facebook_id' ]} '/>" ;
$viewFile = '/home/sieuthicay/domains/sieuthicayxanh.vn/public_html/View/Elements/frontend/head.ctp'
$dataForView = array(
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [2002] Connection refused',
'enabled' => true,
'code' => (int) 500,
'name' => 'Database connection "Mysql" is missing, or could not be created.',
'url' => '/pdo.--construct',
'error' => object(MissingConnectionException) {
[protected] _messageTemplate => 'Database connection "%s" is missing, or could not be created.'
[protected] _attributes => array(
[maximum depth reached]
)
[protected] _responseHeaders => null
[protected] message => 'Database connection "Mysql" is missing, or could not be created.'
[protected] code => (int) 500
[protected] file => '/home/sieuthicay/domains/sieuthicayxanh.vn/public_html/cakephp-2.5.3/lib/Cake/Model/Datasource/Database/Mysql.php'
[protected] line => (int) 191
},
'_serialize' => array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
),
'positionSetActive' => null,
'controller' => 'products',
'action' => 'index',
'currentUrl' => 'e2d5fa11e9e3673eec325cf9b01c1a85',
'oneweb_web' => array(
'seo' => true,
'column_left' => true,
'column_right' => false,
'social' => true,
'nav_footer' => true,
'drop_down' => false,
'notifice' => true,
'tooltip_effect' => 'bt',
'icon_discount' => false,
'icon_promotion' => false,
'right_click' => true,
'help' => 'http://help.url.net.vn/'
),
'oneweb_product' => array(
'path' => array(
'product' => '../webroot/img/images/products',
'category' => '../webroot/img/images/product_categories'
),
'size' => array(
'product' => array(
[maximum depth reached]
),
'category' => array(
[maximum depth reached]
)
),
'enable' => true,
'code' => true,
'images' => true,
'price' => true,
'promotion' => false,
'related' => false,
'currency' => false,
'order' => false,
'cart_button' => false,
'pro_child' => false,
'multi_box' => false,
'display' => array(
(int) 0 => 'Sản phẩm ưa chuộng',
(int) 1 => 'Sản phẩm',
(int) 4 => 'Sản phẩm Hot',
(int) 5 => 'Sản phẩm ưa chuộng',
(int) 6 => 'Sản phẩm',
(int) 7 => 'Sản phẩm Hot'
)
),
'oneweb_post' => array(
'path' => array(
'post' => '../webroot/img/images/posts',
'category' => '../webroot/img/images/post_categories'
),
'size' => array(
'post' => array(
[maximum depth reached]
),
'category' => array(
[maximum depth reached]
)
),
'enable' => true,
'post_child' => true,
'display' => array(
(int) 0 => 'Tin mới',
(int) 4 => 'Tin quan tâm',
(int) 5 => 'Tin mới',
(int) 6 => 'Tin quan tâm'
),
'category_position' => array(
(int) 1 => 'Menu vị trí 1',
(int) 2 => 'Menu vị trí 2',
(int) 3 => 'Menu vị trí 3',
(int) 4 => 'Menu vị trí 4',
(int) 5 => 'Menu vị trí 1',
(int) 6 => 'Menu vị trí 2',
(int) 7 => 'Menu vị trí 3',
(int) 8 => 'Menu vị trí 4'
)
),
'oneweb_information' => array(
'enable' => true,
'position' => array(
(int) 1 => 'Menu vi tri 1',
(int) 2 => 'Menu vi tri 2',
(int) 3 => 'Menu vi tri 3',
(int) 4 => 'Menu vi tri 4',
(int) 5 => 'Menu top vi tri 1',
(int) 6 => 'Menu top vi tri 2',
(int) 7 => 'Menu vi tri 1',
(int) 8 => 'Menu vi tri 2',
(int) 9 => 'Menu vi tri 3',
(int) 10 => 'Menu vi tri 4',
(int) 11 => 'Menu top vi tri 1',
(int) 12 => 'Menu top vi tri 2'
)
),
'oneweb_banner' => array(
'path' => '../webroot/img/images/banners',
'size' => 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]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
)
),
'enable' => true,
'display' => array(
(int) 0 => 'Banner',
(int) 1 => 'Slideshow',
(int) 2 => 'Logo chạy chân web',
(int) 3 => 'Quảng cáo cột trái',
(int) 5 => 'Đối tác cột trái',
(int) 6 => 'Banner',
(int) 7 => 'Slideshow',
(int) 8 => 'Logo chạy chân web',
(int) 9 => 'Quảng cáo cột trái',
(int) 10 => 'Đối tác cột trái'
)
),
'oneweb_media' => array(
'path' => array(
'gallery' => '../webroot/img/images/galleries',
'video' => '../webroot/img/images/videos',
'document' => '../webroot/img/files',
'document_category' => '../webroot/img/images/documents'
),
'size' => array(
'gallery' => array(
[maximum depth reached]
),
'video' => array(
[maximum depth reached]
),
'document_category' => array(
[maximum depth reached]
)
),
'video' => array(
'enable' => true,
'display' => array(
[maximum depth reached]
)
),
'document' => array(
'enable' => false,
'display' => array(
[maximum depth reached]
)
),
'gallery' => array(
'enable' => false,
'display' => array(
[maximum depth reached]
)
)
),
'oneweb_language' => null,
'oneweb_path' => null,
'oneweb_size' => null,
'oneweb_member' => array(
'enable' => false,
'message' => false
),
'oneweb_plugin' => array(
'poll' => false,
'newsletter' => false,
'faq' => false,
'tag' => false,
'chat' => true,
'livechat' => false,
'counter' => true,
'comment_web' => false,
'comment_google' => false,
'comment_facebook' => true,
'rate' => false,
'sitemap_xml' => false,
'sitemap_html' => false
),
'content_for_layout' => '<h2>Missing Database Connection</h2>
<p class="error">
<strong>Error: </strong>
A Database connection using "Mysql" was missing or unable to connect. <br />
The database server returned this error: SQLSTATE[HY000] [2002] Connection refused</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/missing_connection.ctp</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">APP/cakephp-2.5.3/lib/Cake/Model/Datasource/DboSource.php line 260</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">Mysql->connect()</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$autoConnect</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">connect</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">APP/cakephp-2.5.3/lib/Cake/Model/ConnectionManager.php line 105</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->__construct(array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'message' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Datasource is not found in Model/Datasource package.'</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">] = new </span><span style="color: #0000BB">$class</span><span style="color: #007700">(</span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">$config</span><span style="color: #007700">->{</span><span style="color: #0000BB">$name</span><span style="color: #007700">});</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">]-></span><span style="color: #0000BB">configKeyName </span><span style="color: #007700">= </span><span style="color: #0000BB">$name</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => false,
'encoding' => 'utf8'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 3498</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">ConnectionManager::getDataSource(string)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig </span><span style="color: #007700">= </span><span style="color: #0000BB">$dataSource</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<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"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$oldConfig</span><span style="color: #007700">) && isset(</span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">config</span><span style="color: #007700">[</span><span style="color: #DD0000">'prefix'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 1136</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->setDataSource(string)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">void</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$tableName</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">setDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 3525</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->setSource(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">() {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">&& </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable </span><span style="color: #007700">!== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'information'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 2921</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->getDataSource()</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @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-5" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 2893</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </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-6" class="cake-code-dump" style="display: none;"><pre>'all'
array(
'conditions' => array(
'public' => (int) 1,
'parent_id' => null
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'name',
(int) 2 => 'slug',
(int) 3 => 'meta_title',
(int) 4 => 'link',
(int) 5 => 'rel',
(int) 6 => 'target',
(int) 7 => 'position'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'recursive' => (int) -1
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Controller/AppController.php line 121</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Model->find(string, 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: #DD0000">'fields'</span><span style="color: #007700">=>array(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">,</span><span style="color: #DD0000">'name'</span><span style="color: #007700">,</span><span style="color: #DD0000">'slug'</span><span style="color: #007700">,</span><span style="color: #DD0000">'meta_title'</span><span style="color: #007700">,</span><span style="color: #DD0000">'link'</span><span style="color: #007700">,</span><span style="color: #DD0000">'rel'</span><span style="color: #007700">,</span><span style="color: #DD0000">'target'</span><span style="color: #007700">,</span><span style="color: #DD0000">'position'</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'order'</span><span style="color: #007700">=>array(</span><span style="color: #DD0000">'sort'</span><span style="color: #007700">=></span><span style="color: #DD0000">'asc'</span><span style="color: #007700">,</span><span style="color: #DD0000">'name'</span><span style="color: #007700">=></span><span style="color: #DD0000">'asc'</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'recursive'</span><span style="color: #007700">=>-</span><span style="color: #0000BB">1</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"> Cache</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">"information_nav"</span><span style="color: #007700">,</span><span style="color: #0000BB">$a_information_nav</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'all'
array(
'conditions' => array(
'public' => (int) 1,
'parent_id' => null
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'name',
(int) 2 => 'slug',
(int) 3 => 'meta_title',
(int) 4 => 'link',
(int) 5 => 'rel',
(int) 6 => 'target',
(int) 7 => 'position'
),
'order' => array(
'sort' => 'asc',
'name' => 'asc'
),
'recursive' => (int) -1
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 63</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">AppController->_beforeFilterFrontend()</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (empty(</span><span style="color: #0000BB">$a_params</span><span style="color: #007700">[</span><span style="color: #DD0000">'admin'</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">Auth</span><span style="color: #007700">-></span><span style="color: #0000BB">allow</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">layout </span><span style="color: #007700">= </span><span style="color: #DD0000">'frontend/index'</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">_beforeFilterFrontend</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}else{</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/AppController.php line 53</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">AppController->__handleAuthentication()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><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">'oneweb_web'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_product'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_post'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_information'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_banner'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_media'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_language'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_path'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_size'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_member'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_plugin'</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"> date_default_timezone_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'Asia/Ho_Chi_Minh'</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">__handleAuthentication</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">AppController->beforeFilter(CakeEvent)</a> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">APP/cakephp-2.5.3/lib/Cake/Event/CakeEventManager.php line 242</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(ProductsController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/cakephp-2.5.3/lib/Cake/Controller/Controller.php line 674</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">void</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/cakephp-2.5.3/lib/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">Controller->startupProcess()</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">();</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/cakephp-2.5.3/lib/Cake/Routing/Dispatcher.php line 165</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">Dispatcher->_invoke(ProductsController, CakeRequest)</a> <div id="file-excerpt-14" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
limit_admin => (int) 50
limit => (int) 20
uses => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'index'
layout => 'frontend/index'
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 => 'Product'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Auth => object(AuthComponent) {}
Oneweb => object(OnewebComponent) {}
Paginator => object(PaginatorComponent) {}
Upload => object(UploadComponent) {}
Information => object(Information) {}
[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 => 'pdo.--construct'
base => ''
webroot => '/'
here => '/pdo.--construct'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">APP/webroot/index.php line 99</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$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-15" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'pdo.--construct'
base => ''
webroot => '/'
here => '/pdo.--construct'
[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' => '',
'title_for_layout' => 'Errors'
)
$class = 'Mysql'
$message = 'SQLSTATE[HY000] [2002] Connection refused'
$enabled = true
$code = (int) 500
$name = 'Database connection "Mysql" is missing, or could not be created.'
$url = '/pdo.--construct'
$error = object(MissingConnectionException) {
[protected] _messageTemplate => 'Database connection "%s" is missing, or could not be created.'
[protected] _attributes => array(
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [2002] Connection refused',
'enabled' => true
)
[protected] _responseHeaders => null
[protected] message => 'Database connection "Mysql" is missing, or could not be created.'
[protected] code => (int) 500
[protected] file => '/home/sieuthicay/domains/sieuthicayxanh.vn/public_html/cakephp-2.5.3/lib/Cake/Model/Datasource/Database/Mysql.php'
[protected] line => (int) 191
}
$_serialize = array(
(int) 0 => 'code',
(int) 1 => 'name',
(int) 2 => 'message',
(int) 3 => 'url'
)
$positionSetActive = null
$controller = 'products'
$action = 'index'
$currentUrl = 'e2d5fa11e9e3673eec325cf9b01c1a85'
$oneweb_web = array(
'seo' => true,
'column_left' => true,
'column_right' => false,
'social' => true,
'nav_footer' => true,
'drop_down' => false,
'notifice' => true,
'tooltip_effect' => 'bt',
'icon_discount' => false,
'icon_promotion' => false,
'right_click' => true,
'help' => 'http://help.url.net.vn/'
)
$oneweb_product = array(
'path' => array(
'product' => '../webroot/img/images/products',
'category' => '../webroot/img/images/product_categories'
),
'size' => array(
'product' => array(
(int) 0 => (int) 800,
(int) 1 => (int) 600,
(int) 2 => (int) 800,
(int) 3 => (int) 600
),
'category' => array(
(int) 0 => (int) 160,
(int) 1 => (int) 120,
(int) 2 => (int) 160,
(int) 3 => (int) 120
)
),
'enable' => true,
'code' => true,
'images' => true,
'price' => true,
'promotion' => false,
'related' => false,
'currency' => false,
'order' => false,
'cart_button' => false,
'pro_child' => false,
'multi_box' => false,
'display' => array(
(int) 0 => 'Sản phẩm ưa chuộng',
(int) 1 => 'Sản phẩm',
(int) 4 => 'Sản phẩm Hot',
(int) 5 => 'Sản phẩm ưa chuộng',
(int) 6 => 'Sản phẩm',
(int) 7 => 'Sản phẩm Hot'
)
)
$oneweb_post = array(
'path' => array(
'post' => '../webroot/img/images/posts',
'category' => '../webroot/img/images/post_categories'
),
'size' => array(
'post' => array(
(int) 0 => (int) 400,
(int) 1 => (int) 320,
(int) 2 => (int) 400,
(int) 3 => (int) 320
),
'category' => array(
(int) 0 => (int) 120,
(int) 1 => (int) 100,
(int) 2 => (int) 120,
(int) 3 => (int) 100
)
),
'enable' => true,
'post_child' => true,
'display' => array(
(int) 0 => 'Tin mới',
(int) 4 => 'Tin quan tâm',
(int) 5 => 'Tin mới',
(int) 6 => 'Tin quan tâm'
),
'category_position' => array(
(int) 1 => 'Menu vị trí 1',
(int) 2 => 'Menu vị trí 2',
(int) 3 => 'Menu vị trí 3',
(int) 4 => 'Menu vị trí 4',
(int) 5 => 'Menu vị trí 1',
(int) 6 => 'Menu vị trí 2',
(int) 7 => 'Menu vị trí 3',
(int) 8 => 'Menu vị trí 4'
)
)
$oneweb_information = array(
'enable' => true,
'position' => array(
(int) 1 => 'Menu vi tri 1',
(int) 2 => 'Menu vi tri 2',
(int) 3 => 'Menu vi tri 3',
(int) 4 => 'Menu vi tri 4',
(int) 5 => 'Menu top vi tri 1',
(int) 6 => 'Menu top vi tri 2',
(int) 7 => 'Menu vi tri 1',
(int) 8 => 'Menu vi tri 2',
(int) 9 => 'Menu vi tri 3',
(int) 10 => 'Menu vi tri 4',
(int) 11 => 'Menu top vi tri 1',
(int) 12 => 'Menu top vi tri 2'
)
)
$oneweb_banner = array(
'path' => '../webroot/img/images/banners',
'size' => array(
(int) 0 => array(
(int) 0 => (int) 992,
(int) 1 => 'n',
(int) 2 => (int) 992,
(int) 3 => 'n'
),
(int) 1 => array(
(int) 0 => (int) 992,
(int) 1 => (int) 300,
(int) 2 => (int) 992,
(int) 3 => (int) 300
),
(int) 2 => array(
(int) 0 => (int) 180,
(int) 1 => (int) 80,
(int) 2 => (int) 180,
(int) 3 => (int) 80
),
(int) 3 => array(
(int) 0 => (int) 200,
(int) 1 => 'n',
(int) 2 => (int) 200,
(int) 3 => 'n'
),
(int) 4 => array(
(int) 0 => (int) 200,
(int) 1 => 'n',
(int) 2 => (int) 200,
(int) 3 => 'n'
),
(int) 5 => array(
(int) 0 => (int) 200,
(int) 1 => 'n',
(int) 2 => (int) 200,
(int) 3 => 'n'
),
(int) 6 => array(
(int) 0 => (int) 200,
(int) 1 => 'n',
(int) 2 => (int) 200,
(int) 3 => 'n'
),
(int) 7 => array(
(int) 0 => (int) 600,
(int) 1 => 'n',
(int) 2 => (int) 600,
(int) 3 => 'n'
),
(int) 8 => array(
(int) 0 => (int) 160,
(int) 1 => 'n',
(int) 2 => (int) 160,
(int) 3 => 'n'
),
(int) 9 => array(
(int) 0 => (int) 160,
(int) 1 => 'n',
(int) 2 => (int) 160,
(int) 3 => 'n'
)
),
'enable' => true,
'display' => array(
(int) 0 => 'Banner',
(int) 1 => 'Slideshow',
(int) 2 => 'Logo chạy chân web',
(int) 3 => 'Quảng cáo cột trái',
(int) 5 => 'Đối tác cột trái',
(int) 6 => 'Banner',
(int) 7 => 'Slideshow',
(int) 8 => 'Logo chạy chân web',
(int) 9 => 'Quảng cáo cột trái',
(int) 10 => 'Đối tác cột trái'
)
)
$oneweb_media = array(
'path' => array(
'gallery' => '../webroot/img/images/galleries',
'video' => '../webroot/img/images/videos',
'document' => '../webroot/img/files',
'document_category' => '../webroot/img/images/documents'
),
'size' => array(
'gallery' => array(
(int) 0 => (int) 500,
(int) 1 => (int) 400,
(int) 2 => (int) 500,
(int) 3 => (int) 400
),
'video' => array(
(int) 0 => (int) 500,
(int) 1 => (int) 400,
(int) 2 => (int) 500,
(int) 3 => (int) 400
),
'document_category' => array(
(int) 0 => (int) 500,
(int) 1 => (int) 400,
(int) 2 => (int) 500,
(int) 3 => (int) 400
)
),
'video' => array(
'enable' => true,
'display' => array(
(int) 0 => 'Vị trí hiển thị 1',
(int) 1 => 'Vị trí hiển thị 2',
(int) 2 => 'Vị trí hiển thị 3',
(int) 3 => 'Vị trí hiển thị 4',
(int) 4 => 'Vị trí hiển thị 5',
(int) 5 => 'Vị trí hiển thị 1',
(int) 6 => 'Vị trí hiển thị 2',
(int) 7 => 'Vị trí hiển thị 3',
(int) 8 => 'Vị trí hiển thị 4',
(int) 9 => 'Vị trí hiển thị 5'
)
),
'document' => array(
'enable' => false,
'display' => array(
(int) 0 => 'Vị trí hiển thị 1',
(int) 1 => 'Vị trí hiển thị 2',
(int) 2 => 'Vị trí hiển thị 3',
(int) 3 => 'Vị trí hiển thị 4',
(int) 4 => 'Vị trí hiển thị 5',
(int) 5 => 'Vị trí hiển thị 1',
(int) 6 => 'Vị trí hiển thị 2',
(int) 7 => 'Vị trí hiển thị 3',
(int) 8 => 'Vị trí hiển thị 4',
(int) 9 => 'Vị trí hiển thị 5'
)
),
'gallery' => array(
'enable' => false,
'display' => array(
(int) 0 => 'Vị trí hiển thị 1',
(int) 1 => 'Vị trí hiển thị 2',
(int) 2 => 'Vị trí hiển thị 3',
(int) 3 => 'Vị trí hiển thị 4',
(int) 4 => 'Vị trí hiển thị 5',
(int) 5 => 'Vị trí hiển thị 1',
(int) 6 => 'Vị trí hiển thị 2',
(int) 7 => 'Vị trí hiển thị 3',
(int) 8 => 'Vị trí hiển thị 4',
(int) 9 => 'Vị trí hiển thị 5'
)
)
)
$oneweb_language = null
$oneweb_path = null
$oneweb_size = null
$oneweb_member = array(
'enable' => false,
'message' => false
)
$oneweb_plugin = array(
'poll' => false,
'newsletter' => false,
'faq' => false,
'tag' => false,
'chat' => true,
'livechat' => false,
'counter' => true,
'comment_web' => false,
'comment_google' => false,
'comment_facebook' => true,
'rate' => false,
'sitemap_xml' => false,
'sitemap_html' => false
)
$content_for_layout = '<h2>Missing Database Connection</h2>
<p class="error">
<strong>Error: </strong>
A Database connection using "Mysql" was missing or unable to connect. <br />
The database server returned this error: SQLSTATE[HY000] [2002] Connection refused</p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create public_html/View/Errors/missing_connection.ctp</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">APP/cakephp-2.5.3/lib/Cake/Model/Datasource/DboSource.php line 260</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">Mysql->connect()</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$autoConnect</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">connect</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">APP/cakephp-2.5.3/lib/Cake/Model/ConnectionManager.php line 105</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->__construct(array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'message' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Datasource is not found in Model/Datasource package.'</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">] = new </span><span style="color: #0000BB">$class</span><span style="color: #007700">(</span><span style="color: #0000BB">self</span><span style="color: #007700">::</span><span style="color: #0000BB">$config</span><span style="color: #007700">->{</span><span style="color: #0000BB">$name</span><span style="color: #007700">});</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> self</span><span style="color: #007700">::</span><span style="color: #0000BB">$_dataSources</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">]-></span><span style="color: #0000BB">configKeyName </span><span style="color: #007700">= </span><span style="color: #0000BB">$name</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => false,
'encoding' => 'utf8'
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 3498</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">ConnectionManager::getDataSource(string)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig </span><span style="color: #007700">= </span><span style="color: #0000BB">$dataSource</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<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"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!empty(</span><span style="color: #0000BB">$oldConfig</span><span style="color: #007700">) && isset(</span><span style="color: #0000BB">$db</span><span style="color: #007700">-></span><span style="color: #0000BB">config</span><span style="color: #007700">[</span><span style="color: #DD0000">'prefix'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 1136</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">Model->setDataSource(string)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">void</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$tableName</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">setDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $db </span><span style="color: #007700">= </span><span style="color: #0000BB">ConnectionManager</span><span style="color: #007700">::</span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useDbConfig</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'default'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 3525</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">Model->setSource(string)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">() {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">&& </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable </span><span style="color: #007700">!== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_sourceConfigured </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">setSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">useTable</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>'information'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 2921</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->getDataSource()</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @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-5" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 2893</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </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-6" class="cake-code-dump" style="display: none;"><pre>'all'
array(
'conditions' => array(
'public' => (int) 1,
'parent_id' => null
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'name',
(int) 2 => 'slug',
(int) 3 => 'meta_title',
(int) 4 => 'link',
(int) 5 => 'rel',
(int) 6 => 'target',
(int) 7 => 'position'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'recursive' => (int) -1
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Controller/AppController.php line 121</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">Model->find(string, 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: #DD0000">'fields'</span><span style="color: #007700">=>array(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">,</span><span style="color: #DD0000">'name'</span><span style="color: #007700">,</span><span style="color: #DD0000">'slug'</span><span style="color: #007700">,</span><span style="color: #DD0000">'meta_title'</span><span style="color: #007700">,</span><span style="color: #DD0000">'link'</span><span style="color: #007700">,</span><span style="color: #DD0000">'rel'</span><span style="color: #007700">,</span><span style="color: #DD0000">'target'</span><span style="color: #007700">,</span><span style="color: #DD0000">'position'</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'order'</span><span style="color: #007700">=>array(</span><span style="color: #DD0000">'sort'</span><span style="color: #007700">=></span><span style="color: #DD0000">'asc'</span><span style="color: #007700">,</span><span style="color: #DD0000">'name'</span><span style="color: #007700">=></span><span style="color: #DD0000">'asc'</span><span style="color: #007700">),</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'recursive'</span><span style="color: #007700">=>-</span><span style="color: #0000BB">1</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"> Cache</span><span style="color: #007700">::</span><span style="color: #0000BB">write</span><span style="color: #007700">(</span><span style="color: #DD0000">"information_nav"</span><span style="color: #007700">,</span><span style="color: #0000BB">$a_information_nav</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'all'
array(
'conditions' => array(
'public' => (int) 1,
'parent_id' => null
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'name',
(int) 2 => 'slug',
(int) 3 => 'meta_title',
(int) 4 => 'link',
(int) 5 => 'rel',
(int) 6 => 'target',
(int) 7 => 'position'
),
'order' => array(
'sort' => 'asc',
'name' => 'asc'
),
'recursive' => (int) -1
)</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/AppController.php line 63</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">AppController->_beforeFilterFrontend()</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (empty(</span><span style="color: #0000BB">$a_params</span><span style="color: #007700">[</span><span style="color: #DD0000">'admin'</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">Auth</span><span style="color: #007700">-></span><span style="color: #0000BB">allow</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">layout </span><span style="color: #007700">= </span><span style="color: #DD0000">'frontend/index'</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">_beforeFilterFrontend</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}else{</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">APP/Controller/AppController.php line 53</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">AppController->__handleAuthentication()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><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">'oneweb_web'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_product'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_post'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_information'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_banner'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_media'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_language'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_path'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_size'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_member'</span><span style="color: #007700">,</span><span style="color: #DD0000">'oneweb_plugin'</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"> date_default_timezone_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'Asia/Ho_Chi_Minh'</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">__handleAuthentication</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">AppController->beforeFilter(CakeEvent)</a> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">APP/cakephp-2.5.3/lib/Cake/Event/CakeEventManager.php line 242</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">call_user_func(array, CakeEvent)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'passParams'</span><span style="color: #007700">] === </span><span style="color: #0000BB">true</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func</span><span style="color: #007700">(</span><span style="color: #0000BB">$listener</span><span style="color: #007700">[</span><span style="color: #DD0000">'callable'</span><span style="color: #007700">], </span><span style="color: #0000BB">$event</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>array(
(int) 0 => object(ProductsController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">APP/cakephp-2.5.3/lib/Cake/Controller/Controller.php line 674</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">CakeEventManager->dispatch(CakeEvent)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return </span><span style="color: #0000BB">void</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">() {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.initialize'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(new </span><span style="color: #0000BB">CakeEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller.startup'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">));</span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {}
[protected] _stopped => false
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">APP/cakephp-2.5.3/lib/Cake/Routing/Dispatcher.php line 187</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">Controller->startupProcess()</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">Controller $controller</span><span style="color: #007700">, </span><span style="color: #0000BB">CakeRequest $request</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">constructClasses</span><span style="color: #007700">();</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-14')">APP/cakephp-2.5.3/lib/Cake/Routing/Dispatcher.php line 165</a> → <a href="#" onclick="traceToggle(event, 'trace-args-14')">Dispatcher->_invoke(ProductsController, CakeRequest)</a> <div id="file-excerpt-14" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-14" class="cake-code-dump" style="display: none;"><pre>object(ProductsController) {
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
limit_admin => (int) 50
limit => (int) 20
uses => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'index'
layout => 'frontend/index'
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 => 'Product'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Auth => object(AuthComponent) {}
Oneweb => object(OnewebComponent) {}
Paginator => object(PaginatorComponent) {}
Upload => object(UploadComponent) {}
Information => object(Information) {}
[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 => 'pdo.--construct'
base => ''
webroot => '/'
here => '/pdo.--construct'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-15')">APP/webroot/index.php line 99</a> → <a href="#" onclick="traceToggle(event, 'trace-args-15')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-15" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">$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-15" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'pdo.--construct'
base => ''
webroot => '/'
here => '/pdo.--construct'
[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 = ''
$title_for_layout = 'Errors'
$robots = 'index,follow' include - APP/View/Elements/frontend/head.ctp, line 23
View::_evaluate() - APP/cakephp-2.5.3/lib/Cake/View/View.php, line 948
View::_render() - APP/cakephp-2.5.3/lib/Cake/View/View.php, line 910
View::_renderElement() - APP/cakephp-2.5.3/lib/Cake/View/View.php, line 1213
View::element() - APP/cakephp-2.5.3/lib/Cake/View/View.php, line 418
include - APP/View/Layouts/frontend/index.ctp, line 6
View::_evaluate() - APP/cakephp-2.5.3/lib/Cake/View/View.php, line 948
View::_render() - APP/cakephp-2.5.3/lib/Cake/View/View.php, line 910
View::renderLayout() - APP/cakephp-2.5.3/lib/Cake/View/View.php, line 542
View::render() - APP/cakephp-2.5.3/lib/Cake/View/View.php, line 479
Controller::render() - APP/cakephp-2.5.3/lib/Cake/Controller/Controller.php, line 954
ExceptionRenderer::_outputMessage() - APP/cakephp-2.5.3/lib/Cake/Error/ExceptionRenderer.php, line 278
ExceptionRenderer::_cakeError() - APP/cakephp-2.5.3/lib/Cake/Error/ExceptionRenderer.php, line 199
ExceptionRenderer::render() - APP/cakephp-2.5.3/lib/Cake/Error/ExceptionRenderer.php, line 176
ErrorHandler::handleException() - APP/cakephp-2.5.3/lib/Cake/Error/ErrorHandler.php, line 119
[main] - [internal], line ??
Missing Database Connection
Error:
A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [2002] Connection refused
Notice:
If you want to customize this error message, create public_html/View/Errors/missing_connection.ctp
Stack Trace
APP/cakephp-2.5.3/lib/Cake/Model/Datasource/DboSource.php line 260 → Mysql->connect() ));
}
if ( $autoConnect ) {
$this -> connect ();
}
APP/cakephp-2.5.3/lib/Cake/Model/ConnectionManager.php line 105 → DboSource->__construct(array) 'message' => 'Datasource is not found in Model/Datasource package.'
));
}
self :: $_dataSources [ $name ] = new $class ( self :: $config ->{ $name });
self :: $_dataSources [ $name ]-> configKeyName = $name ; array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'datasource' => 'Database/Mysql',
'persistent' => false,
'encoding' => 'utf8'
)
APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 3498 → ConnectionManager::getDataSource(string) $this -> useDbConfig = $dataSource ;
}
$db = ConnectionManager :: getDataSource ( $this -> useDbConfig );
if (!empty( $oldConfig ) && isset( $db -> config [ 'prefix' ])) {
APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 1136 → Model->setDataSource(string) * @return void
*/
public function setSource ( $tableName ) {
$this -> setDataSource ( $this -> useDbConfig );
$db = ConnectionManager :: getDataSource ( $this -> useDbConfig );
APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 3525 → Model->setSource(string) public function getDataSource () {
if (! $this -> _sourceConfigured && $this -> useTable !== false ) {
$this -> _sourceConfigured = true ;
$this -> setSource ( $this -> useTable );
}
APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 2921 → Model->getDataSource() * @return array
*/
protected function _readDataSource ( $type , $query ) {
$results = $this -> getDataSource ()-> read ( $this , $query );
$this -> resetAssociations ();
APP/cakephp-2.5.3/lib/Cake/Model/Model.php line 2893 → Model->_readDataSource(string, array) return null ;
}
return $this -> _readDataSource ( $type , $query );
} 'all'
array(
'conditions' => array(
'public' => (int) 1,
'parent_id' => null
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'name',
(int) 2 => 'slug',
(int) 3 => 'meta_title',
(int) 4 => 'link',
(int) 5 => 'rel',
(int) 6 => 'target',
(int) 7 => 'position'
),
'joins' => array(),
'limit' => null,
'offset' => null,
'order' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'page' => (int) 1,
'group' => null,
'callbacks' => true,
'recursive' => (int) -1
)
APP/Controller/AppController.php line 121 → Model->find(string, array) 'fields' =>array( 'id' , 'name' , 'slug' , 'meta_title' , 'link' , 'rel' , 'target' , 'position' ),
'order' =>array( 'sort' => 'asc' , 'name' => 'asc' ),
'recursive' =>- 1
));
Cache :: write ( "information_nav" , $a_information_nav , 'oneweb' ); 'all'
array(
'conditions' => array(
'public' => (int) 1,
'parent_id' => null
),
'fields' => array(
(int) 0 => 'id',
(int) 1 => 'name',
(int) 2 => 'slug',
(int) 3 => 'meta_title',
(int) 4 => 'link',
(int) 5 => 'rel',
(int) 6 => 'target',
(int) 7 => 'position'
),
'order' => array(
'sort' => 'asc',
'name' => 'asc'
),
'recursive' => (int) -1
)
APP/Controller/AppController.php line 63 → AppController->_beforeFilterFrontend() if (empty( $a_params [ 'admin' ])) {
$this -> Auth -> allow ();
$this -> layout = 'frontend/index' ;
$this -> _beforeFilterFrontend ();
}else{
APP/Controller/AppController.php line 53 → AppController->__handleAuthentication() $this -> set ( compact ( 'oneweb_web' , 'oneweb_product' , 'oneweb_post' , 'oneweb_information' , 'oneweb_banner' , 'oneweb_media' , 'oneweb_language' , 'oneweb_path' , 'oneweb_size' , 'oneweb_member' , 'oneweb_plugin' ));
date_default_timezone_set ( 'Asia/Ho_Chi_Minh' );
$this -> __handleAuthentication ();
[internal function] → AppController->beforeFilter(CakeEvent) object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {}
[protected] _stopped => false
}
APP/cakephp-2.5.3/lib/Cake/Event/CakeEventManager.php line 242 → call_user_func(array, CakeEvent) if ( $listener [ 'passParams' ] === true ) {
$result = call_user_func_array ( $listener [ 'callable' ], $event -> data );
} else {
$result = call_user_func ( $listener [ 'callable' ], $event );
} array(
(int) 0 => object(ProductsController) {},
(int) 1 => 'beforeFilter'
)
object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {}
[protected] _stopped => false
}
APP/cakephp-2.5.3/lib/Cake/Controller/Controller.php line 674 → CakeEventManager->dispatch(CakeEvent) * @return void
*/
public function startupProcess () {
$this -> getEventManager ()-> dispatch (new CakeEvent ( 'Controller.initialize' , $this ));
$this -> getEventManager ()-> dispatch (new CakeEvent ( 'Controller.startup' , $this )); object(CakeEvent) {
data => null
result => null
[protected] _name => 'Controller.initialize'
[protected] _subject => object(ProductsController) {}
[protected] _stopped => false
}
APP/cakephp-2.5.3/lib/Cake/Routing/Dispatcher.php line 187 → Controller->startupProcess() */
protected function _invoke ( Controller $controller , CakeRequest $request ) {
$controller -> constructClasses ();
$controller -> startupProcess ();
APP/cakephp-2.5.3/lib/Cake/Routing/Dispatcher.php line 165 → Dispatcher->_invoke(ProductsController, CakeRequest) ));
}
$response = $this -> _invoke ( $controller , $request );
if (isset( $request -> params [ 'return' ])) { object(ProductsController) {
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
limit_admin => (int) 50
limit => (int) 20
uses => array(
[maximum depth reached]
)
name => 'Products'
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Products'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'index'
layout => 'frontend/index'
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 => 'Product'
modelKey => 'product'
validationErrors => null
Session => object(SessionComponent) {}
Cookie => object(CookieComponent) {}
Auth => object(AuthComponent) {}
Oneweb => object(OnewebComponent) {}
Paginator => object(PaginatorComponent) {}
Upload => object(UploadComponent) {}
Information => object(Information) {}
[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 => 'pdo.--construct'
base => ''
webroot => '/'
here => '/pdo.--construct'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
APP/webroot/index.php line 99 → 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 => 'pdo.--construct'
base => ''
webroot => '/'
here => '/pdo.--construct'
[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])
}