Page 1 of 1

failed to open stream

Posted: Wed Jul 27, 2005 4:18 am
by hame22
Hi all,

Everynow and again my pages experience the following error message that goes away when i refreash the page:

Warning: main(query_functions.php): failed to open stream: No such file or directory

it has someting to do with my function files i believe.

Does anyone know why this happens and any solutions?

Thanks

alex

Posted: Wed Jul 27, 2005 4:36 am
by shiznatix
you are pointing it to the wrong directory or using a wrong file name. what its saying is that the file does not exist where you are saying it is located. make sure you spelled the file name correctly and make sure you are pointing to the correct directory

Posted: Wed Jul 27, 2005 4:38 am
by hame22
thats the thing, it is not the wrong file or directory because 99% of the time the page works correctly, i.e. it successfully includes the function files.

Its just that 1% of the time when this error appears, any ideas as its quite a strange error?

Posted: Wed Jul 27, 2005 4:40 am
by shiznatix
post some code cause that sounds very strange

Posted: Wed Jul 27, 2005 4:43 am
by hame22
this is how I am including the functions files in one file:

Code: Select all

<?php
include_once('../includes/user_auth_functions.php'); 
include_once('../includes/cat_functions.php');

session_start();

$man_id = $_GET&#1111;'man_id'];
?>
let me know if you need any more examples

thanks for your help