03-28-2008, 08:30 AM
|
#1 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: In my basement
Posts: 386
Thanks: 47
|
Gotta love errors... Help out with require problem?
Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration in /home/<snip>/public_html/index.php on line 1
Warning: require_once( http://aetherdesigns.com/include/func_lib.php) [function.require-once]: failed to open stream: no suitable wrapper could be found in /home/<snip>/public_html/index.php on line 1
Fatal error: require_once() [function.require]: Failed opening required 'http://aetherdesigns.com/include/func_lib.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<snip>/public_html/index.php on line 1
the error happens because I am giving the script an absolute path to the include file... Which is kinda lame because If the path is relative I need to change it for every file.
__________________
Signatures are nothing but incriminating.
|
|
|