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 144
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 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
Warning (2): mysql_query() expects parameter 2 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 613]
*/ function _execute($sql) { return mysql_query($sql, $this->connection);
$sql = "SHOW TABLES FROM `baohanhlg_data`;"
mysql_query - [internal], line ??
DboMysql::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 613
DboMysql::listSources() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 626
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 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
Warning (2): Cannot modify header information - headers already sent by (output started at /home/baohanhlg/domains/baohanhlg.com.vn/public_html/cake/libs/debugger.php:686) [CORE/cake/libs/controller/controller.php, line 742]
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 742
ErrorHandler::missingTable() - CORE/cake/libs/error.php, line 254
Object::dispatchMethod() - CORE/cake/libs/object.php, line 112
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 125
Object::cakeError() - CORE/cake/libs/object.php, line 201
Model::setSource() - CORE/cake/libs/model/model.php, line 783
Model::__construct() - CORE/cake/libs/model/model.php, line 483
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
CakePHP: the rapid development php framework: Errors