I work in a php project, this gives an error like:
Warning:
require_once (ROOT_PATH / lib / confs / Conf.php) [function.require-once]: could not open the stream: there is no such file or directory in. \ htdocs \ GProject \ lib \ exception \ ExceptionHandler.php on line 20
Fatal error: require_once () [function.require]: Failed to open "ROOT_PATH / lib / confs / Conf.php" (include_path = '; C: \ php5 \ pear') in .. \ htdocs \ GProject \ lib \ exception \ ExceptionHandler.php on line 20
But in the file the \ExceptionHandler.php20th line
require_once ROOT_PATH . '/lib/confs/Conf.php';
And I have a Conf.php file under myself lib/confs/Conf.php, although I get an error message.
What could be the problem. Thanks in advance.
source
share