Warning (2): Missing argument 1 for PagesController::resize_map_image() [APP/controllers/pages_controller.php, line 292]Code )));
}
$output = call_user_func_array(array(&$controller, $params['action']), $params['pass']);
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 292
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): Missing argument 2 for PagesController::resize_map_image() [APP/controllers/pages_controller.php, line 292]Code )));
}
$output = call_user_func_array(array(&$controller, $params['action']), $params['pass']);
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 292
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): Missing argument 3 for PagesController::resize_map_image() [APP/controllers/pages_controller.php, line 292]Code )));
}
$output = call_user_func_array(array(&$controller, $params['action']), $params['pass']);
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 292
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
Notice (8): Undefined variable: image [APP/controllers/pages_controller.php, line 294]Code )));
}
$output = call_user_func_array(array(&$controller, $params['action']), $params['pass']);
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 294
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): imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: [APP/controllers/pages_controller.php, line 299]Code |
Context
ini_set('memory_limit', '300M');
$im = imagecreatefromjpeg('files/'.$image);
$image = ""
imagecreatefromjpeg - [internal], line ??
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 299
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): imagecreatefromjpeg() [function.imagecreatefromjpeg]: 'files/' is not a valid JPEG file [APP/controllers/pages_controller.php, line 299]Code |
Context
ini_set('memory_limit', '300M');
$im = imagecreatefromjpeg('files/'.$image);
$image = ""
imagecreatefromjpeg - [internal], line ??
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 299
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): imagesx() expects parameter 1 to be resource, boolean given [APP/controllers/pages_controller.php, line 300]Code |
Context ini_set('memory_limit', '300M');
$im = imagecreatefromjpeg('files/'.$image);
$oWidth = imagesx($im);
$image = ""
$im = false
imagesx - [internal], line ??
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 300
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): imagesy() expects parameter 1 to be resource, boolean given [APP/controllers/pages_controller.php, line 301]Code |
Context $im = imagecreatefromjpeg('files/'.$image);
$oWidth = imagesx($im);
$oHeight = imagesy($im);
$image = ""
$im = false
$oWidth = null
imagesy - [internal], line ??
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 301
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): imagesx() expects parameter 1 to be resource, boolean given [APP/controllers/pages_controller.php, line 302]Code |
Context $oWidth = imagesx($im);
$oHeight = imagesy($im);
$size = min(imagesx($im), imagesy($im));
$image = ""
$im = false
$oWidth = null
$oHeight = null
imagesx - [internal], line ??
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 302
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): imagesy() expects parameter 1 to be resource, boolean given [APP/controllers/pages_controller.php, line 302]Code |
Context $oWidth = imagesx($im);
$oHeight = imagesy($im);
$size = min(imagesx($im), imagesy($im));
$image = ""
$im = false
$oWidth = null
$oHeight = null
imagesy - [internal], line ??
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 302
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
Notice (8): Undefined variable: topLeft [APP/controllers/pages_controller.php, line 304]Code |
Context )));
}
$output = call_user_func_array(array(&$controller, $params['action']), $params['pass']);
$image = ""
$im = false
$oWidth = null
$oHeight = null
$size = null
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 304
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
Notice (8): Undefined variable: bottomRight [APP/controllers/pages_controller.php, line 305]Code |
Context )));
}
$output = call_user_func_array(array(&$controller, $params['action']), $params['pass']);
$image = ""
$im = false
$oWidth = null
$oHeight = null
$size = null
$topLeft = array(
""
)
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 305
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
Notice (8): Undefined offset: 1 [APP/controllers/pages_controller.php, line 309]Code |
Context )));
}
$output = call_user_func_array(array(&$controller, $params['action']), $params['pass']);
$image = ""
$im = false
$oWidth = null
$oHeight = null
$size = null
$topLeft = array(
""
)
$bottomRight = array(
""
)
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 309
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
Notice (8): Undefined offset: 1 [APP/controllers/pages_controller.php, line 314]Code |
Context )));
}
$output = call_user_func_array(array(&$controller, $params['action']), $params['pass']);
$image = ""
$im = false
$oWidth = null
$oHeight = null
$size = null
$topLeft = array(
""
)
$bottomRight = array(
""
)
$x = 0
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 314
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84
Notice (8): Undefined offset: 1 [APP/controllers/pages_controller.php, line 317]Code |
Context )));
}
$output = call_user_func_array(array(&$controller, $params['action']), $params['pass']);
$image = ""
$im = false
$oWidth = null
$oHeight = null
$size = null
$topLeft = array(
""
)
$bottomRight = array(
""
)
$x = 0
$y = 0
$width = 0
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 317
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): imagecrop() expects parameter 1 to be resource, boolean given [APP/controllers/pages_controller.php, line 319]Code |
Context $height = round(($bottomRight[1]/100) * $oHeight) - $y;
$im2 = imagecrop($im, ['x' => $x, 'y' => $y, 'width' => $width, 'height' => $height]);
$image = ""
$im = false
$oWidth = null
$oHeight = null
$size = null
$topLeft = array(
""
)
$bottomRight = array(
""
)
$x = 0
$y = 0
$width = 0
$height = 0
imagecrop - [internal], line ??
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 319
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/cake/libs/debugger.php:686) [APP/controllers/pages_controller.php, line 322]Code |
Context
if ($im2 !== FALSE) {
header("Content-Type: image/jpeg");
$image = ""
$im = false
$oWidth = null
$oHeight = null
$size = null
$topLeft = array(
""
)
$bottomRight = array(
""
)
$x = 0
$y = 0
$width = 0
$height = 0
$im2 = null
header - [internal], line ??
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 322
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): imagejpeg() expects parameter 1 to be resource, null given [APP/controllers/pages_controller.php, line 323]Code |
Context if ($im2 !== FALSE) {
header("Content-Type: image/jpeg");
imagejpeg($im2);
$image = ""
$im = false
$oWidth = null
$oHeight = null
$size = null
$topLeft = array(
""
)
$bottomRight = array(
""
)
$x = 0
$y = 0
$width = 0
$height = 0
$im2 = null
imagejpeg - [internal], line ??
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 323
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): imagedestroy() expects parameter 1 to be resource, null given [APP/controllers/pages_controller.php, line 324]Code |
Context header("Content-Type: image/jpeg");
imagejpeg($im2);
imagedestroy($im2);
$image = ""
$im = false
$oWidth = null
$oHeight = null
$size = null
$topLeft = array(
""
)
$bottomRight = array(
""
)
$x = 0
$y = 0
$width = 0
$height = 0
$im2 = null
imagedestroy - [internal], line ??
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 324
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): imagedestroy() expects parameter 1 to be resource, boolean given [APP/controllers/pages_controller.php, line 327]Code |
Context$image = ""
$im = false
$oWidth = null
$oHeight = null
$size = null
$topLeft = array(
""
)
$bottomRight = array(
""
)
$x = 0
$y = 0
$width = 0
$height = 0
$im2 = null
imagedestroy - [internal], line ??
PagesController::resize_map_image() - APP/controllers/pages_controller.php, line 327
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 84