Support » Plugin: SI CAPTCHA Anti-Spam » [Plugin: SI CAPTCHA Anti-Spam] Conflict with Statrix plugin

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mike Challis

    (@mikechallis)

    Please try this:
    edit the file statrix.js.php found in the resources folder.

    This is a PHP file.
    Take a look and note that the opening tag <?php is not at the top of the file where it should be. Move it to the top. Save the file and test if the conflict is gone. If it fixes the conflict, please notify the author of Statrix. Also reply here to let me know.

    Here is what happened:
    My plugin uses the PHP session_start() function.
    http://php.net/manual/en/function.session-start.php
    The session_start is required for the captcha-image to function.
    In PHP coding rules, session_start() must be processed before any HTML
    output or you might get a warning “Warning: session_start()
    [function.session-start]: Cannot send session cookie – headers already sent”. The error may or may not be displayed because sometimes PHP error warnings are turned off.

    Some plugins with non compliant coding will output some HTML or even whitespace prematurely before the HTML doctype. This can be the direct cause of session_start error and the captcha cookie session not working.

    Hi Mike, sorry for the late reply.

    It works 🙂

    The Statrix graphics are back and I’m able to Exclude Users again as well.

    Thanks for helping me out.

    Will write a post on the Statrix page too.

    Best regards,

    Khun Cha

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: SI CAPTCHA Anti-Spam] Conflict with Statrix plugin’ is closed to new replies.