Warning (2): Missing argument 1 for PhotosController::index(), called in /var/lib/cake1.2/cake/libs/object.php on line 115 and defined [APP/controllers/photos_controller.php, line 8]
var $image_directory = '../webroot/files/image/photos/'; function index($gallery_id) {
PhotosController::index() - APP/controllers/photos_controller.php, line 8
Object::dispatchMethod() - CORE/cake/libs/object.php, line 115
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 226
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 193
[main] - APP/webroot/index.php, line 87
Notice (8): Undefined variable: gallery_id [APP/controllers/photos_controller.php, line 9]
function index($gallery_id) { $this->set('gallery', $this->Photo->Gallery->findById($gallery_id));
PhotosController::index() - APP/controllers/photos_controller.php, line 9
Object::dispatchMethod() - CORE/cake/libs/object.php, line 115
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 226
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 193
[main] - APP/webroot/index.php, line 87