Warning (2): imagecreatetruecolor(): Invalid image dimensions [APP/Controller/CropsController.php, line 278]Code Context }
//
$cropped_image_gd = imagecreatetruecolor($crop_width, $crop_height);
$id = '211'
$HOSTING_IMAGE = 'http://admin.unimundoviajes.com'
$options = array(
'conditions' => array(
'GaleriaImage.id' => '211'
)
)
$galeria = array(
'GaleriaImage' => array(
'id' => '211',
'tabla_id' => '131',
'tipo_id' => 'Oferta',
'name' => 'Oferta_131_211',
'link' => 'photos/Oferta_131_211.jpg',
'position' => '1',
'creator_id' => '2',
'created' => '2023-09-05 14:14:39',
'modified' => '2023-09-05 14:14:39'
)
)
$file_name = 'http://admin.unimundoviajes.com/img/photos/Oferta_131_211.jpg'
$crop_height = null
$crop_width = null
$file_type = 'jpg'
$original_image_size = array(
(int) 0 => (int) 900,
(int) 1 => (int) 600,
(int) 2 => (int) 2,
(int) 3 => 'width="900" height="600"',
'bits' => (int) 8,
'channels' => (int) 3,
'mime' => 'image/jpeg'
)
$original_width = (int) 900
$original_height = (int) 600
$original_image_gd = resource
$http_response_header = array(
(int) 0 => 'HTTP/1.0 301 Moved Permanently',
(int) 1 => 'Connection: close',
(int) 2 => 'content-type: text/html',
(int) 3 => 'content-length: 795',
(int) 4 => 'date: Sun, 08 Sep 2024 01:26:06 GMT',
(int) 5 => 'server: LiteSpeed',
(int) 6 => 'location: https://admin.unimundoviajes.com/img/photos/Oferta_131_211.jpg',
(int) 7 => 'platform: hostinger',
(int) 8 => 'panel: hpanel',
(int) 9 => 'content-security-policy: upgrade-insecure-requests',
(int) 10 => 'HTTP/1.0 200 OK',
(int) 11 => 'Connection: close',
(int) 12 => 'cache-control: public, max-age=604800',
(int) 13 => 'expires: Sun, 15 Sep 2024 01:26:06 GMT',
(int) 14 => 'content-type: image/jpeg',
(int) 15 => 'last-modified: Tue, 05 Sep 2023 14:14:39 GMT',
(int) 16 => 'etag: "506db-64f737cf-90a752cdd11b5fee;;;"',
(int) 17 => 'accept-ranges: bytes',
(int) 18 => 'content-length: 329435',
(int) 19 => 'date: Sun, 08 Sep 2024 01:26:06 GMT',
(int) 20 => 'server: LiteSpeed',
(int) 21 => 'platform: hostinger',
(int) 22 => 'panel: hpanel',
(int) 23 => 'content-security-policy: upgrade-insecure-requests'
)
imagecreatetruecolor - [internal], line ??
CropsController::index2() - APP/Controller/CropsController.php, line 278
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 107
Warning (2): Division by zero [APP/Controller/CropsController.php, line 279]Code Context //
$cropped_image_gd = imagecreatetruecolor($crop_width, $crop_height);
$wm = $original_width /$crop_width;
$id = '211'
$HOSTING_IMAGE = 'http://admin.unimundoviajes.com'
$options = array(
'conditions' => array(
'GaleriaImage.id' => '211'
)
)
$galeria = array(
'GaleriaImage' => array(
'id' => '211',
'tabla_id' => '131',
'tipo_id' => 'Oferta',
'name' => 'Oferta_131_211',
'link' => 'photos/Oferta_131_211.jpg',
'position' => '1',
'creator_id' => '2',
'created' => '2023-09-05 14:14:39',
'modified' => '2023-09-05 14:14:39'
)
)
$file_name = 'http://admin.unimundoviajes.com/img/photos/Oferta_131_211.jpg'
$crop_height = null
$crop_width = null
$file_type = 'jpg'
$original_image_size = array(
(int) 0 => (int) 900,
(int) 1 => (int) 600,
(int) 2 => (int) 2,
(int) 3 => 'width="900" height="600"',
'bits' => (int) 8,
'channels' => (int) 3,
'mime' => 'image/jpeg'
)
$original_width = (int) 900
$original_height = (int) 600
$original_image_gd = resource
$cropped_image_gd = false
$http_response_header = array(
(int) 0 => 'HTTP/1.0 301 Moved Permanently',
(int) 1 => 'Connection: close',
(int) 2 => 'content-type: text/html',
(int) 3 => 'content-length: 795',
(int) 4 => 'date: Sun, 08 Sep 2024 01:26:06 GMT',
(int) 5 => 'server: LiteSpeed',
(int) 6 => 'location: https://admin.unimundoviajes.com/img/photos/Oferta_131_211.jpg',
(int) 7 => 'platform: hostinger',
(int) 8 => 'panel: hpanel',
(int) 9 => 'content-security-policy: upgrade-insecure-requests',
(int) 10 => 'HTTP/1.0 200 OK',
(int) 11 => 'Connection: close',
(int) 12 => 'cache-control: public, max-age=604800',
(int) 13 => 'expires: Sun, 15 Sep 2024 01:26:06 GMT',
(int) 14 => 'content-type: image/jpeg',
(int) 15 => 'last-modified: Tue, 05 Sep 2023 14:14:39 GMT',
(int) 16 => 'etag: "506db-64f737cf-90a752cdd11b5fee;;;"',
(int) 17 => 'accept-ranges: bytes',
(int) 18 => 'content-length: 329435',
(int) 19 => 'date: Sun, 08 Sep 2024 01:26:06 GMT',
(int) 20 => 'server: LiteSpeed',
(int) 21 => 'platform: hostinger',
(int) 22 => 'panel: hpanel',
(int) 23 => 'content-security-policy: upgrade-insecure-requests'
)
CropsController::index2() - APP/Controller/CropsController.php, line 279
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 107
Warning (2): Division by zero [APP/Controller/CropsController.php, line 280]Code Context $cropped_image_gd = imagecreatetruecolor($crop_width, $crop_height);
$wm = $original_width /$crop_width;
$hm = $original_height /$crop_height;
$id = '211'
$HOSTING_IMAGE = 'http://admin.unimundoviajes.com'
$options = array(
'conditions' => array(
'GaleriaImage.id' => '211'
)
)
$galeria = array(
'GaleriaImage' => array(
'id' => '211',
'tabla_id' => '131',
'tipo_id' => 'Oferta',
'name' => 'Oferta_131_211',
'link' => 'photos/Oferta_131_211.jpg',
'position' => '1',
'creator_id' => '2',
'created' => '2023-09-05 14:14:39',
'modified' => '2023-09-05 14:14:39'
)
)
$file_name = 'http://admin.unimundoviajes.com/img/photos/Oferta_131_211.jpg'
$crop_height = null
$crop_width = null
$file_type = 'jpg'
$original_image_size = array(
(int) 0 => (int) 900,
(int) 1 => (int) 600,
(int) 2 => (int) 2,
(int) 3 => 'width="900" height="600"',
'bits' => (int) 8,
'channels' => (int) 3,
'mime' => 'image/jpeg'
)
$original_width = (int) 900
$original_height = (int) 600
$original_image_gd = resource
$cropped_image_gd = false
$wm = (float) INF
$http_response_header = array(
(int) 0 => 'HTTP/1.0 301 Moved Permanently',
(int) 1 => 'Connection: close',
(int) 2 => 'content-type: text/html',
(int) 3 => 'content-length: 795',
(int) 4 => 'date: Sun, 08 Sep 2024 01:26:06 GMT',
(int) 5 => 'server: LiteSpeed',
(int) 6 => 'location: https://admin.unimundoviajes.com/img/photos/Oferta_131_211.jpg',
(int) 7 => 'platform: hostinger',
(int) 8 => 'panel: hpanel',
(int) 9 => 'content-security-policy: upgrade-insecure-requests',
(int) 10 => 'HTTP/1.0 200 OK',
(int) 11 => 'Connection: close',
(int) 12 => 'cache-control: public, max-age=604800',
(int) 13 => 'expires: Sun, 15 Sep 2024 01:26:06 GMT',
(int) 14 => 'content-type: image/jpeg',
(int) 15 => 'last-modified: Tue, 05 Sep 2023 14:14:39 GMT',
(int) 16 => 'etag: "506db-64f737cf-90a752cdd11b5fee;;;"',
(int) 17 => 'accept-ranges: bytes',
(int) 18 => 'content-length: 329435',
(int) 19 => 'date: Sun, 08 Sep 2024 01:26:06 GMT',
(int) 20 => 'server: LiteSpeed',
(int) 21 => 'platform: hostinger',
(int) 22 => 'panel: hpanel',
(int) 23 => 'content-security-policy: upgrade-insecure-requests'
)
CropsController::index2() - APP/Controller/CropsController.php, line 280
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 107
Warning (2): imagecopyresampled() expects parameter 1 to be resource, boolean given [APP/Controller/CropsController.php, line 290]Code Context $int_width = $half_width - $w_height;
//
imagecopyresampled($cropped_image_gd ,$original_image_gd ,-$int_width,0,0,0, $adjusted_width, $crop_height, $original_width , $original_height );
$id = '211'
$HOSTING_IMAGE = 'http://admin.unimundoviajes.com'
$options = array(
'conditions' => array(
'GaleriaImage.id' => '211'
)
)
$galeria = array(
'GaleriaImage' => array(
'id' => '211',
'tabla_id' => '131',
'tipo_id' => 'Oferta',
'name' => 'Oferta_131_211',
'link' => 'photos/Oferta_131_211.jpg',
'position' => '1',
'creator_id' => '2',
'created' => '2023-09-05 14:14:39',
'modified' => '2023-09-05 14:14:39'
)
)
$file_name = 'http://admin.unimundoviajes.com/img/photos/Oferta_131_211.jpg'
$crop_height = null
$crop_width = null
$file_type = 'jpg'
$original_image_size = array(
(int) 0 => (int) 900,
(int) 1 => (int) 600,
(int) 2 => (int) 2,
(int) 3 => 'width="900" height="600"',
'bits' => (int) 8,
'channels' => (int) 3,
'mime' => 'image/jpeg'
)
$original_width = (int) 900
$original_height = (int) 600
$original_image_gd = resource
$cropped_image_gd = false
$wm = (float) INF
$hm = (float) INF
$h_height = (int) 0
$w_height = (int) 0
$adjusted_width = (float) 0
$half_width = (float) 0
$int_width = (float) 0
$http_response_header = array(
(int) 0 => 'HTTP/1.0 301 Moved Permanently',
(int) 1 => 'Connection: close',
(int) 2 => 'content-type: text/html',
(int) 3 => 'content-length: 795',
(int) 4 => 'date: Sun, 08 Sep 2024 01:26:06 GMT',
(int) 5 => 'server: LiteSpeed',
(int) 6 => 'location: https://admin.unimundoviajes.com/img/photos/Oferta_131_211.jpg',
(int) 7 => 'platform: hostinger',
(int) 8 => 'panel: hpanel',
(int) 9 => 'content-security-policy: upgrade-insecure-requests',
(int) 10 => 'HTTP/1.0 200 OK',
(int) 11 => 'Connection: close',
(int) 12 => 'cache-control: public, max-age=604800',
(int) 13 => 'expires: Sun, 15 Sep 2024 01:26:06 GMT',
(int) 14 => 'content-type: image/jpeg',
(int) 15 => 'last-modified: Tue, 05 Sep 2023 14:14:39 GMT',
(int) 16 => 'etag: "506db-64f737cf-90a752cdd11b5fee;;;"',
(int) 17 => 'accept-ranges: bytes',
(int) 18 => 'content-length: 329435',
(int) 19 => 'date: Sun, 08 Sep 2024 01:26:06 GMT',
(int) 20 => 'server: LiteSpeed',
(int) 21 => 'platform: hostinger',
(int) 22 => 'panel: hpanel',
(int) 23 => 'content-security-policy: upgrade-insecure-requests'
)
imagecopyresampled - [internal], line ??
CropsController::index2() - APP/Controller/CropsController.php, line 290
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 107
Warning (2): Cannot modify header information - headers already sent by (output started at /home/u646796498/domains/unimundoviajes.com/public_html/lib/Cake/Utility/Debugger.php:795) [APP/Controller/CropsController.php, line 306]Code Context if($file_type=='jpg')
{
header ("Content-Type: image/jpeg");
$id = '211'
$HOSTING_IMAGE = 'http://admin.unimundoviajes.com'
$options = array(
'conditions' => array(
'GaleriaImage.id' => '211'
)
)
$galeria = array(
'GaleriaImage' => array(
'id' => '211',
'tabla_id' => '131',
'tipo_id' => 'Oferta',
'name' => 'Oferta_131_211',
'link' => 'photos/Oferta_131_211.jpg',
'position' => '1',
'creator_id' => '2',
'created' => '2023-09-05 14:14:39',
'modified' => '2023-09-05 14:14:39'
)
)
$file_name = 'http://admin.unimundoviajes.com/img/photos/Oferta_131_211.jpg'
$crop_height = null
$crop_width = null
$file_type = 'jpg'
$original_image_size = array(
(int) 0 => (int) 900,
(int) 1 => (int) 600,
(int) 2 => (int) 2,
(int) 3 => 'width="900" height="600"',
'bits' => (int) 8,
'channels' => (int) 3,
'mime' => 'image/jpeg'
)
$original_width = (int) 900
$original_height = (int) 600
$original_image_gd = resource
$cropped_image_gd = false
$wm = (float) INF
$hm = (float) INF
$h_height = (int) 0
$w_height = (int) 0
$adjusted_width = (float) 0
$half_width = (float) 0
$int_width = (float) 0
$http_response_header = array(
(int) 0 => 'HTTP/1.0 301 Moved Permanently',
(int) 1 => 'Connection: close',
(int) 2 => 'content-type: text/html',
(int) 3 => 'content-length: 795',
(int) 4 => 'date: Sun, 08 Sep 2024 01:26:06 GMT',
(int) 5 => 'server: LiteSpeed',
(int) 6 => 'location: https://admin.unimundoviajes.com/img/photos/Oferta_131_211.jpg',
(int) 7 => 'platform: hostinger',
(int) 8 => 'panel: hpanel',
(int) 9 => 'content-security-policy: upgrade-insecure-requests',
(int) 10 => 'HTTP/1.0 200 OK',
(int) 11 => 'Connection: close',
(int) 12 => 'cache-control: public, max-age=604800',
(int) 13 => 'expires: Sun, 15 Sep 2024 01:26:06 GMT',
(int) 14 => 'content-type: image/jpeg',
(int) 15 => 'last-modified: Tue, 05 Sep 2023 14:14:39 GMT',
(int) 16 => 'etag: "506db-64f737cf-90a752cdd11b5fee;;;"',
(int) 17 => 'accept-ranges: bytes',
(int) 18 => 'content-length: 329435',
(int) 19 => 'date: Sun, 08 Sep 2024 01:26:06 GMT',
(int) 20 => 'server: LiteSpeed',
(int) 21 => 'platform: hostinger',
(int) 22 => 'panel: hpanel',
(int) 23 => 'content-security-policy: upgrade-insecure-requests'
)
header - [internal], line ??
CropsController::index2() - APP/Controller/CropsController.php, line 306
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 107
Warning (2): imagejpeg() expects parameter 1 to be resource, boolean given [APP/Controller/CropsController.php, line 307]Code Context {
header ("Content-Type: image/jpeg");
return imagejpeg($cropped_image_gd);
$id = '211'
$HOSTING_IMAGE = 'http://admin.unimundoviajes.com'
$options = array(
'conditions' => array(
'GaleriaImage.id' => '211'
)
)
$galeria = array(
'GaleriaImage' => array(
'id' => '211',
'tabla_id' => '131',
'tipo_id' => 'Oferta',
'name' => 'Oferta_131_211',
'link' => 'photos/Oferta_131_211.jpg',
'position' => '1',
'creator_id' => '2',
'created' => '2023-09-05 14:14:39',
'modified' => '2023-09-05 14:14:39'
)
)
$file_name = 'http://admin.unimundoviajes.com/img/photos/Oferta_131_211.jpg'
$crop_height = null
$crop_width = null
$file_type = 'jpg'
$original_image_size = array(
(int) 0 => (int) 900,
(int) 1 => (int) 600,
(int) 2 => (int) 2,
(int) 3 => 'width="900" height="600"',
'bits' => (int) 8,
'channels' => (int) 3,
'mime' => 'image/jpeg'
)
$original_width = (int) 900
$original_height = (int) 600
$original_image_gd = resource
$cropped_image_gd = false
$wm = (float) INF
$hm = (float) INF
$h_height = (int) 0
$w_height = (int) 0
$adjusted_width = (float) 0
$half_width = (float) 0
$int_width = (float) 0
$http_response_header = array(
(int) 0 => 'HTTP/1.0 301 Moved Permanently',
(int) 1 => 'Connection: close',
(int) 2 => 'content-type: text/html',
(int) 3 => 'content-length: 795',
(int) 4 => 'date: Sun, 08 Sep 2024 01:26:06 GMT',
(int) 5 => 'server: LiteSpeed',
(int) 6 => 'location: https://admin.unimundoviajes.com/img/photos/Oferta_131_211.jpg',
(int) 7 => 'platform: hostinger',
(int) 8 => 'panel: hpanel',
(int) 9 => 'content-security-policy: upgrade-insecure-requests',
(int) 10 => 'HTTP/1.0 200 OK',
(int) 11 => 'Connection: close',
(int) 12 => 'cache-control: public, max-age=604800',
(int) 13 => 'expires: Sun, 15 Sep 2024 01:26:06 GMT',
(int) 14 => 'content-type: image/jpeg',
(int) 15 => 'last-modified: Tue, 05 Sep 2023 14:14:39 GMT',
(int) 16 => 'etag: "506db-64f737cf-90a752cdd11b5fee;;;"',
(int) 17 => 'accept-ranges: bytes',
(int) 18 => 'content-length: 329435',
(int) 19 => 'date: Sun, 08 Sep 2024 01:26:06 GMT',
(int) 20 => 'server: LiteSpeed',
(int) 21 => 'platform: hostinger',
(int) 22 => 'panel: hpanel',
(int) 23 => 'content-security-policy: upgrade-insecure-requests'
)
imagejpeg - [internal], line ??
CropsController::index2() - APP/Controller/CropsController.php, line 307
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 107