• Has anyone else had problems with 404 errors being thrown up when SpamKarma2’s Spam Warning Message or Second Chance (Captcha) screen should be displayed?

    I was doing some testing and when I try to submit a fake spam post (with three links in it), I don’t get the warning message, I get a 404 error. I did get the warning message once when I submitted a fake spam post with 4 links in it. Also, I’m not even sure if the captcha 2nd chance screen is being displayed.

    Anyone have any ideas on where to begin?

Viewing 4 replies - 1 through 4 (of 4 total)
  • open spam_karma_2_plugin.php and go to line 954.

    change

    $location = str_replace($_SERVER['DOCUMENT_ROOT'], "", dirname(__FILE__)) . "/" . sk2_second_chance_file ."?c_id=$comment_ID&c_author=" . urlencode($sk2_core->cur_comment->author_email);

    to

    $location = "/".str_replace($_SERVER['DOCUMENT_ROOT'], "", dirname(__FILE__)) . "/" . sk2_second_chance_file ."?c_id=$comment_ID&c_author=" . urlencode($sk2_core->cur_comment->author_email);

    Thread Starter userx

    (@userx)

    josepo – Thanks for the code. I made the change … gotta go test it out now. Did you have this problem? Or was this an issue already? I searched and searched but couldn’t find a thread.

    Thread Starter userx

    (@userx)

    Oh oh … that didn’t work. I’m still getting a 404 error on comments submitted with three or less links in them for some reason. A comment with four links submittted gets SpamKarma2’s warning message, like it should.

    The 404 error and the warning message are both appearing at:

    /wp-comments-post.php

    Any other sugesstions?

    Moderator James Huff

    (@macmanx)

    Contact the plugin’s developer.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘SpamKarma2 404 Errors’ is closed to new replies.