FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: doctoreast on February 08, 2007, 02:02:25 AM

Title: Warning: main() [function.main]: open_basedir restriction in effect
Post by: doctoreast on February 08, 2007, 02:02:25 AM

My main domain name is doctoreast.com, and inside of that I have wholives.com in a subfolder.
/ works as root for images, but server wont parse php includes with / as root: 

Warning: main() [function.main]: open_basedir restriction in effect. File(/includes/ez2_html-head-meta.html) is not within the allowed path(s): (/tmp/:/fpgs/fpgshttpd/doctoreast/:/fpgs/fpgslogs/68564/:/usr/share/pear/) in /fpgs/fpgshttpd/doctoreast/wholives/index.php on line 11

Warning: main(/includes/ez2_html-head-meta.html) [function.main]: failed to open stream: Operation not permitted in /fpgs/fpgshttpd/doctoreast/wholives/index.php on line 11


  I'm using absolute url instead, unless someone knows of an easy fix.

EAst
Title: Re: Warning: main() [function.main]: open_basedir restriction in effect
Post by: brainiac744 on February 08, 2007, 02:33:38 AM
Read my post in your other topic.

(in summary)
use /fpgs/fpgshttpd/doctoreast/wholives/includes/