PHP or Apache Problem?
| From: | Nick Wilson | Date: | Fri, 16 Jan 2004 12:39:16 +0000 |
| Subject: | PHP or Apache Problem? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-174783@lists.php.net to get a copy of this message | ||
Hi all,
I'm getting this error on a well tested and used CMS script:
** CODE
warning: main(): URL file-access is disabled in the server configuration
in /var/www/localhost/htdocs/ellasattic.co.uk/error.php on line 19.
warning: main(http://ellasattic.co.uk/index.php): failed to open stream:
no suitable wrapper could be found in
/var/www/localhost/htdocs/ellasattic.co.uk/error.php on line 19.
warning: main(): Failed opening 'http://ellasattic.co.uk/index.php' for
inclusion (include_path='.:/usr/lib/php') in
/var/www/localhost/htdocs/ellasattic.co.uk/error.php on line 19.
*** END CODE
Line 19 is a simple include() but uses 'http://' rather than a
local
path (i cannot change this)...
Anyone take a guess at what's happening..
--
Nick W