[Mediawiki-l] Unable to upload files after migrating wiki from Windows to Linux

Chris Lieb chris.lieb+nospam at gmail.com
Wed Aug 5 15:39:50 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

- ---------------------------------------------------------------
debug stuff in LocalSettings.php (directly after if $wgCommandLineMode):
- ---------------------------------------------------------------

error_reporting(E_ALL);
ini_set("display_errors", 1);
$wgShowExceptionDetails = true;
$wgShowSQLErrors = true;
$wgDebugDumpSql = true;
$wgDebugLogFile = "/tmp/mediawiki.log";

- ----------------------------------------------------------------
log output:
- ----------------------------------------------------------------
see attachment
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJKeafGAAoJEJWxx7fgsD+Ce8IIAMfrKTmgXHpCSkH1BJQzjy2y
dcoJvQp+yUfKTScS5wru4/Vvtp4RgTf3U7qa3b18E5tzJl0TrlLa480lbbNgjKwA
u9yWQwwYV2E3HBk7xQhauQg7nxyJ5rOAmgKdt4kL5uimIgsy2FQoQ/n5S48sbcM6
fbhkzSSSC5M5wPKi2RQmtHQXdnAy9nfmDotRpwHtKfABU8k52WkHGFRgJqgWWtS8
oBGYkDWc5ybMVAtnMqlnElespma0+sAxjcFAQXFWVBCnLv8IvJRNpv+PjDIkk/1S
CGqW19Fsnno85/XruGO0Y9YI8BYhf+6j09mM02f+HDE5NuYNwdCMdhO0TPdmdtI=
=Oa9q
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log_output.txt
Url: http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20090805/b3aa1859/attachment.txt 


More information about the MediaWiki-l mailing list