Last modified: 2011-04-30 01:21:25 UTC
'Clean' install of MW 1.15.1 on CentOS 5.3, Apache 2.2.3, uploading a file appears to fail with a blank page, although the image does show up under Recent Changes. Checking ssl_error_log shows the following [Wed Nov 04 02:08:42 2009] [error] [client A.B.C.D] PHP Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 92160 bytes) in /var/www/html/wiki/includes/SearchUpdate.php on line 91, referer: https://domain.tld/wiki/index.php/Special:Upload Tried changing memory_limit to 128M (from 64M)in /etc/php.ini, but that didn't help. Tried commenting out line 91 of SearchUpdate.php, but that just resulted in the same error occurring on line 97. Tried multiple files, ranging in size from 428 bytes to 615K, same results. Made sure
Since it's reporting a memory size of 20M despite php.ini being set to 64M, there's likely a spurious ini_set('memory_limit','20M') in your LocalSettings.php file, remove this line and it should be fine. Marking invalid as it's a configuration problem not an actual bug.
You're correct--the default LocalSettings.php had ini_set('memory_limit','20M')--shouldn't that be considered a bug, and removed in the next version?
Already resolved in trunk