Failed opening required FAIL PHP HELP!!
Posted: Wed May 20, 2009 1:58 pm
Hello everyone!
I am having some trouble including the pear mail.php file
my code is
This products the error message
The include path is correct (include_path='.:/usr/share/pear/) and there are the Mail.php, PEAR.php, etc in that folder.
I have already tried removing the trailing slash on include_path='.:/usr/share/pear/, and that did nothing different.
Also, this is not a case sensitive error...
Thanks so much,
Ben
I am having some trouble including the pear mail.php file
my code is
Code: Select all
error_reporting(E_ALL);
ini_set('display_errors', '1');
require_once "Mail.php";
...more code PHP PHP etc
Code: Select all
Warning: require_once(Mail.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/bluebeanstalk.com/httpdocs/admin/sendmail.php on line 7
Fatal error: require_once() [function.require]: Failed opening required 'Mail.php' (include_path='.:/usr/share/pear/') in /var/www/vhosts/bluebeanstalk.com/httpdocs/admin/sendmail.php on line 7
I have already tried removing the trailing slash on include_path='.:/usr/share/pear/, and that did nothing different.
Also, this is not a case sensitive error...
Thanks so much,
Ben