$sql = "SELECT `Photo`.`id`, `Photo`.`filename`, `Photo`.`order_id` FROM `photos` AS `Photo` WHERE `gallery_id` = '5' ORDER BY `order_id` ASC "
$error = "1054: Unknown column 'Photo.order_id' in 'field list'"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266
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 2127
Photo::__find() - APP/models/photo.php, line 27
PhotosController::index() - APP/controllers/photos_controller.php, line 39
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Query: SELECT `Photo`.`id`, `Photo`.`filename`, `Photo`.`order_id` FROM `photos` AS `Photo` WHERE `gallery_id` = '5' ORDER BY `order_id` ASC
There's currently no photos to show for this gallery. Please check back soon or try another gallery.
Warning (2): Cannot modify header information - headers already sent by (output started at /home/basickre/public_html/thearushaaccord/cake/libs/debugger.php:673) [CORE/cake/libs/controller/components/request_handler.php, line 758]
header - [internal], line ??
RequestHandlerComponent::_header() - CORE/cake/libs/controller/components/request_handler.php, line 758
RequestHandlerComponent::respondAs() - CORE/cake/libs/controller/components/request_handler.php, line 742
RequestHandlerComponent::startup() - CORE/cake/libs/controller/components/request_handler.php, line 243
Component::triggerCallback() - CORE/cake/libs/controller/component.php, line 186
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 527
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/views/elements/column_right.ctp, line 3
View::_render() - CORE/cake/libs/view/view.php, line 724
View::element() - CORE/cake/libs/view/view.php, line 385
include - APP/views/layouts/default.ctp, line 77
View::_render() - CORE/cake/libs/view/view.php, line 724
View::renderLayout() - CORE/cake/libs/view/view.php, line 482
View::render() - CORE/cake/libs/view/view.php, line 428
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
PhotosController::index() - APP/controllers/photos_controller.php, line 40