Warning (2): Missing argument 2 for PagesController::image(), called in /home/lubos/suso/cake/libs/object.php on line 117 and defined [APP/controllers/pages_controller.php, line 375]
Code |
Context$id = "0"
}
function image($id, $thumb) {
PagesController::image() - APP/controllers/pages_controller.php, line 375
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 89
Notice (8): Undefined variable: thumb [APP/controllers/pages_controller.php, line 389]
Code |
Context$id = "0"
$data = false
'img' . DS .
'contents' . DS .
"{$data['Content']['file_name']}_$thumb" .
PagesController::image() - APP/controllers/pages_controller.php, line 389
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 89
Warning (2): getimagesize(/home/lubos/suso/app//webroot/img/contents/_.) [function.getimagesize]: failed to open stream: No such file or directory [APP/controllers/pages_controller.php, line 392]
Code |
Context$id = "0"
$data = false
$file = "/home/lubos/suso/app//webroot/img/contents/_."
getimagesize - [internal], line ??
PagesController::image() - APP/controllers/pages_controller.php, line 392
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 89