• Resolved bookyeti

    (@bookyeti)


    Hi all,

    Today I upgraded to WordPress 3.1. Everything seems to be working fine. However, one problem – the comments.

    When anyone (including myself) submits a comment, they get a “Not Found: The requested document was not found on this server” error page. However, the comments are posted correctly.

    Any idea what could be causing this or how to fix it? (I’m not using any comment-related plug-ins.)

Viewing 15 replies - 1 through 15 (of 30 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Ten theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    Moderator keesiemeijer

    (@keesiemeijer)

    oops, too late Esmi beat me to it

    Thread Starter bookyeti

    (@bookyeti)

    Thanks so much for your suggestions. I’ll try it! ??

    Thread Starter bookyeti

    (@bookyeti)

    Hmm, tried posting a comment with all my plug-ins deactivated. Got the same error message. Out of interest, I hit “refresh”. I got the following error page:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    I’ll try the suggestion of switching to the other theme.

    Thread Starter bookyeti

    (@bookyeti)

    Okay… no error with the Twenty Ten theme activated. Hmm.

    Moderator keesiemeijer

    (@keesiemeijer)

    Then the problem is with your theme not being 3.1 ready.

    Thread Starter bookyeti

    (@bookyeti)

    Yeah… that must be it. ??

    It was a theme I worked on from scratch. It’s not going to be fun to try and find out what the culprit in it is. But thanks so much for your suggestions!

    Moderator keesiemeijer

    (@keesiemeijer)

    Maybe compare your comments.php with twentyten’s comments.php

    Thread Starter bookyeti

    (@bookyeti)

    Hehe, doing that now. Thanks! ??

    Thread Starter bookyeti

    (@bookyeti)

    by the way… is your nickname Dutch? ??

    Moderator keesiemeijer

    (@keesiemeijer)

    Yes it is. you can try replacing your comments.php with the one from twentyten. but you have to have this function in your theme’s functions.php: https://wordpress.pastebin.com/uscKNNP3
    This may break your site so backup your comments.php and functions.php

    Thread Starter bookyeti

    (@bookyeti)

    Ah neat! My hubby is Dutch (from ‘s-Hertogenbosch) and I lived in The Netherlands for 3 years. ??

    I will definitely take a look at that link – thank you!

    I’ve already tried replacing my comments.php with TwentyTen’s, and where the comment’s supposed to be, there’s an error message like this:

    Warning: call_user_func(twentyten_comment) [function.call-user-func]: First argument is expected to be a valid callback in C:\http\vhosts\mydomain.com\httpdocs\wp\wp-includes\comment-template.php on line 1333

    Tried checking out line 1333 in comment-template.php and I couldn’t see what the problem was.

    Thread Starter bookyeti

    (@bookyeti)

    This is line 1333 in comment-template.php, by the way, if you’re curious:

    call_user_func($args[‘callback’], $comment, $args, $depth);

    Moderator keesiemeijer

    (@keesiemeijer)

    Did you put the function from the pastebin in your theme’s functions.php

    Thread Starter bookyeti

    (@bookyeti)

    Yes, I did… same error, I’m afraid.

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘Upgraded to WP 3.1 – comment problem’ is closed to new replies.