fheppell 0 Newbie Poster

I've got a page that requires a file called config.php, this file is included in several other files, all in the same (root) directory. PHP gave me the error [16-Nov-2013 12:30:17 UTC] PHP Fatal error: require_once(): Failed opening required '/models/config.php' (include_path='.:/Applications/MAMP/bin/php/php5.4.4/lib/php') in /Applications/MAMP/htdocs/things/picturecamel/uploader.php on line 70 however the file is succesfully included using require_once in the other files. I set the include path to several values including / and . but to no avail.

Any ideas?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.