Thread:Project:Support desk/"Error creating thumbnail: Error code: 2"/reply

You say you have this:

$wgMaxShellMemory = 512 000; $wgMaxShellFileSize = unlimited;

But Manual:$wgMaxShellFileSize doesn't mention "unlimited" as a valid value, and also I think "512 000" is not a valid number in PHP. It should generate a parse error. Could you please verify that?