Warning (2): mysql_connect() [http://php.net/function.mysql-connect]: Too many connections [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 561]Code |
Context$config = array(
"persistent" => false,
"host" => "*****",
"login" => "*****",
"password" => "*****",
"database" => "*****",
"port" => "*****",
"driver" => "mysql",
"prefix" => "*****"
)
mysql_connect - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 561
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 143
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 114
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2836
Model::__construct() - CORE/cake/libs/model/model.php, line 469
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 150
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 637
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 502
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): session_start() [http://php.net/function.session-start]: ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) [CORE/cake/libs/cake_session.php, line 587]Codesession_start - [internal], line ??
CakeSession::__startSession() - CORE/cake/libs/cake_session.php, line 587
CakeSession::start() - CORE/cake/libs/cake_session.php, line 219
SessionComponent::__start() - CORE/cake/libs/controller/components/session.php, line 287
SessionComponent::startup() - CORE/cake/libs/controller/components/session.php, line 74
Component::triggerCallback() - CORE/cake/libs/controller/component.php, line 186
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 523
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Warning (2): mysql_real_escape_string() expects parameter 2 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 684]Code |
Context$data = "pawtucket-ri"
$column = "string"
$safe = false
$parent = null
mysql_real_escape_string - [internal], line ??
DboMysql::value() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 684
DboSource::__parseKey() - CORE/cake/libs/model/datasources/dbo_source.php, line 2276
DboSource::conditionKeysToString() - CORE/cake/libs/model/datasources/dbo_source.php, line 2218
DboSource::conditions() - CORE/cake/libs/model/datasources/dbo_source.php, line 2098
DboSource::buildStatement() - CORE/cake/libs/model/datasources/dbo_source.php, line 1462
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1255
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 821
Model::find() - CORE/cake/libs/model/model.php, line 2130
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 349
Model::call__() - CORE/cake/libs/model/model.php, line 502
Overloadable::__call() - CORE/cake/libs/overloadable_php5.php, line 50
City::findBySlug() - [internal], line ??
BusinessesController::viewByCity() - APP/controllers/businesses_controller.php, line 93
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
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$sql = "SELECT `City`.`id`, `City`.`state`, `City`.`name`, `City`.`slug`, `City`.`zipcode_count`, `City`.`lat`, `City`.`lon`, `City`.`modified` FROM `cities` AS `City` WHERE `City`.`slug` = '' LIMIT 1"
mysql_query - [internal], line ??
DboMysql::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 613
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 253
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 823
Model::find() - CORE/cake/libs/model/model.php, line 2130
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 349
Model::call__() - CORE/cake/libs/model/model.php, line 502
Overloadable::__call() - CORE/cake/libs/overloadable_php5.php, line 50
City::findBySlug() - [internal], line ??
BusinessesController::viewByCity() - APP/controllers/businesses_controller.php, line 93
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Warning (2): mysql_errno() expects parameter 1 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 695]Codemysql_errno - [internal], line ??
DboMysql::lastError() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 695
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 257
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 823
Model::find() - CORE/cake/libs/model/model.php, line 2130
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 349
Model::call__() - CORE/cake/libs/model/model.php, line 502
Overloadable::__call() - CORE/cake/libs/overloadable_php5.php, line 50
City::findBySlug() - [internal], line ??
BusinessesController::viewByCity() - APP/controllers/businesses_controller.php, line 93
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83