[Mediawiki-l] file upload questions and problems

revansx at cox.net revansx at cox.net
Thu Apr 12 20:30:42 UTC 2007


Hey all,
I've enabled image uploading in my wiki and have successfully uploaded numerous "jpg" files. However, today, I just added:

"$wgFileExtensions = array 'png', 'gif', 'jpg', 'jpeg', 'doc', 'xls', 'pdf');

to my LocalSettings.php and tested it. It worked for some PDF files but not for others. For the ones that failed to upload, I get the "Internal Error" wiki-page with the following message:

Internal error - Could not copy file "/tmp/phpBjaEWm" to "~~~~mypath~~~~/mediawiki-1.6.10/images/5/55/myPDFfilename.pdf".

The files that failed to upload are all > 500kB. The files that worked are all < 100kB.

My questions are:
1) Is it just a size error and if so, how do I fix it? -- and --
2) Is there any way to keep images and non-image files (like pdfs and docs) in separate folders?

thank all,
- rich (revansx)



More information about the MediaWiki-l mailing list