On Tuesday 30 March 2004 12:33 pm, Mike R wrote:
> I am getting this error:
You came to the right place.
> Fatal error: Failed opening required
> '/home/sites/site111/web/news/settings/newsletter.settings.inc.php'
> (include_path='') in
include_path='' says that your php.ini does not have default include path set.
> /home/sites/site111/web/news/forms/sign_in_out_form.inc.php on line 7
>
This is the path and script name causing your problem.
>
> From this piece of code:
>
> require
> ("/home/sites/site111/web/news/settings/newsletter.settings.inc.php");
This is a relative include. Your script is running in
/home/sites/site111/web/news/forms/
so PHP is looking for your require file in this directory.
/home/sites/site111/web/news/forms/home/sites/site111/web/news/forms/
I am guessing that this directory does not exist nor the file.
Try this instead.
require("../settings/newsletter.settings.inc.php");
James Hicks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php