Page 1 of 1

failed to open stream: No such file or directory

Posted: Fri Jul 01, 2005 4:21 am
by hame22
Hi all

I have a web application written in php that connects to a number of function files. The application works completely fine, but sometimes i get error messages such as:

Warning: main(db_functions.php): failed to open stream: No such file or directory in /usr/local/home/httpd/vhtdocs/fenman/web/activities/includes/auth_functionsv2.php on line 3

Warning: main(): Failed opening 'db_functions.php' for inclusion (include_path='') in /usr/local/home/httpd/vhtdocs/fenman/web/activities/includes/auth_functionsv2.php on line 3

this is very sporadic, is there anyway I can prevent these errors ever occuring, perhaps I am trying to make too many connetions at once?? I dont know

any help will be appreciated.

Thanks

Posted: Fri Jul 01, 2005 6:20 am
by shiznatix
sounds like your trying to include a file that is in the wrong directory

Posted: Fri Jul 01, 2005 7:47 am
by hame22
no, that is not it, as my code works 95% of the time,

when this error appears, a page refreash will generally fix the problem, but how do i exterminate it for good??