Thread:Project:Support desk/Image files over 1200x1600 or 1600x1200 uloads but fails to create the Image:xxxx.jpg file

When any user uploads an image file that is larger in dimension (not file size) of 1200x1600 or 1600x1200, The wiki prompts this message: Upload warning
 * MediaWiki: 1.6.12
 * PHP: 4.3.11 (cgi-fcgi)
 * MySQL: 4.1.14
 * It is recommended that images not exceed 153600 bytes in size, this file is 1902181 bytes

The user then Ignores warning and saves file anyway. Then This message shows:
 * The server encountered an internal error or misconfiguration and was unable to complete your request

Now here is the interesting part. Now the user thinks that the file did not upload. But that is not so. The file did upload. When I go to the wiki page of "title=Special:Imagelist", the file is there. When clicked on the image shows up in its full URL. But when you click on the which points to the image description file you get the error message.

This is a big problem for our wiki. Anyone's help will be greatly appreciated.