Thread:Project:Support desk/$wgMaxImageArea using GD results in WSOD

Sorry. Forgot the following.

Mediawiki 1.23.1 PHP 5.3.24 MySQL 5.1.70 ImageMagick 6.5.4-7 iMagick module 3.0.1

Hi,

(For the record, I tried searching the threads before posting, but the request keeps timing out).

We cannot use ImageMagick on our shared server due to proc_open being disabled for security reasons.

I changed the $wgUseImageMagick = false to use the GD library as a test. When I do this, I get this message: 'Error creating thumbnail: Invalid thumbnail parameters'.

I've read in the manual that sometimes setting $wgMaxImageArea higher solves this problem (I currently have it set at 5000*5000), but when I do, it results in a WSOD. Commenting it out allows the page to display normally. I've double checked all the usual culprits (forgetting some syntax, etc).

Debugging (as per the manual) does not produce any clues or even output. There is nothing in the error log.

I have 'memory_limit' set to 64 in the LocalSettings.php file.

Any help appreciated.