• My site is here. If anyone tries to post a comment on any articles, they get this error message.
    “Warning: main(../../../wp-config.php): failed to open stream: No such file or directory in /home/content/t/l/k/tlkain/html/wp-content/themes/light/light/comments-ajax.php on line 2

    Fatal error: main(): Failed opening required ‘../../../wp-config.php’ (include_path=’.:/usr/local/lib/php’) in /home/content/t/l/k/tlkain/html/wp-content/themes/light/light/comments-ajax.php on line 2″

    Someone please help me out.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter truman

    (@truman)

    bump. Someone please help me out.

    Disable that plugin mentioned in the error message.

    It’s not a plugin, it’s a PHP withing the theme folder.
    I have the same problem, ajax comments were working ok til now, it’s broken.
    help anybody?

    Here’s how I fixed it.

    1. Go into your Control Panel and select a different theme (it will be temporary).

    2. Using a FTP client, log in to your website.

    3. Go to wp-content/themes.

    4. Re-name the “light” folder to something else. Let’s say you named it “asdf” for this example (clever, eh?).

    5. Go into “asdf”. The folder “light” will be there.

    6. Move the “light” folder up one level (so that it is included in wp-content/themes).

    7. Go up one level.

    8. Delete “asdf”.

    9. Re-activate the theme.

    All should be well.

    I had the same problem and this fixed it.

    HTH,
    Tom

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Comments Broken Please Help’ is closed to new replies.