2012-02-25, 10:58:52
(This post was last modified: 2012-02-25, 11:58:38 by susanparker.)
If you're running Suhosin, you'll get an error when accessing admin/inc/thumb.php
On line 114, it tries to reset the PHP memory limit to -1, which Suhosin does not allow. I've just commented it out for now as I'm ok with my php.ini settings being used but folks in other hosting environments might want to change it to another value.
Edit: Hmm, looks like this was also in the 3.0 version. Not sure why it only created a problem after upgrading.
On line 114, it tries to reset the PHP memory limit to -1, which Suhosin does not allow. I've just commented it out for now as I'm ok with my php.ini settings being used but folks in other hosting environments might want to change it to another value.
Code:
// Allocate all necessary memory for the image.
// Special thanks to Alecos for providing the code.
ini_set('memory_limit', '-1');
Edit: Hmm, looks like this was also in the 3.0 version. Not sure why it only created a problem after upgrading.