Page 1 of 1

more error messages

Posted: Thu Aug 09, 2007 6:59 am
by roscoe
Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/mylib/Swift.php) is not within the allowed path(s): (/home/arsenal:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/arsenal/public_html/myweb/mailoutattach/mail_handler.php on line 48

Warning: require_once(/mylib/Swift.php) [function.require-once]: failed to open stream: Operation not permitted in /home/arsenal/public_html/myweb/mailoutattach/mail_handler.php on line 48

Fatal error: require_once() [function.require]: Failed opening required '/mylib/Swift.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/arsenal/public_html/myweb/mailoutattach/mail_handler.php on line 48

line 48 is

Code: Select all

require_once "/home/arsenal/public_html/myweb/mailoutattach/mylib/Swift.php";
this folder and directory does exist

Is this the bleedin host again?

Posted: Thu Aug 09, 2007 7:20 am
by superdezign
The open_basedir refers to you starting the inclusion with a slash, as it look as though your host prevents how far into your file structure you are allowed to go. Try relative paths.