Notice: compact() [function.compact]: Undefined variable: helpID in /home/mediatheque/www/photo-sendai/search/cake/libs/debugger.php on line 304
Warning (2): mysqli_connect() [function.mysqli-connect]: (08004/1040): Too many connections [CORE/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 63]Code |
Context $this->connected = false;
$this->connection = mysqli_connect($config['host'], $config['login'], $config['password'], $config['database'], $config['port'], $config['socket']);
$config = array(
"persistent" => false,
"host" => "*****",
"login" => "*****",
"password" => "*****",
"database" => "*****",
"port" => "*****",
"socket" => null,
"driver" => "mysqli",
"encoding" => "utf8",
"prefix" => "*****"
)
mysqli_connect - [internal], line ??
DboMysqli::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 63
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 2863
Model::__construct() - CORE/cake/libs/model/model.php, line 478
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 142
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 636
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 89
Notice: compact() [function.compact]: Undefined variable: helpID in /home/mediatheque/www/photo-sendai/search/cake/libs/debugger.php on line 304
Warning (2): mysqli_query() expects parameter 1 to be mysqli, bool given [CORE/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 111]Code |
Context return $this->_executeProcedure($sql);
}
return mysqli_query($this->connection, $sql);
$sql = "SHOW TABLES FROM `mediatheque_photo-sendai`;"
mysqli_query - [internal], line ??
DboMysqli::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 111
DboMysqli::listSources() - CORE/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 142
Model::setSource() - CORE/cake/libs/model/model.php, line 777
Model::__construct() - CORE/cake/libs/model/model.php, line 483
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 142
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 636
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 89
Fatal error: Uncaught Error: Class 'ErrorHandler' not found in /home/mediatheque/www/photo-sendai/search/cake/libs/cake_object.php:201
Stack trace:
#0 /home/mediatheque/www/photo-sendai/search/cake/libs/model/model.php(782): CakeObject->cakeError('missingTable', Array)
#1 /home/mediatheque/www/photo-sendai/search/cake/libs/model/model.php(483): Model->setSource('decisions')
#2 /home/mediatheque/www/photo-sendai/search/cake/libs/class_registry.php(142): Model->__construct(NULL)
#3 /home/mediatheque/www/photo-sendai/search/cake/libs/controller/controller.php(636): ClassRegistry::init('Decision')
#4 /home/mediatheque/www/photo-sendai/search/cake/libs/controller/controller.php(502): Controller->loadModel('Decision')
#5 /home/mediatheque/www/photo-sendai/search/cake/dispatcher.php(186): Controller->constructClasses()
#6 /home/mediatheque/www/photo-sendai/search/cake/dispatcher.php(171): Dispatcher->_invoke(Object(DecisionsController), Array)
#7 /home/mediatheque/www/photo-sendai/search/app/webroot/index.php(89): Dispatcher->di in /home/mediatheque/www/photo-sendai/search/cake/libs/cake_object.php on line 201