AcceptPathInfo Didn't Work

AcceptPathInfo Didn't Work

by Carter Harris -
Number of replies: 2

I was having a problem opening some files that were uploaded to Moodle and I thought I found the answer in the forums. But in trying to implement it I messed up something.

The fix was at: http://moodle.org/mod/forum/search.php?search=Allowpath&id=5

and I put AcceptPathInfo on in my conf file and now I'm getting the following:

Warning: mkdir(): open_basedir restriction in effect. File(/home/domain/moodledata) is not within the allowed path(s): (.) in /home/domain/public_html/moodle/lib/moodlelib.php on line 1912

ERROR: You need to create the directory /home/domain/moodledata with web server write access


Warning: mkdir(): open_basedir restriction in effect. File(/home/domain/moodledata) is not within the allowed path(s): (.) in /home/domain/public_html/moodle/lib/moodlelib.php on line 1912

ERROR: You need to create the directory /home/domain/moodledata with web server write access


Warning: ini_set(): open_basedir restriction in effect. File(/home/domain/moodledata/sessions) is not within the allowed path(s): (.) in /home/domain/public_html/moodle/lib/setup.php on line 123
Web Based Classroom

I've checked the permissions and they are 777 on moodledata and all subfolders.

Any help would be appreciated. Quick help would be greatly appreciated.

Carter

Average of ratings: -
In reply to Carter Harris

Re: AcceptPathInfo Didn't Work

by Mohd Radzi Abdul Kadir -
what system are you using? if you are using fedora core 3 or any system that install SELinux by default, you should read  http://fedora.redhat.com/projects/selinux/

hope this will help
In reply to Mohd Radzi Abdul Kadir

Re: AcceptPathInfo Didn't Work

by Carter Harris -

Thanks for the reply, Mohd.

I'm using Mandrake and I don't believe that the security enhancements are installed.

I have recovered somewhat but I am still having the original problem.