*/ function _execute($sql) { return mysql_query($sql, $this->connection);
$sql = "SELECT `Page`.`id`, `Page`.`sef_url`, `Page`.`external_link`, `Page`.`parent_id` FROM `pages` AS `Page` WHERE 1 = 1 ORDER BY `Page`.`order` ASC "
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 821
Model::find() - CORE/cake/libs/model/model.php, line 2142
AppController::_generate_page_url_map() - APP/app_controller.php, line 96
PagesController::beforeFilter() - APP/controllers/pages_controller.php, line 29
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 522
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
Warning (2): mysql_errno() expects parameter 1 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 695]
*/ function lastError() { if (mysql_errno($this->connection)) {
mysql_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 821
Model::find() - CORE/cake/libs/model/model.php, line 2142
AppController::_generate_page_url_map() - APP/app_controller.php, line 96
PagesController::beforeFilter() - APP/controllers/pages_controller.php, line 29
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 522
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
Warning (2): Invalid argument supplied for foreach() [CORE/cake/libs/model/model.php, line 2349]
Model::_findThreaded() - CORE/cake/libs/model/model.php, line 2349
Model::find() - CORE/cake/libs/model/model.php, line 2155
AppController::_generate_page_url_map() - APP/app_controller.php, line 96
PagesController::beforeFilter() - APP/controllers/pages_controller.php, line 29
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 522
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
Notice (8): Undefined index: SERVER_PROTOCOL [APP/controllers/pages_controller.php, line 41]
PagesController::page_not_found() - APP/controllers/pages_controller.php, line 41
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
Warning (2): Cannot modify header information - headers already sent by (output started at /home/smlaw/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
PagesController::page_not_found() - APP/controllers/pages_controller.php, line 41
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
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]
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 2290
DboSource::conditionKeysToString() - CORE/cake/libs/model/datasources/dbo_source.php, line 2232
DboSource::conditionKeysToString() - CORE/cake/libs/model/datasources/dbo_source.php, line 2175
DboSource::conditionKeysToString() - CORE/cake/libs/model/datasources/dbo_source.php, line 2175
DboSource::conditions() - CORE/cake/libs/model/datasources/dbo_source.php, line 2112
DboSource::buildStatement() - CORE/cake/libs/model/datasources/dbo_source.php, line 1473
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1263
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 819
Model::find() - CORE/cake/libs/model/model.php, line 2142
PagesController::_get_custom_fields() - APP/controllers/pages_controller.php, line 113
PagesController::view() - APP/controllers/pages_controller.php, line 62
PagesController::page_not_found() - APP/controllers/pages_controller.php, line 42
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
Warning (2): Invalid argument supplied for foreach() [APP/controllers/pages_controller.php, line 117]
PagesController::_get_custom_fields() - APP/controllers/pages_controller.php, line 117
PagesController::view() - APP/controllers/pages_controller.php, line 62
PagesController::page_not_found() - APP/controllers/pages_controller.php, line 42
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
Warning (2): Invalid argument supplied for foreach() [APP/controllers/pages_controller.php, line 202]
PagesController::_get_custom_fields() - APP/controllers/pages_controller.php, line 202
PagesController::view() - APP/controllers/pages_controller.php, line 62
PagesController::page_not_found() - APP/controllers/pages_controller.php, line 42
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
Warning (2): Invalid argument supplied for foreach() [APP/controllers/pages_controller.php, line 233]
PagesController::_get_custom_fields() - APP/controllers/pages_controller.php, line 233
PagesController::view() - APP/controllers/pages_controller.php, line 62
PagesController::page_not_found() - APP/controllers/pages_controller.php, line 42
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
include - APP/views/layouts/default.ctp, line 16
View::_render() - CORE/cake/libs/view/view.php, line 736
View::renderLayout() - CORE/cake/libs/view/view.php, line 494
View::render() - CORE/cake/libs/view/view.php, line 440
Controller::render() - CORE/cake/libs/controller/controller.php, line 909
PagesController::view() - APP/controllers/pages_controller.php, line 81
PagesController::page_not_found() - APP/controllers/pages_controller.php, line 42
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84