Forums

[resolved] [Plugin: Math Comment Spam Protection] A fix for error message when correct answer is given (2 posts)

  1. scott.r.lindsey
    Member
    Posted 5 months ago #

    I discovered that the encryption method for the challenge mixes in the IP address of the server. That's fine most of the time, but if you are on some sort of load balanced server farm the box that provides the challenge may be different than the one that parses the submission, and people who are trying to post on your blog get an incorrect error message.

    The fix is trivial -- just comment out line 160 of math-comment-spam-protection.classes.php. It doesn't do anything anyway.

    This:
    $inputstring .= getenv('SERVER_ADDR');

    becomes:

    // $inputstring .= getenv('SERVER_ADDR');

  2. muchasg
    Member
    Posted 2 months ago #

    Hey Dude, I did this little fix of yours and it completely fucked up my entire dashboard access... I couldn't get back into the dashboard to even disable the math comments spam pluggin. I was totally screwed but luckily I found a solution after almost bursting into tears.

    I would advise people against this alleged fix.

Reply

You must log in to post.

About this Topic