Warning (2): getimagesize(http://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
[APP/Controller/CropsController.php, line 260]Code Context $this->response->type($file_type);
//
$original_image_size = getimagesize($file_name);
$id = '215'
$HOSTING_IMAGE = 'http://admin.unimundoviajes.com'
$options = array(
'conditions' => array(
'GaleriaImage.id' => '215'
)
)
$galeria = array(
'GaleriaImage' => array(
'id' => '215',
'tabla_id' => '133',
'tipo_id' => 'Oferta',
'name' => 'Oferta_133_215',
'link' => 'photos/Oferta_133_215.jpg',
'position' => '1',
'creator_id' => '2',
'created' => '2024-01-19 11:10:49',
'modified' => '2024-01-19 11:10:49'
)
)
$file_name = 'http://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg'
$crop_height = null
$crop_width = null
$file_type = 'jpg'
$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:41:43 GMT',
(int) 5 => 'server: LiteSpeed',
(int) 6 => 'location: https://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg',
(int) 7 => 'platform: hostinger',
(int) 8 => 'panel: hpanel',
(int) 9 => 'content-security-policy: upgrade-insecure-requests',
(int) 10 => 'HTTP/1.0 404 Not Found',
(int) 11 => 'Connection: close',
(int) 12 => 'x-powered-by: PHP/7.0.33',
(int) 13 => 'content-type: text/html; charset=UTF-8',
(int) 14 => 'content-length: 23596',
(int) 15 => 'date: Sun, 08 Sep 2024 01:41:43 GMT',
(int) 16 => 'server: LiteSpeed',
(int) 17 => 'platform: hostinger',
(int) 18 => 'panel: hpanel',
(int) 19 => 'content-security-policy: upgrade-insecure-requests'
)
getimagesize - [internal], line ??
CropsController::index2() - APP/Controller/CropsController.php, line 260
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): imagecreatefromjpeg(http://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg) [<a href='http://php.net/function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
[APP/Controller/CropsController.php, line 266]Code Context if($file_type=='jpg')
{
$original_image_gd = imagecreatefromjpeg($file_name);
$id = '215'
$HOSTING_IMAGE = 'http://admin.unimundoviajes.com'
$options = array(
'conditions' => array(
'GaleriaImage.id' => '215'
)
)
$galeria = array(
'GaleriaImage' => array(
'id' => '215',
'tabla_id' => '133',
'tipo_id' => 'Oferta',
'name' => 'Oferta_133_215',
'link' => 'photos/Oferta_133_215.jpg',
'position' => '1',
'creator_id' => '2',
'created' => '2024-01-19 11:10:49',
'modified' => '2024-01-19 11:10:49'
)
)
$file_name = 'http://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg'
$crop_height = null
$crop_width = null
$file_type = 'jpg'
$original_image_size = false
$original_width = null
$original_height = null
$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:41:43 GMT',
(int) 5 => 'server: LiteSpeed',
(int) 6 => 'location: https://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg',
(int) 7 => 'platform: hostinger',
(int) 8 => 'panel: hpanel',
(int) 9 => 'content-security-policy: upgrade-insecure-requests',
(int) 10 => 'HTTP/1.0 404 Not Found',
(int) 11 => 'Connection: close',
(int) 12 => 'x-powered-by: PHP/7.0.33',
(int) 13 => 'content-type: text/html; charset=UTF-8',
(int) 14 => 'content-length: 23596',
(int) 15 => 'date: Sun, 08 Sep 2024 01:41:43 GMT',
(int) 16 => 'server: LiteSpeed',
(int) 17 => 'platform: hostinger',
(int) 18 => 'panel: hpanel',
(int) 19 => 'content-security-policy: upgrade-insecure-requests'
)
imagecreatefromjpeg - [internal], line ??
CropsController::index2() - APP/Controller/CropsController.php, line 266
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): imagecreatetruecolor() [<a href='http://php.net/function.imagecreatetruecolor'>function.imagecreatetruecolor</a>]: Invalid image dimensions [APP/Controller/CropsController.php, line 278]Code Context }
//
$cropped_image_gd = imagecreatetruecolor($crop_width, $crop_height);
$id = '215'
$HOSTING_IMAGE = 'http://admin.unimundoviajes.com'
$options = array(
'conditions' => array(
'GaleriaImage.id' => '215'
)
)
$galeria = array(
'GaleriaImage' => array(
'id' => '215',
'tabla_id' => '133',
'tipo_id' => 'Oferta',
'name' => 'Oferta_133_215',
'link' => 'photos/Oferta_133_215.jpg',
'position' => '1',
'creator_id' => '2',
'created' => '2024-01-19 11:10:49',
'modified' => '2024-01-19 11:10:49'
)
)
$file_name = 'http://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg'
$crop_height = null
$crop_width = null
$file_type = 'jpg'
$original_image_size = false
$original_width = null
$original_height = null
$original_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:41:43 GMT',
(int) 5 => 'server: LiteSpeed',
(int) 6 => 'location: https://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg',
(int) 7 => 'platform: hostinger',
(int) 8 => 'panel: hpanel',
(int) 9 => 'content-security-policy: upgrade-insecure-requests',
(int) 10 => 'HTTP/1.0 404 Not Found',
(int) 11 => 'Connection: close',
(int) 12 => 'x-powered-by: PHP/7.0.33',
(int) 13 => 'content-type: text/html; charset=UTF-8',
(int) 14 => 'content-length: 23596',
(int) 15 => 'date: Sun, 08 Sep 2024 01:41:43 GMT',
(int) 16 => 'server: LiteSpeed',
(int) 17 => 'platform: hostinger',
(int) 18 => 'panel: hpanel',
(int) 19 => '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 = '215'
$HOSTING_IMAGE = 'http://admin.unimundoviajes.com'
$options = array(
'conditions' => array(
'GaleriaImage.id' => '215'
)
)
$galeria = array(
'GaleriaImage' => array(
'id' => '215',
'tabla_id' => '133',
'tipo_id' => 'Oferta',
'name' => 'Oferta_133_215',
'link' => 'photos/Oferta_133_215.jpg',
'position' => '1',
'creator_id' => '2',
'created' => '2024-01-19 11:10:49',
'modified' => '2024-01-19 11:10:49'
)
)
$file_name = 'http://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg'
$crop_height = null
$crop_width = null
$file_type = 'jpg'
$original_image_size = false
$original_width = null
$original_height = null
$original_image_gd = false
$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:41:43 GMT',
(int) 5 => 'server: LiteSpeed',
(int) 6 => 'location: https://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg',
(int) 7 => 'platform: hostinger',
(int) 8 => 'panel: hpanel',
(int) 9 => 'content-security-policy: upgrade-insecure-requests',
(int) 10 => 'HTTP/1.0 404 Not Found',
(int) 11 => 'Connection: close',
(int) 12 => 'x-powered-by: PHP/7.0.33',
(int) 13 => 'content-type: text/html; charset=UTF-8',
(int) 14 => 'content-length: 23596',
(int) 15 => 'date: Sun, 08 Sep 2024 01:41:43 GMT',
(int) 16 => 'server: LiteSpeed',
(int) 17 => 'platform: hostinger',
(int) 18 => 'panel: hpanel',
(int) 19 => '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 = '215'
$HOSTING_IMAGE = 'http://admin.unimundoviajes.com'
$options = array(
'conditions' => array(
'GaleriaImage.id' => '215'
)
)
$galeria = array(
'GaleriaImage' => array(
'id' => '215',
'tabla_id' => '133',
'tipo_id' => 'Oferta',
'name' => 'Oferta_133_215',
'link' => 'photos/Oferta_133_215.jpg',
'position' => '1',
'creator_id' => '2',
'created' => '2024-01-19 11:10:49',
'modified' => '2024-01-19 11:10:49'
)
)
$file_name = 'http://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg'
$crop_height = null
$crop_width = null
$file_type = 'jpg'
$original_image_size = false
$original_width = null
$original_height = null
$original_image_gd = false
$cropped_image_gd = false
$wm = (float) NAN
$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:41:43 GMT',
(int) 5 => 'server: LiteSpeed',
(int) 6 => 'location: https://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg',
(int) 7 => 'platform: hostinger',
(int) 8 => 'panel: hpanel',
(int) 9 => 'content-security-policy: upgrade-insecure-requests',
(int) 10 => 'HTTP/1.0 404 Not Found',
(int) 11 => 'Connection: close',
(int) 12 => 'x-powered-by: PHP/7.0.33',
(int) 13 => 'content-type: text/html; charset=UTF-8',
(int) 14 => 'content-length: 23596',
(int) 15 => 'date: Sun, 08 Sep 2024 01:41:43 GMT',
(int) 16 => 'server: LiteSpeed',
(int) 17 => 'platform: hostinger',
(int) 18 => 'panel: hpanel',
(int) 19 => '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 298]Code Context $int_height = $half_height - $h_height;
//
imagecopyresampled($cropped_image_gd , $original_image_gd ,0,-$int_height,0,0, $crop_width, $adjusted_height, $original_width , $original_height );
$id = '215'
$HOSTING_IMAGE = 'http://admin.unimundoviajes.com'
$options = array(
'conditions' => array(
'GaleriaImage.id' => '215'
)
)
$galeria = array(
'GaleriaImage' => array(
'id' => '215',
'tabla_id' => '133',
'tipo_id' => 'Oferta',
'name' => 'Oferta_133_215',
'link' => 'photos/Oferta_133_215.jpg',
'position' => '1',
'creator_id' => '2',
'created' => '2024-01-19 11:10:49',
'modified' => '2024-01-19 11:10:49'
)
)
$file_name = 'http://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg'
$crop_height = null
$crop_width = null
$file_type = 'jpg'
$original_image_size = false
$original_width = null
$original_height = null
$original_image_gd = false
$cropped_image_gd = false
$wm = (float) NAN
$hm = (float) NAN
$h_height = (int) 0
$w_height = (int) 0
$adjusted_height = (float) NAN
$half_height = (float) NAN
$int_height = (float) NAN
$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:41:43 GMT',
(int) 5 => 'server: LiteSpeed',
(int) 6 => 'location: https://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg',
(int) 7 => 'platform: hostinger',
(int) 8 => 'panel: hpanel',
(int) 9 => 'content-security-policy: upgrade-insecure-requests',
(int) 10 => 'HTTP/1.0 404 Not Found',
(int) 11 => 'Connection: close',
(int) 12 => 'x-powered-by: PHP/7.0.33',
(int) 13 => 'content-type: text/html; charset=UTF-8',
(int) 14 => 'content-length: 23596',
(int) 15 => 'date: Sun, 08 Sep 2024 01:41:43 GMT',
(int) 16 => 'server: LiteSpeed',
(int) 17 => 'platform: hostinger',
(int) 18 => 'panel: hpanel',
(int) 19 => 'content-security-policy: upgrade-insecure-requests'
)
imagecopyresampled - [internal], line ??
CropsController::index2() - APP/Controller/CropsController.php, line 298
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 = '215'
$HOSTING_IMAGE = 'http://admin.unimundoviajes.com'
$options = array(
'conditions' => array(
'GaleriaImage.id' => '215'
)
)
$galeria = array(
'GaleriaImage' => array(
'id' => '215',
'tabla_id' => '133',
'tipo_id' => 'Oferta',
'name' => 'Oferta_133_215',
'link' => 'photos/Oferta_133_215.jpg',
'position' => '1',
'creator_id' => '2',
'created' => '2024-01-19 11:10:49',
'modified' => '2024-01-19 11:10:49'
)
)
$file_name = 'http://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg'
$crop_height = null
$crop_width = null
$file_type = 'jpg'
$original_image_size = false
$original_width = null
$original_height = null
$original_image_gd = false
$cropped_image_gd = false
$wm = (float) NAN
$hm = (float) NAN
$h_height = (int) 0
$w_height = (int) 0
$adjusted_height = (float) NAN
$half_height = (float) NAN
$int_height = (float) NAN
$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:41:43 GMT',
(int) 5 => 'server: LiteSpeed',
(int) 6 => 'location: https://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg',
(int) 7 => 'platform: hostinger',
(int) 8 => 'panel: hpanel',
(int) 9 => 'content-security-policy: upgrade-insecure-requests',
(int) 10 => 'HTTP/1.0 404 Not Found',
(int) 11 => 'Connection: close',
(int) 12 => 'x-powered-by: PHP/7.0.33',
(int) 13 => 'content-type: text/html; charset=UTF-8',
(int) 14 => 'content-length: 23596',
(int) 15 => 'date: Sun, 08 Sep 2024 01:41:43 GMT',
(int) 16 => 'server: LiteSpeed',
(int) 17 => 'platform: hostinger',
(int) 18 => 'panel: hpanel',
(int) 19 => '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 = '215'
$HOSTING_IMAGE = 'http://admin.unimundoviajes.com'
$options = array(
'conditions' => array(
'GaleriaImage.id' => '215'
)
)
$galeria = array(
'GaleriaImage' => array(
'id' => '215',
'tabla_id' => '133',
'tipo_id' => 'Oferta',
'name' => 'Oferta_133_215',
'link' => 'photos/Oferta_133_215.jpg',
'position' => '1',
'creator_id' => '2',
'created' => '2024-01-19 11:10:49',
'modified' => '2024-01-19 11:10:49'
)
)
$file_name = 'http://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg'
$crop_height = null
$crop_width = null
$file_type = 'jpg'
$original_image_size = false
$original_width = null
$original_height = null
$original_image_gd = false
$cropped_image_gd = false
$wm = (float) NAN
$hm = (float) NAN
$h_height = (int) 0
$w_height = (int) 0
$adjusted_height = (float) NAN
$half_height = (float) NAN
$int_height = (float) NAN
$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:41:43 GMT',
(int) 5 => 'server: LiteSpeed',
(int) 6 => 'location: https://admin.unimundoviajes.com/img/photos/Oferta_133_215.jpg',
(int) 7 => 'platform: hostinger',
(int) 8 => 'panel: hpanel',
(int) 9 => 'content-security-policy: upgrade-insecure-requests',
(int) 10 => 'HTTP/1.0 404 Not Found',
(int) 11 => 'Connection: close',
(int) 12 => 'x-powered-by: PHP/7.0.33',
(int) 13 => 'content-type: text/html; charset=UTF-8',
(int) 14 => 'content-length: 23596',
(int) 15 => 'date: Sun, 08 Sep 2024 01:41:43 GMT',
(int) 16 => 'server: LiteSpeed',
(int) 17 => 'platform: hostinger',
(int) 18 => 'panel: hpanel',
(int) 19 => '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