Make sure that the images directory is writable by the Apache/PHP
user. (Contact your host about specific details.)
Try making it world-writable.
On 7/18/05, Ira Goldstein <igoldste(a)gw.neric.org> wrote:
Hi. I'm setting up a new wiki and just enabled
uploads with "$wgDisableUploads = false;" This enable the upload page, but when
I try to upload a sample image, I received a series of permission errors. Obvously I need
to chown or chmod the directories, but do not know what they should be set to. After
running the installation routine, the directories were set to "501:cdrom". I
tried to changing the images directory to "root:root", but the problem
persisted.
Rather than guess, I thought I would pose the question to the list. Any advices, or
pointers to appropriate documentation, would be appreciated.
Thanks
--Ira
Warning: mkdir(/usr/local/src/mediawiki/mediawiki-1.4.6/images/3):
Permission denied
in /usr/local/src/mediawiki/mediawiki-1.4.6/includes/Image.php on line
724
Warning: mkdir(/usr/local/src/mediawiki/mediawiki-1.4.6/images/3/3e): No
such file or directory
in /usr/local/src/mediawiki/mediawiki-1.4.6/includes/Image.php on line
726
Warning:
move_uploaded_file(/usr/local/src/mediawiki/mediawiki-1.4.6/images/3/3e/Vs.jpg):
failed to open stream: No such file or directory
in /usr/local/src/mediawiki/mediawiki-1.4.6/includes/SpecialUpload.php on
line 316
Warning: move_uploaded_file(): Unable to move '/tmp/phpVSEIKH' to
'/usr/local/src/mediawiki/mediawiki-1.4.6/images/3/3e/Vs.jpg'
in /usr/local/src/mediawiki/mediawiki-1.4.6/includes/SpecialUpload.php on
line 316
Internal error
Could not copy file "/tmp/phpVSEIKH" to
"/usr/local/src/mediawiki/mediawiki-1.4.6/images/3/3e/Vs.jpg".
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
--
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!
Have lots of invites. Gmail now has 2GB.