Hello,
I’m currently trying to run a simple blog PHP script on my website, though regardless of what I try, I receive the following errors:
Warning: require(db.php) [function.require]: failed to open stream: No such file or directory in /home/gshade/public_html/index.php on line 8.
Fatal error: require() [function.require]: Failed opening required ‘/db.php’ (include_path=‘.:/usr/lib/php:/usr/local/lib/php’) in /home/gshade/public_html/index.php on line 8
I configured my database tables correctly (as far as I can see) using a provided db.sql file, I’ve set the permissions on all the files to 0777, and the file db.php is indeed in the main directory.
Any help is appreciated, and I’ve already spent the last hour googling/searching the forums to no prevail.