Forums | Mahara Community

Support /
Trouble with install on VPS package


anonymous profile picture
Account deleted
Posts: 22

16 May 2011, 14:28

Hi there,

I have signed up with a VPS host and when I tried to install it gave me this error page:

 

WAR] 42 require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/vhosts/mysite.com/httpdocs/:/tmp/)

Call stack (most recent first):
  • log_message("require(): open_basedir restriction in effect. Fil...", 8, true, true, "/var/www/vhosts/mysite.com/httpdocs/init.php", 61) at /var/www/vhosts/mysite.com/httpdocs/lib/errors.php:444
  • error(2, "require(): open_basedir restriction in effect. Fil...", "/var/www/vhosts/mysite.com/httpdocs/init.php", 61, array(size 12)) at /var/www/vhosts/mysite.com/httpdocs/init.php:61
  • require() at /var/www/vhosts/mysite.com/httpdocs/init.php:61
  • require("/var/www/vhosts/mysite.com/httpdocs/init.php") at /var/www/vhosts/mysite.com/httpdocs/index.php:32
WAR] 42 require(): open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/vhosts/mysite.com/httpdocs/:/tmp/)
Call stack (most recent first):
  • log_message("require(): open_basedir restriction in effect. Fil...", 8, true, true, "/var/www/vhosts/mysite.com/httpdocs/init.php", 81) at /var/www/vhosts/mysite.com/httpdocs/lib/errors.php:444
  • error(2, "require(): open_basedir restriction in effect. Fil...", "/var/www/vhosts/mysite.com/httpdocs/init.php", 81, array(size 14)) at /var/www/vhosts/mysitecom/httpdocs/init.php:81
  • require() at /var/www/vhosts/mysite.com/httpdocs/init.php:81
  • require("/var/www/vhosts/petchaperon.com/httpdocs/init.php") at /var/www/vhosts/mysite.com/httpdocs/index.php:32

any thoughts?

Thanks

steve P's profile picture
Posts: 122

16 May 2011, 18:00

Hi Jerry, looks like you need to remove the open_basedir restriction. Have a look here for clues:

http://forums.theplanet.com/lofiversion/index.php/t7917.html

2 results