Jump to content
Larry Ullman's Book Forums

Unable To Test


Recommended Posts

All the tests give me this error message:

 

Warning: require(./includes/config.inc.php): failed to open stream: No such file or directory in C:\xampp\htdocs\html\cancel.php on line 7

Fatal error: require(): Failed opening required './includes/config.inc.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\html\cancel.php on line 7

 

Thanks. Loabile

Link to comment
Share on other sites

Welcome to the forums. Keep in mind that lots of error sources can be searched for. This error is a common one, and happens because PHP can't find config.inc.php at the path you specified. Make sure the file exists and that the path to it is actually correct.

 

The last fatal error is because of PHP's include path. If a file is NOT found at include path, PHP will search in a folder named by the constant include_path. You can mostly ignore the last part and focus on the main error.

  • Upvote 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...