PHP warning

imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: gd-jpeg, libjpeg: recoverable error: Invalid SOS parameters for sequential JPEG

/home/storage/3/77/60/diarioforense/public_html/protected/extensions/image/drivers/Image_GD_Driver.php(77)

65         // Make sure the image type is supported for import
66         if (empty($create) OR ! function_exists($create))
67             throw new CException('image type not allowed');
68 
69         // Make sure the image type is supported for saving
70         if (empty($save) OR ! function_exists($save))
71             throw new CException('image type not allowed');
72 
73         // Load the image
74         $this->image = $image;
75 
76         // Create the GD image resource
77         $this->tmp_image = $create($image['file']);
78 
79         // Get the quality setting from the actions
80         $quality = CArray::remove('quality', $actions);
81 
82         if ($status = $this->execute($actions))
83         {
84             // Prevent the alpha from being lost
85             imagealphablending($this->tmp_image, TRUE);
86             imagesavealpha($this->tmp_image, TRUE);
87 
88             switch ($save)
89             {

Stack Trace

#0
+
 /home/storage/3/77/60/diarioforense/public_html/protected/extensions/image/drivers/Image_GD_Driver.php(77): imagecreatefromjpeg("/home/storage/3/77/60/diarioforense/public_html/images/uploaded/...")
72 
73         // Load the image
74         $this->image = $image;
75 
76         // Create the GD image resource
77         $this->tmp_image = $create($image['file']);
78 
79         // Get the quality setting from the actions
80         $quality = CArray::remove('quality', $actions);
81 
82         if ($status = $this->execute($actions))
#1
+
 /home/storage/3/77/60/diarioforense/public_html/protected/extensions/image/Image.php(334): Image_GD_Driver->process(array("file" => "/home/storage/3/77/60/diarioforense/public_html/images/uploaded/...", "width" => 2898, "height" => 1816, "type" => 2, ...), array("resize" => array("width" => 1000, "height" => 750, "master" => 2)), "/home/storage/3/77/60/diarioforense/public_html/images/uploaded/...", "5f6f773225cce44c40e4be1b5ab248d3.jpg")
329         $dir = str_replace('\\', '/', realpath($dir)).'/';
330                 
331         if ( ! is_writable($dir))
332             throw new CException('image directory unwritable');
333                
334                 $status = $this->driver->process($this->image, $this->actions, $dir, $file);
335         if (isset($status))
336         {
337             if ($chmod !== FALSE)
338             {
339                 // Set permissions
#2
+
 /home/storage/3/77/60/diarioforense/public_html/protected/extensions/justintimer/EJustInTimeR.php(81): Image->save("/home/storage/3/77/60/diarioforense/public_html/protected/../ima...")
76             } else {
77                 $image = new Image($this->original);
78                 
79 
80                 $image->resize($this->cropWidth, $this->cropHeight);
81                 $image->save($this->cropPath);
82                 
83                 $image->resize($this->bigWidth, $this->bigHeight);
84                 $image->save($this->bigPath);
85                 
86                 $image->resize($this->thumbWidth, $this->thumbHeight);
2024-03-28 10:58:58 Apache Yii Framework/1.1.13