FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: icecash on December 11, 2005, 06:41:48 AM

Title: inculde problem
Post by: icecash on December 11, 2005, 06:41:48 AM
hello every one.

i m build a site but now have i the follow problem.

Warning: main(../paidmail/includes/vars.php) [function.main]: failed to open stream: No such file or directory in /fpgs/fpgshttpd/icecash/paidmail/includes/global.php on line 3

what is the right include directory?

thnx danny
Title: Re: inculde problem
Post by: Ben on December 11, 2005, 06:47:16 AM
The file you're trying to include doesn't exist..

http://www.freepgs.com/icecash/paidmail/includes/global.php is looking for http://www.freepgs.com/icecash/paidmail/paidmail/includes/vars.php

The proper include for the file would probably be just "vars.php".
Title: Re: inculde problem
Post by: icecash on December 11, 2005, 07:02:24 AM
next problem:


Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/home/user/site/paidmail/site/html/header.html) is not within the allowed path(s): (/tmp/:/fpgs/fpgshttpd/icecash/:/fpgs/fpgslogs/41422/:/usr/share/pear/) in /fpgs/fpgshttpd/icecash/paidmail/includes/global.php on line 53

Warning: fopen(/home/user/site/paidmail/site/html/header.html) [function.fopen]: failed to open stream: Operation not permitted in /fpgs/fpgshttpd/icecash/paidmail/includes/global.php on line 53
File Does'nt Exists
Title: Re: inculde problem
Post by: webzone (archived) on December 11, 2005, 07:05:34 AM
You are trying to open files in the wrong directory.

Your user directory is /fpgs/fpgshttpd/icecash/ not /home/user/site/