Forums | Mahara Community

Support /
open_basedir restriction in effect.


anonymous profile picture
Account deleted
Posts: 3

25 December 2008, 3:20

Hello,
 
Following the installation wiki I did the first time navigation in my browser to Mahara and Mahara returned thousands of error messages. The first few are listed here:
 
 
Warning: ini_set() [function.ini-set]: open_basedir restriction in effect. File(/mahadata/sessions) is not within the allowed path(s): (/home/myusername/:/tmp:/usr/local/lib/php/) in /usr/home/myusername/domains/mysite.com/public_html/mahara/auth/session.php on line 33

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/mahadata/sessions/0) is not within the allowed path(s): (/home/myusername/:/tmp:/usr/local/lib/php/) in /usr/home/myusername/domains/mysite.com/public_html/mahara/auth/session.php on line 47

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/mahadata/sessions/0) is not within the allowed path(s): (/home/myusername/:/tmp:/usr/local/lib/php/) in /usr/home/myusername/domains/mysite.com/public_html/mahara/lib/mahara.php on line 809
 
What is wrong in plain english? What do I do to get the files in the allowed path?
 
Thanks, 
Willem 
anonymous profile picture
Account deleted
Posts: 3

25 December 2008, 9:47

Hello again, 

I have some additional information. The errors come when config.php shows << $cfg->dataroot = '/mahadata'; >> and when << $cfg->dataroot = '/home/username/domains/mysite.com/public_html/mahadata';>>  the errors are gone but  then my browser returns: << error HTTP 404 cann't find:  mysite com home user name domains public html mahara admin>>. Enableing the $cfg->wwwroot  line does not seem to effect this 404 error at all.

 Cheers & merry Chrismas

anonymous profile picture
Account deleted
Posts: 228

25 December 2008, 10:43

It sounds like you're running with safe_mode on - is this a shared host?  Is there any way you can get safe_mode turned off?
anonymous profile picture
Account deleted
Posts: 3

25 December 2008, 14:52

I don't know if I'm on a shared host.  How can I check?  The phpinfo() returns:

safe mode= off 

safe_mode gid = off

safe_mod_included_dir = no value.

4 results