Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upgrading 3.0 to 3.1 ! Are there special instructions ?
#6
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.

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.
Reply


Messages In This Thread
Upgrading 3.0 to 3.1 ! Are there special instructions ? - by jsmcgraw - 2012-02-25, 10:58:52



Users browsing this thread: 2 Guest(s)