WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Register Plus] Fix for simple captcha (11 posts)

  1. slsdoug
    Member
    Posted 5 years ago #

    Here is a fix for simple captcha:

    in register-plus.php put
    session_start();
    as the 2nd line (right after <?php)

    Do NOT put session_start(); in wp-login.php

    Doug DePrenger
    http://www.smartlabsoftware.com

  2. Whitegoodshelp
    Member
    Posted 5 years ago #

    Can you explain why, as the instructions say to put <?php session_start(); ?> in wp-login which appeared to work OK?

  3. Silver-wolf21
    Member
    Posted 5 years ago #

    mspc, thanks for the suggestion. I had tried the other way (editing the wp-login.php) and was still coming up with the captcha being invalid when trying to register. I did this, and it worked.

  4. orbalon
    Member
    Posted 5 years ago #

    Thanks MSPC, That worked for me too. Washerhelp, I assume you are using WP 2.6? I'm using 2.7.1 and I would guess silverwolf21 is too.

  5. jockoe
    Member
    Posted 5 years ago #

    Superb! I had given up on Simple Captcha awhile ago. This fixed it for me. Thanks.

  6. dmexs
    Member
    Posted 5 years ago #

    Does anybody have Register Plus working on WordPress 2.8. I have it installed but when my initial setup didn't go so well I just assumed it was incompatible..

  7. Precisi0n
    Member
    Posted 5 years ago #

    It works okay for me on 2.8.1, although my css is ignored when using Safari or Firefox.

  8. nyliferocks
    Member
    Posted 4 years ago #

    Not showing for me on 2.8.1

  9. dwbaylor
    Member
    Posted 4 years ago #

    The code shown as <?php session_start(); ?> does not work because the use of "?>" tells the browser to to quit looking for more PHP code.

    By using "<?php session_start();" the browser will just accept it as another line of PHP code.

    Also, "<?php" may already be present, in which case you just need to add "session_start();" somewhere after that. The "<?php" tells the broswer where to start looking for PHP code.

    Hope that helps.

  10. jakobwa
    Member
    Posted 4 years ago #

    Thank you!!!!

  11. leonmckee
    Member
    Posted 4 years ago #

    Still works as of WP 2.9.2

    Leon McKee

Topic Closed

This topic has been closed to new replies.

About this Topic