Page 1 of 1

failure to open stream

Posted: Tue May 24, 2005 1:01 pm
by jaymoore_299
I'm getting this error message when I try to run a script:

"failed to open stream: No such file or directory in /usr/www/virtual/name/www.domain.com/script/test1.php on line 3"

My actual directory doesn't have the /usr/ part, it is just /www/virtual/name..

The corresponding code in the php file is: require 'a_filename.php';

How do I get it to run?

Posted: Tue May 24, 2005 1:20 pm
by shiznatix
make sure your pointing to the file in the correct folder

post some code