failed to open stream
Moderator: General Moderators
failed to open stream
Hi
everynow and again my site experiences the following error:
Warning: main(db_functions.php): failed to open stream: No such file or directory
before you say it the file is in the right directory and 99% of the time the all pages of the site work perfectly.
However what I want to no is the reason behind this 1% error message
any ideas?
alex
everynow and again my site experiences the following error:
Warning: main(db_functions.php): failed to open stream: No such file or directory
before you say it the file is in the right directory and 99% of the time the all pages of the site work perfectly.
However what I want to no is the reason behind this 1% error message
any ideas?
alex
- raghavan20
- DevNet Resident
- Posts: 1451
- Joined: Sat Jun 11, 2005 6:57 am
- Location: London, UK
- Contact:
can you give the code of your include or require statement.
i think u use a include, thats why there is a warning.
may be you can show snippets of code for the two files.
i think u use a include, thats why there is a warning.
may be you can show snippets of code for the two files.
Last edited by raghavan20 on Fri Aug 19, 2005 6:16 am, edited 1 time in total.
Code: Select all
include_once('../includes/db_functions.php');
include_once('../includes/search_functions.php');
include_once('../includes/cat_functions.php');
include_once('../includes/user_auth_functions.php');- raghavan20
- DevNet Resident
- Posts: 1451
- Joined: Sat Jun 11, 2005 6:57 am
- Location: London, UK
- Contact: