Code Context $resLocale = $db->rawQuery($requestLang);
$resLocale = $resLocale->fetch();
$myLocale = $resLocale['locale'];
$language = 'fre'
$mySeoUrl = '3'
$db = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => false
affected => null
numRows => false
took => false
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql',
'encoding' => 'utf8'
)
cacheSources => true
}
$requestLang = 'SELECT locale FROM `i18n` WHERE field = 'seourl' AND content = '3' LIMIT 1'
$resLocale = false
AppController::beforeFilter() - APP/Controller/AppController.php, line 59
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 246
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 669
CakeErrorController::__construct() - CORE/Cake/Controller/CakeErrorController.php, line 63
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 161
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 93
AppExceptionRenderer::__construct() - APP/Lib/Error/AppExceptionRenderer.php, line 11
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 125
[main] - [internal], line ??