# Error help

**URL:** https://forum.kirupa.com/t/error-help/286701
**Category:** Uncategorized
**Created:** [April 19, 2009, 11:11pm UTC](https://forum.kirupa.com/t/error-help/286701 "2009-04-19T23:11:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![GrahamX](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/grahamx/32/3020_2.png) [@GrahamX](https://forum.kirupa.com/u/GrahamX)
#### Post date: [April 19, 2009, 11:11pm UTC](https://forum.kirupa.com/t/error-help/286701/1 "2009-04-19T23:11:26Z")

</div>

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.
