Frequently Asked Questions
Include errors?
-
Include errors?
Posted on May 21, 2004
Written by
Sasha (view more by Sasha)
Filed under FAQ, PHPCalendar, PHPCurrently, Scripts
When I include the file, I get this error: “Warning: Failed opening ‘config.php’ for inclusion (include_path=”)…” What’s wrong?
It means the script can?¢‚Ǩ‚Ñ¢t find the config file. Try to include the full path to the config file. So, instead of
include 'config.php';
you would have
include '/path/to/folder/config.php';
For PHPCurrently, you would have to edit the second line of current.php. For PHPCalendar, it?¢‚Ǩ‚Ñ¢s the fourth line on calendar.php, calendar_bdays.php and calendar_year.php, and/or the second line of list.php, list_bday.php and list_year.