Warning (2): Missing argument 1 for BookingsController::share() [APP/controllers/bookings_controller.php, line 19]CodeBookingsController::share() - APP/controllers/bookings_controller.php, line 19
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Undefined variable: id [APP/controllers/bookings_controller.php, line 20]Code
function share($id) {
$this->set('titleforlayout', "Events $id is going to");
BookingsController::share() - APP/controllers/bookings_controller.php, line 20
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Undefined variable: id [APP/controllers/bookings_controller.php, line 22]Code $this->set('titleforlayout', "Events $id is going to");
$id = substr($id, 0, 6); //6 chars, no script injection
BookingsController::share() - APP/controllers/bookings_controller.php, line 22
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 74 bytes) in /var/www/burningplan/cake/libs/model/datasources/dbo/dbo_mysql.php on line 751