WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] issue with wp-config.php (3 posts)

  1. missymoo
    Member
    Posted 1 year ago #

    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 :)

  2. s_ha_dum
    Member
    Posted 1 year ago #

    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.

  3. missymoo
    Member
    Posted 1 year ago #

    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. :)

Topic Closed

This topic has been closed to new replies.

About this Topic