Warning (2): mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111 "Connection refused") [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 561]Code |
Context
if (!$config['persistent']) {
$this->connection = mysql_connect($config['host'] . ':' . $config['port'], $config['login'], $config['password'], true);
$config = array(
"persistent" => false,
"host" => "*****",
"login" => "*****",
"password" => "*****",
"database" => "*****",
"port" => "*****",
"driver" => "mysql",
"prefix" => "*****"
)
mysql_connect - [internal]:??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php:561
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php:143
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php:114
Model::setDataSource() - CORE/cake/libs/model/model.php:2855
Model::__construct() - CORE/cake/libs/model/model.php:469
AppModelI18n::__construct() - APP/app_model_i18n.php:72
ClassRegistry::init() - CORE/cake/libs/class_registry.php:142
Debug::getInstance() - CORE/plugins/debugger/core/debug.php:32
Debug::legende() - CORE/plugins/debugger/core/debug.php:113
ACCES::getInstance() - CORE/plugins/utilisateurs/core/acces.php:22
ACCES::init() - CORE/plugins/utilisateurs/core/acces.php:56
[main] - APP/webroot/index.php:104
Warning (2): mysql_query() expects parameter 2 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 613]Code |
Context */
function _execute($sql) {
return mysql_query($sql, $this->connection);
$sql = "SHOW TABLES FROM `catamaran`;"
mysql_query - [internal]:??
DboMysql::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php:613
DboMysql::listSources() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php:626
Model::setSource() - CORE/cake/libs/model/model.php:768
Model::__construct() - CORE/cake/libs/model/model.php:474
AppModelI18n::__construct() - APP/app_model_i18n.php:72
ClassRegistry::init() - CORE/cake/libs/class_registry.php:142
Debug::getInstance() - CORE/plugins/debugger/core/debug.php:32
Debug::legende() - CORE/plugins/debugger/core/debug.php:113
ACCES::getInstance() - CORE/plugins/utilisateurs/core/acces.php:22
ACCES::init() - CORE/plugins/utilisateurs/core/acces.php:56
[main] - APP/webroot/index.php:104
Notice (8): Undefined property: Debug::$Session [CORE/plugins/debugger/core/debug.php, line 86]Code |
Context static function set($type, $texte="----", $color="000000", $actif=true){
$_this =& Debug::getInstance();
if($_this->debugOn()){
$type = null
$_this = Debug
Debug::$debug_etat = "vide"
Debug::$debug_niveau = 0
Debug::$debug_espace = " "
Debug::$debug_timing = array
Debug::$timerStart = 0
Debug::$legende = array
Debug::$debug_log = ""
Debug::$force_actif = false
Debug::$chemin = "../tmp/debug/"
Debug::$chemin_ssh = "app/tmp/debug/"
Debug::$duree_cache = 1800
Debug::$identifiantDebug = "6a5a5345a6bc7"
Debug::debugOn() - CORE/plugins/debugger/core/debug.php:86
Debug::set() - CORE/plugins/debugger/core/debug.php:128
AppController::__construct() - APP/app_controller.php:41
CakeErrorController::__construct() - CORE/cake/libs/error.php:49
ErrorHandler::__construct() - CORE/cake/libs/error.php:90
Object::cakeError() - CORE/cake/libs/object.php:199
Model::setSource() - CORE/cake/libs/model/model.php:774
Model::__construct() - CORE/cake/libs/model/model.php:474
AppModelI18n::__construct() - APP/app_model_i18n.php:72
ClassRegistry::init() - CORE/cake/libs/class_registry.php:142
Debug::getInstance() - CORE/plugins/debugger/core/debug.php:32
Debug::legende() - CORE/plugins/debugger/core/debug.php:113
ACCES::getInstance() - CORE/plugins/utilisateurs/core/acces.php:22
ACCES::init() - CORE/plugins/utilisateurs/core/acces.php:56
[main] - APP/webroot/index.php:104
| ( ! ) Fatal error: Call to a member function read() on null in /home/vftp/catamaran/www/plugins/debugger/core/debug.php on line 86 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 | 0.0006 | 253288 | {main}( ) | .../index.php:0 |
| 2 | 0.0646 | 8064424 | ACCES::init( ) | .../index.php:104 |
| 3 | 0.0647 | 8065072 | ACCES::getInstance( ) | .../acces.php:56 |
| 4 | 0.0647 | 8065624 | Debug::legende( ) | .../acces.php:22 |
| 5 | 0.0647 | 8066072 | Debug::getInstance( ) | .../debug.php:113 |
| 6 | 0.0647 | 8068304 | ClassRegistry::init( ) | .../debug.php:32 |
| 7 | 0.1583 | 10320056 | AppModelI18n->__construct( ) | .../class_registry.php:142 |
| 8 | 0.1583 | 10321224 | Model->__construct( ) | .../app_model_i18n.php:72 |
| 9 | 0.1636 | 11354560 | Model->setSource( ) | .../model.php:474 |
| 10 | 0.1650 | 11379184 | Object->cakeError( ) | .../model.php:774 |
| 11 | 0.1682 | 12487200 | ErrorHandler->__construct( ) | .../object.php:199 |
| 12 | 0.1685 | 12542736 | CakeErrorController->__construct( ) | .../error.php:90 |
| 13 | 0.1685 | 12542896 | AppController->__construct( ) | .../error.php:49 |
| 14 | 0.1685 | 12543440 | Debug::set( ) | .../app_controller.php:41 |
| 15 | 0.1685 | 12544112 | Debug->debugOn( ) | .../debug.php:128 |