Support » Plugins » Hacks » issue with wp-config.php

  • Resolved missymoo


    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


    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.



    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.