ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Blank White Screen when trying to register as user (SAEF)

January 06, 2011 4:51pm

Subscribe [6]
  • #1 / Jan 06, 2011 4:51pm

    Carl W Crawley

    136 posts

    Hey All,

    I am battling with a problem trying to get some user registration code working.

    I have reduced the form down to the bear minimum (I appreciate that it should error and tell me none of the fields have been passed) - but I get nothing, just an empty white page.

    <form id="reg_form" method="post" action="http://www.myurl.com/index.php">
            <input type="hidden" name="ACT" value="13" />
            <input type="hidden" name="XID" value="{XID_HASH}" />
            <input type="hidden" name="RET" value="http://www.myurl.org/private/dashboard/" />
            <input type="hidden" name="site_id" value="1" /> 
            <input type="submit" value="GO!" />
            </form>

    If I disable user registrations (in the CP), and then post the form I get the usual “Users are not being accepted at this time”.

    I’ve tried to turn on debugging and php errors show to all, but nothing.

    Anything else I could try?

    Cheers,

    Carl.

  • #2 / Jan 06, 2011 4:57pm

    johndwells

    94 posts

    EE1 or EE2?

  • #3 / Jan 06, 2011 4:58pm

    Carl W Crawley

    136 posts

    Oops - Sorry, EE2.1.3 Build 20101220

  • #4 / Jan 06, 2011 5:07pm

    johndwells

    94 posts

    Hmm.. It’s a long shot, but have you turned on CI logging?  Do so by:

    /system/expressionengine/config/config.php

    Search for $config[‘log_threshold’] and set to 4 for “All Messages”.

    Then attempt to submit your form, and then look in:

    /system/codeigniter/system/logs/log-yyyy-mm-dd.php

    Crossing fingers for you…
    John

  • #5 / Jan 06, 2011 5:08pm

    adro

    110 posts

    Do you have the php code required for a stand-alone registration form in the top of your template?

    <?php
    $this->EE =& get_instance();
    $action_id = $this->EE->functions->fetch_action_id('Member', 'register_member');
    ?>
  • #6 / Jan 06, 2011 5:22pm

    Carl W Crawley

    136 posts

    Hi John,

    Yep - CodeIgniter Debugging doesn’t have anything in there of any relevance either.

    I think I cracked it - the action_id for register_member is 14 not 13!

    Oops… Everyone move along, nothing to see here!

    :(

    Thanks for the help

    Carl

  • #7 / Jan 06, 2011 5:51pm

    Rob Sanchez

    335 posts

    For the record this is really a SARF.

  • #8 / Jan 07, 2011 10:17am

    Ingmar

    29245 posts

    It is. That said, Carl, I understand you’re up and running?

  • #9 / Jan 07, 2011 10:19am

    Carl W Crawley

    136 posts

    It is. That said, Carl, I understand you’re up and running?

    Thanks Ingmar - yes, I’m up and running.

    Regards,

    Carl

  • #10 / Jan 07, 2011 10:28am

    Ingmar

    29245 posts

    Excellent. Please post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases