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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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