Last modified: 2010-05-15 15:33:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T4996, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2996 - I can't upload files!
I can't upload files!
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.4.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-29 11:42 UTC by Regis Melo
Modified: 2010-05-15 15:33 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Regis Melo 2005-07-29 11:42:02 UTC
Every time that I try to upload files I get a error:

Warning: mkdir() [function.mkdir]: open_basedir restriction in effect.    
File(/home/softsite/public_html/images/8/89) is not within the allowed path(s):
(/home/restricted/home/softsite) in
/home/restricted/home/softsite/public_html/ciclopes/wiki/includes/Image.php on
line 726

Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir
restriction in effect.
File(/home/softsite/public_html/images/8/89/Modelo-hibernate-example.jpg) is not
within the allowed path(s): (/home/restricted/home/softsite) in
/home/restricted/home/softsite/public_html/ciclopes/wiki/includes/SpecialUpload.php
on line 316

The doubt is how can I configure the MediaWiki to upload to another directory?

I try to change the $wgUploadPath and $wgUploadDirectory to the correct
directory but didn't work...

How can I do that?

Thanks in advance
Comment 1 JeLuF 2005-08-01 19:17:29 UTC
You have safe_mode features of PHP enabled. Please fix your PHP settings.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links