Bug #55816 [NEW]: Some GD function stop working in 5.3.8
| From: | mysql dot jorge at decimal dot pt | Date: | Thu, 29 Sep 2011 19:45:11 +0000 |
| Subject: | Bug #55816 [NEW]: Some GD function stop working in 5.3.8 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-163982@lists.php.net to get a copy of this message | ||
From:
Operating system: Linux
PHP version: 5.3.8
Package: GD related
Bug Type: Bug
Bug description:Some GD function stop working in 5.3.8
Description:
------------
Howdy,
After an upgrade from 5.3.6 to 5.3.8, some stuff stop working.
I have a few installation from opencart & prestashop software, and after
this upgrade the upload images just stop working.
I did some tests with the resize from the GD functions, and sometimes it
worked others not.
The most reliable test to reproduce this problem, was to perform a clean
install of the last stable version of both Prestashop & Opencart software.
When using 5.3.6 it works, using 5.3.8 doesn't.
I don't have any error on the screen...
How can I help to solve/debug this problem?
Test script:
---------------
http://www.white-hat-web-design.co.uk/blog/resizing-images-with-php/
<?php
include('SimpleImage.php');
$image = new SimpleImage();
$image->load('picture.jpg');
$image->scale(50);
$image->save('picture2.jpg');
?>
Sometimes the image get's with zero bytes.
--
Edit bug report at https://bugs.php.net/bug.php?id=55816&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55816&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55816&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55816&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55816&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55816&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55816&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55816&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55816&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55816&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55816&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55816&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55816&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55816&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55816&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55816&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55816&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55816&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55816&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55816&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55816&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55816&r=mysqlcfg