Warning (2): mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 374]
Code |
Context$config = array(
"persistent" => false,
"host" => "localhost",
"login" => "tehnicomsql",
"password" => "alicecooper1985",
"database" => "talkb2b_cansee2015",
"port" => "3306",
"connect" => "mysql_pconnect",
"driver" => "mysql",
"prefix" => "",
"encoding" => "UTF8"
)
$connect = "mysql_pconnect"
mysql_connect - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 374
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 96
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 106
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2661
Model::__construct() - CORE/cake/libs/model/model.php, line 406
AppModel::__construct() - APP/app_model.php, line 26
include - APP/config/core.php, line 223
Configure::__loadBootstrap() - CORE/cake/libs/configure.php, line 651
Configure::getInstance() - CORE/cake/libs/configure.php, line 137
include - CORE/cake/bootstrap.php, line 47
[main] - APP/webroot/index.php, line 97
Warning (2): mysql_select_db(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 379]
Code |
Context$config = array(
"persistent" => false,
"host" => "localhost",
"login" => "tehnicomsql",
"password" => "alicecooper1985",
"database" => "talkb2b_cansee2015",
"port" => "3306",
"connect" => "mysql_pconnect",
"driver" => "mysql",
"prefix" => "",
"encoding" => "UTF8"
)
$connect = "mysql_pconnect"
mysql_select_db - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 379
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 96
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 106
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2661
Model::__construct() - CORE/cake/libs/model/model.php, line 406
AppModel::__construct() - APP/app_model.php, line 26
include - APP/config/core.php, line 223
Configure::__loadBootstrap() - CORE/cake/libs/configure.php, line 651
Configure::getInstance() - CORE/cake/libs/configure.php, line 137
include - CORE/cake/bootstrap.php, line 47
[main] - APP/webroot/index.php, line 97
Warning (2): mysql_query(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 411]
Code |
Context$sql = "SET NAMES UTF8"
mysql_query - [internal], line ??
DboMysql::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 411
DboMysqlBase::setEncoding() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 167
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 384
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 96
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 106
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2661
Model::__construct() - CORE/cake/libs/model/model.php, line 406
AppModel::__construct() - APP/app_model.php, line 26
include - APP/config/core.php, line 223
Configure::__loadBootstrap() - CORE/cake/libs/configure.php, line 651
Configure::getInstance() - CORE/cake/libs/configure.php, line 137
include - CORE/cake/bootstrap.php, line 47
[main] - APP/webroot/index.php, line 97
Warning (2): mysql_get_server_info(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 387]
Code |
Context$config = array(
"persistent" => false,
"host" => "localhost",
"login" => "tehnicomsql",
"password" => "alicecooper1985",
"database" => "talkb2b_cansee2015",
"port" => "3306",
"connect" => "mysql_pconnect",
"driver" => "mysql",
"prefix" => "",
"encoding" => "UTF8"
)
$connect = "mysql_pconnect"
mysql_get_server_info - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 387
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 96
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 106
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2661
Model::__construct() - CORE/cake/libs/model/model.php, line 406
AppModel::__construct() - APP/app_model.php, line 26
include - APP/config/core.php, line 223
Configure::__loadBootstrap() - CORE/cake/libs/configure.php, line 651
Configure::getInstance() - CORE/cake/libs/configure.php, line 137
include - CORE/cake/bootstrap.php, line 47
[main] - APP/webroot/index.php, line 97
Warning (2): mysql_errno(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 521]
Codemysql_errno - [internal], line ??
DboMysql::lastError() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 521
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 192
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 336
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 653
Model::find() - CORE/cake/libs/model/model.php, line 1994
include - APP/config/core.php, line 224
Configure::__loadBootstrap() - CORE/cake/libs/configure.php, line 651
Configure::getInstance() - CORE/cake/libs/configure.php, line 137
include - CORE/cake/bootstrap.php, line 47
[main] - APP/webroot/index.php, line 97
Warning (2): Invalid argument supplied for foreach() [APP/config/core.php, line 225]
Code |
Context$boot = true
$shellPaths = null
$localePaths = null
$vendorPaths = null
$pluginPaths = null
$helperPaths = null
$viewPaths = null
$componentPaths = null
$controllerPaths = null
$behaviorPaths = null
$modelPaths = null
$db = Config
Config::$name = "Config"
Config::$actsAs = array
Config::$useTable = "config"
Config::$displayField = "name"
Config::$useDbConfig = "default"
Config::$id = false
Config::$data = array
Config::$table = "config"
Config::$primaryKey = "id"
Config::$_schema = array
Config::$validate = array
Config::$validationErrors = array
Config::$tablePrefix = ""
Config::$alias = "Config"
Config::$tableToModel = array
Config::$logTransactions = false
Config::$transactional = false
Config::$cacheQueries = false
Config::$belongsTo = array
Config::$hasOne = array
Config::$hasMany = array
Config::$hasAndBelongsToMany = array
Config::$Behaviors = BehaviorCollection object
Config::$whitelist = array
Config::$cacheSources = true
Config::$findQueryType = NULL
Config::$recursive = 1
Config::$order = array
Config::$__exists = NULL
Config::$__associationKeys = array
Config::$__associations = array
Config::$__backAssociation = array
Config::$__insertID = NULL
Config::$__numRows = NULL
Config::$__affectedRows = NULL
Config::$_findMethods = array
Config::$_log = NULL
Config::$empty = array
$params = false
$db = new Config();
$params = $db->find('all', array('fields' => array('group', 'name', 'value')));
foreach($params as $param) {
include - APP/config/core.php, line 225
Configure::__loadBootstrap() - CORE/cake/libs/configure.php, line 651
Configure::getInstance() - CORE/cake/libs/configure.php, line 137
include - CORE/cake/bootstrap.php, line 47
[main] - APP/webroot/index.php, line 97