Reply to script stops at handle process

script stops at handle process new!
by Rene, 5 years, 5 months ago
Hi,

I am using the class for a long time, and it works fine.
But now i have a problem with 1 image.
I have 1 image, and with that image, the script stops at $handle->process();

I thought maybe its the image-size. But the image is just a JPG and 2.777kb.
The php.ini is set to this :
max_execution_time = 300
max_input_time = 300
memory_limit = 256M
upload_max_filesize = 16M
post_max_size = 16M


I put some echo in the script to check where it goes wrong.
echo test1 before $handle->process() is showed.
echo test2 after $handle->process() is not showed.

Anyone an idea why the script can stop at that moment and what can be wrong on that image? Coult it be the resolution of the image? It's an image made by a Canon camera.
Here some details of the image which will not be uploaded :
Sizes : 9000 x 6000
Width : 9000 pixels
Height : 6000 pixels
Horizontal resolution : 762 dpi
Vertical resolution : 762 dpi
Bitdepth : 24


Here is the script i used and which works fine for all images, exept this one:

$handle = new Upload($_FILES['afbeelding'], 'nl_NL');
if ($handle->uploaded) {
  $title = strtourl($handle->file_src_name_body);
  $fotonaam = $title."_".$fotodatum.".jpg";
  $handle->image_resize = true;
  $handle->image_ratio = true;
  $handle->image_y = 768;
  $handle->image_x = 1024;
  $handle->file_new_name_body = $title;
  $handle->file_name_body_add = '_'.$fotodatum;
  $handle->jpeg_quality		= 80;
  $handle->image_convert		= 'jpg';
  echo "test1
";
  $handle->process($path);
  echo "test2
";
				
  if ($handle->processed) {
    echo "upload OK";				
    echo $handle->log;
  } else {
    echo "no upload";				
    echo $handle->log;
  }
}

Thnx so far...
Best regards,
ReneReply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important