|
Posted by Disco Octopus on 08/03/05 16:22
Hi,
I am trying to upload my site to a new server, and am finding a hard
time with the include() function.
I am getting this...
Warning: main(includes/site_auth.inc) [function.main]: failed to open
stream: No such file or directory in
/usr/home/vhosts/example.com/web/maint/index.php on line 2
line 2 of my file looks like this...
include ('site_auth.inc');
I have given this in my .htaccess file....
php_value include_path
".:/users/example/includes:/home/vhosts/example.com/includes"
and, the really interesting thing is I am getting a FALSE when I
execute this....
file_exists(/users/example/includes/site_auth.inc)
....even when I KNOW that the file is there.
The file is *definately* in that location, but I am still getting the
error.
Any ideas?
Thanks
--
a beef jerky site http://www.choicebeefjerky.com.au
not a beef jerky site http://mycoolwheels.com/vote.cmks
eat beef jerky
Navigation:
[Reply to this message]
|