Warning (2): mysqli_connect() [function.mysqli-connect]: (HY000/2002): No such file or directory [APP/cakephp/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",
"prefix" => "*****"
)
mysqli_connect - [internal], line ??
DboMysqli::connect() - APP/cakephp/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 63
DboSource::__construct() - APP/cakephp/cake/libs/model/datasources/dbo_source.php, line 144
ConnectionManager::getDataSource() - APP/cakephp/cake/libs/model/connection_manager.php, line 114
Model::setDataSource() - APP/cakephp/cake/libs/model/model.php, line 2863
Model::__construct() - APP/cakephp/cake/libs/model/model.php, line 478
include - APP/config/routes.php, line 48
Dispatcher::parseParams() - APP/cakephp/cake/dispatcher.php, line 266
Dispatcher::dispatch() - APP/cakephp/cake/dispatcher.php, line 109
[main] - APP/webroot/index.php, line 87
Warning (2): mysqli_query() expects parameter 1 to be mysqli, boolean given [APP/cakephp/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 `festivalnl_db2`;"
mysqli_query - [internal], line ??
DboMysqli::_execute() - APP/cakephp/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 111
DboMysqli::listSources() - APP/cakephp/cake/libs/model/datasources/dbo/dbo_mysqli.php, line 142
Model::setSource() - APP/cakephp/cake/libs/model/model.php, line 777
Model::__construct() - APP/cakephp/cake/libs/model/model.php, line 483
include - APP/config/routes.php, line 48
Dispatcher::parseParams() - APP/cakephp/cake/dispatcher.php, line 266
Dispatcher::dispatch() - APP/cakephp/cake/dispatcher.php, line 109
[main] - APP/webroot/index.php, line 87
Warning (2): Cannot modify header information - headers already sent by (output started at /www/htdocs/f/festivalnl/http/new/cakephp/cake/libs/debugger.php:686) [APP/cakephp/cake/libs/controller/controller.php, line 742]Code |
Context */
function header($status) {
header($status);
$status = "HTTP/1.0 500 Internal Server Error"
header - [internal], line ??
Controller::header() - APP/cakephp/cake/libs/controller/controller.php, line 742
ErrorHandler::missingTable() - APP/cakephp/cake/libs/error.php, line 254
Object::dispatchMethod() - APP/cakephp/cake/libs/object.php, line 112
ErrorHandler::__construct() - APP/cakephp/cake/libs/error.php, line 125
Object::cakeError() - APP/cakephp/cake/libs/object.php, line 201
Model::setSource() - APP/cakephp/cake/libs/model/model.php, line 783
Model::__construct() - APP/cakephp/cake/libs/model/model.php, line 483
include - APP/config/routes.php, line 48
Dispatcher::parseParams() - APP/cakephp/cake/dispatcher.php, line 266
Dispatcher::dispatch() - APP/cakephp/cake/dispatcher.php, line 109
[main] - APP/webroot/index.php, line 87
Missing Database Table
Error:
Database table pages for model Page was not found.
Notice:
If you want to customize this error message, create new/views/errors/missing_table.ctp