Author: regismelo
Description:
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
Version: 1.4.x
Severity: normal
OS: Linux
Platform: PC