Re: Re: Really Annoying Require/Include Error

From: Date: Tue, 30 Mar 2004 18:27:12 +0000
Subject: Re: Re: Really Annoying Require/Include Error
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-181848@lists.php.net to get a copy of this message
Fatal error: Failed opening required '/home/sites/site111/web/news/settings/newsletter.settings.inc.php' (include_path='') in /home/sites/site111/web/news/forms/sign_in_out_form.inc.php on line 7 From this piece of code: require ("/home/sites/site111/web/news/settings/newsletter.settings.inc.php");
Based on this path I'm assuming you use Linux? If that's the case you need to be sure that your webserver has permissions to execute that file. To test this, try chmod 777 and then execute the script... but later chmod to something more sane, maybe 755.
Try to just execute the file /home/sites/site111/web/news/settings/newsletter.settings.inc.php Did your webserver happily serve it up? If so give some more details about your Linux/server/PHP version

« previous php.general (#181848) next »