So my level of expertise is near nil.. I know enough to get me into trouble.
I got a script which is not working, throwing up error messages of :
Warning: require_once(includes/classes/DB.class.php) [function.require-once]: failed to open stream: No such file or directory in /home/contentb/public_html/includes/mainheader.php on line 15
Fatal error: require_once() [function.require]: Failed opening required 'includes/classes/DB.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/contentb/public_html/includes/mainheader.php on line 15
I believe I have tracked the problem down to the following line
function __autoload($class_name) {
require_once CLASS_PATH . $class_name . '.class.php';
}
Searching for an answer prior to posting I found that normally these messages are returned because the file isnt present etc.. but I did verify that DB.class.php is located within the directory of:
public_html/includes/classes/
Any assistance, guidance, or what not provided in this matter is truly appreciated.
Thanks