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.

Member registration form

November 11, 2009 12:17pm

Subscribe [3]
  • #1 / Nov 11, 2009 12:17pm

    ellimondo

    15 posts

    Hi

    I am having trouble getting member registration to work. Submitting the standard form at member/register is just bringing up a blank screen. A couple of refreshes brings up the home page.

    I have disabled all extensions, am running E_ALL error reporting and deleted everything from the .htaccess files (as I was running LG htaccess.) I am not getting any php errors showing.

    I have another site on the same server running 1.6.8 too and it works fine (both on MAMP and on our client-facing development server.)

    I have tried this in Firefox and Safari - both give me the same sorry result.

    Many thanks in advance for any help as this is doing my head in!

    Kind regards

    Jon

  • #2 / Nov 11, 2009 3:38pm

    Ingmar

    29245 posts

    A genuine blank page is usually a suppressed PHP error. Make sure you turn error reporting on, and they actually show.

  • #3 / Nov 11, 2009 3:58pm

    ellimondo

    15 posts

    As I explained above the error reporting is already turned on.

    The form doesn’t even kick up a fuss when submitted without any fields filled in - it just goes straight to a blank page. It is like the index page is not routing the page to the member templates from the register page.

    I notice that I also get a blank page when trying to log in through the member template pages. I can only log in through the CP.

    I am also getting a BAD URI when clicking the “view all member posts” in member profile page if that too is related.

    It can’t be the server - I have it running on 2 separate servers (Linux and MAMP OS X)

  • #4 / Nov 11, 2009 4:11pm

    Ingmar

    29245 posts

    As I explained above the error reporting is already turned on.

    If it’s not showing any errors it doesn’t appear to be working, though. There might be some additional steps required on the server, making sure the “display_errors” directive has not, in fact, been disabled, eg. I trust you have set your “Output and Debugging Preferences” correctly?

    I am also getting a BAD URI when clicking the “view all member posts” in member profile page if that too is related.

    That sounds very much like a server issue, to be honest. Are you using mod_security or anything like that? Also, any entries in the PHP server logs? They should be helpful, too.

  • #5 / Nov 11, 2009 5:43pm

    ellimondo

    15 posts

    I am running errors - just triggered it by dropping php memory to 4meg. FYI the php logs are entirely empty when I submit the member/register form. Nada. Zip. Rien.

    Proof my display_error is working:

    PHP log

    [11-Nov-2009 21:34:46] PHP Fatal error:  Allowed memory size of 4194304 bytes exhausted (tried to allocate 19456 bytes) in /Applications/MAMP/htdocs/soulful/sgsys/modules/member/mod.member.php on line 2241

    Front end error

    Fatal error: Allowed memory size of 4194304 bytes exhausted (tried to allocate 19456 bytes) in /Applications/MAMP/htdocs/soulful/sgsys/modules/member/mod.member.php on line 2241

    I am running another installation of EE on the same sandbox server. It works fine and registers users ok too - it is even using index.php-less htaccess successfully.

    I have had all sorts of issues with this installation of EE - I have had to delete template groups and recreate them to get them appearing on the front end.

    I am going to install a clean EE and see if the membership works out of the box on my server. Then move the installation over. This is costing me so much time - supposed to be launching on Friday :(

  • #6 / Nov 11, 2009 5:51pm

    Ingmar

    29245 posts

    I am going to install a clean EE and see if the membership works out of the box on my server. Then move the installation over.

    Please do, and let us know how you get on. Let’s rule out file corruption issues here.

  • #7 / Nov 11, 2009 5:54pm

    ellimondo

    15 posts

    Righto - new install completed and membership works out of the box fine on a new DB / same server. So something in the install is possibly corrupt. Is there anything I could try to save having to move all the install over?

  • #8 / Nov 11, 2009 6:25pm

    ellimondo

    15 posts

    I have reinstalled all the standard EE install files over the top of the current install. That didn’t make a difference.

    Then in desperation I disabled the member module and reinstalled it. Bingo it works again.

    All I have now is that the link below is not generating a tag on the link “View all posts by this member
    Ignore Member” on the member details page. It is just showing a a tag rather than a proper URL.

    index.php?ACT={AID:Search:do_search}&mbr=2

    Any ideas? I am a bit nervous about the other possible nasties in this install.

  • #9 / Nov 11, 2009 6:30pm

    Adam Dorsey

    1439 posts

    Hi ellimondo

    Have you tried uploading a fresh set of EE files to your problematic site? There may be some corrupt files.

    Thanks,
    Adam

  • #10 / Nov 11, 2009 6:34pm

    ellimondo

    15 posts

    Hi Adam

    Yes - I reinstalled all the core EE files over the top of the old ones. I am working locally now - same problem on this server too with this same site.

  • #11 / Nov 11, 2009 6:43pm

    Adam Dorsey

    1439 posts

    Hi ellimondo-

    Sorry, I didn’t see your response, it snuck in a few minutes before my post.

    So to confirm, your only problem left is, your action_id isn’t parsing?

    index.php?ACT={AID:Search:do_search}&mbr=2
  • #12 / Nov 11, 2009 6:51pm

    ellimondo

    15 posts

    No Worries - I am jumping at any response I can get hold of!

    The parsing error is all I can see at the moment.

    I was also getting redirects from the members page (when logging out) into template groups that shouldn’t have been listed. So I have deleted them too and that problem seems to have gone away. It all seems to stem from a template corruption when I originally installed the site.

    What do you suggest? A fresh install and migration or plug away trying to get it working?

  • #13 / Nov 11, 2009 7:03pm

    Adam Dorsey

    1439 posts

    Let’s do a quick test to make sure you have an action id for the search function.

    Go to: Admin > Utilities > SQL manager > Manage Database Tables.

    Browse the table ‘exp_actions’ - look for the class ‘Search’- do you see that row in the DB?

    Also, it wouldn’t hurt to go to: Admin ›  Utilities ›  SQL Manager ›  Manage Database Tables

    Scroll to the bottom. Select All tables, and select “Repair selected tables” from the dropdown menu to the right.

  • #14 / Nov 11, 2009 7:12pm

    ellimondo

    15 posts

    There is no class for that name in the exp_actions table.

    Repaired the tables too.

  • #15 / Nov 11, 2009 7:15pm

    ellimondo

    15 posts

    Sorry for jumping ahead but I have also disabled and reenabled the search module. The action now works. You are a genius.

    Would you suggest disabling every module and rebuilding the install that way?

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

ExpressionEngine News!

#eecms, #events, #releases