Edit report at https://bugs.php.net/bug.php?id=55816&edit=1
ID: 55816 Updated by: ahar...@php.net Reported by: mysql dot jorge at decimal dot pt Summary: Some GD function stop working in 5.3.8 -Status: Open +Status: Feedback Type: Bug Package: GD related Operating System: Linux PHP Version: 5.3.8 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Please provide a simple, standalone test script. Previous Comments: ------------------------------------------------------------------------ [2011-09-29 19:45:11] mysql dot jorge at decimal dot pt 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 this bug report at https://bugs.php.net/bug.php?id=55816&edit=1