-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 8/5/2009 10:39 AM, Chris Lieb wrote:
I recently migrated my wiki from Windows to Linux. Apache, PHP, MySQL, and MediaWiki were the same versions on both computers. I am running MediaWiki 1.15.1, Apache 2.2.11, PHP 5.2.10, and MySQL 5.0.70.
I want to upload a new version of an image, so I navigate to it's page and click "Upload a new version of this file". This takes me to the upload page, where the "Destination filename" is already populated. I enter the path to the file to upload and a brief description and click "Upload file". The file is submitted to the server, but then I am sent to Special:Upload instead of the file's page.
I have tried following the "How to debug" article at MediaWiki's website, but I don't see any error being output anywhere. I have enabled logging and watched it as I upload a file, but it seems mysteriously void of any output looking like an upload. The only hint that an upload happened is due to the multipart request sent to the server.
The images directory is owned by both the apache user and the apache group and is 755 for directories and 644 for files. I can save revisions to articles without problem. Images show up just fine on the wiki.
Does anyone know what is wrong?
Thanks, Chris Lieb
I feel so stupid. I simply forgot to increase the maximum size of POST data in PHP to match the maximum upload size set in LocalSettings.php.