Title: issue with wp-config.php
Last modified: August 20, 2016

---

# issue with wp-config.php

 *  Resolved [missymoo](https://wordpress.org/support/users/missymoo/)
 * (@missymoo)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/issue-with-wp-configphp/)
 * Hi,
    I am have now spent my whole weekend trying to work out this issue looking
   on forums and nothing seems to work. Would love it someone could lend me a hand
   and your master brain.
 * I changed my theme to a new one and now I get this error.
 * I have no idea how to fix, Generally Im quite good with code but cant seem to
   get it right.
 * This is the error:
 * Warning: require(/home/content/n/a/t/natking/html//wp-load.php) [function.require]:
   failed to open stream: No such file or directory in /home/content/n/a/t/natking/
   html/babydirectory/wp-content/themes/babydirectory/PPT/ajax/actions.php on line
   35
 * Fatal error: require() [function.require]: Failed opening required ‘/home/content/
   n/a/t/natking/html//wp-load.php’ (include_path=’.:/usr/local/php5/lib/php’) in/
   home/content/n/a/t/natking/html/babydirectory/wp-content/themes/babydirectory/
   PPT/ajax/actions.php on line 35
 * Thank you in advance 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [s_ha_dum](https://wordpress.org/support/users/apljdi/)
 * (@apljdi)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/issue-with-wp-configphp/#post-3029267)
 * That doesn’t look like a wp-config.php issue. Please post lines 30-40 of “babydirectory/
   wp-content/themes/babydirectory/PPT/ajax/actions.php”
 * I am speculating but I think the problem is this: Your site appears to be at “
   babydirectory/” so wp-load.php should be at “babydirectory/wp-load.php”. However,
   that `require` is looking for it at “wp-load.php”. You can even see that the “
   babydirectory” is missing: “Warning: require(/home/content/n/a/t/natking/html//
   wp-load.php)” See the double forward slashes? “babydirectory” should be there
   but isn’t.
 * Please post an URL as well.
 *  Thread Starter [missymoo](https://wordpress.org/support/users/missymoo/)
 * (@missymoo)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/issue-with-wp-configphp/#post-3029284)
 * OMG I love you, thank you so much. I knew it was something simple I couldn’t 
   see.
    As by my email above, I was very tired.
 * adding the ‘babydirectory/’ to wp-load.php worked a treat.
 * Thank you for making my weekend better. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘issue with wp-config.php’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 2 replies
 * 2 participants
 * Last reply from: [missymoo](https://wordpress.org/support/users/missymoo/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/issue-with-wp-configphp/#post-3029284)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
