Emergency: users can't sign up!

Discussion in 'aMember Pro v.4' started by deusdies, May 11, 2012.

  1. deusdies

    deusdies New Member

    Joined:
    Oct 17, 2010
    Messages:
    11
    Every time someone at my website tries to sign up, they get an error "The database has encountered a problem. Please try again later"

    The admin error log has this:

    Code:
    Exception Am_Exception_Db_NotFound
    Am_Table->loadRow [ library/Am/Record.php : 734 ]
    Am_Table->load [ library/Am/Protect/Databased.php : 461 ]
    Am_Protect_Databased->onCheckUniqEmail
    call_user_func [ library/Am/Event.php : 179 ]
    Am_Event->call [ library/Am/Event.php : 202 ]
    Am_Event->handle [ library/Am/Hook.php : 188 ]
    Am_Hook->call [ application/default/models/User.php : 508 ]
    UserTable->checkUniqEmail [ library/Am/Form/Brick.php : 281 ]
    Am_Form_Brick_Email->check
    call_user_func_array [ library/Am/Form.php : 149 ]
    Am_Rule_Callback2->validateOwner [ library/pear/HTML/QuickForm2/Rule.php : 275 ]
    HTML_QuickForm2_Rule->validate [ library/pear/HTML/QuickForm2/Node.php : 647 ]
    HTML_QuickForm2_Node->validate [ library/pear/HTML/QuickForm2/Container.php : 418 ]
    HTML_QuickForm2_Container->validate [ library/pear/HTML/QuickForm2.php : 204 ]
    HTML_QuickForm2->validate [ library/pear/HTML/QuickForm2/Controller/Page.php : 253 ]
    HTML_QuickForm2_Controller_Page->storeValues [ library/pear/HTML/QuickForm2/Controller/Action/Next.php : 63 ]
    HTML_QuickForm2_Controller_Action_Next->perform [ library/pear/HTML/QuickForm2/Controller.php : 302 ]
    HTML_QuickForm2_Controller->handle [ library/pear/HTML/QuickForm2/Controller/Page.php : 155 ]
    HTML_QuickForm2_Controller_Page->handle [ library/Am/Form/Signup.php : 270 ]
    Am_Form_Signup_Page->handle [ library/pear/HTML/QuickForm2/Controller.php : 267 ]
    HTML_QuickForm2_Controller->run [ library/Am/Form/Signup.php : 125 ]
    Am_Form_Signup->run [ application/default/controllers/SignupController.php : 59 ]
    SignupController->indexAction [ library/Am/Controller.php : 139 ]
    Am_Controller->_runAction [ library/Am/Controller.php : 116 ]
    Am_Controller->dispatch [ library/Zend/Controller/Dispatcher/Standard.php : 295 ]
    Zend_Controller_Dispatcher_Standard->dispatch [ library/Zend/Controller/Front.php : 954 ]
    Zend_Controller_Front->dispatch [ library/Am/App.php : 1377 ]
    Am_App->run [ index.php : 42 ]
    Help?
  2. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    Submit an urgent support ticket.

    First line might be suggesting aMember cannot connect to your database.
  3. deusdies

    deusdies New Member

    Joined:
    Oct 17, 2010
    Messages:
    11
    That's what I figured too, however, this only happens when the user tries to sign up. Adding user manually, logging in, etc all work - and all those query the MySQL db as well.
  4. benfitts

    benfitts Member

    Joined:
    Apr 10, 2008
    Messages:
    111
    That helps.

    Perhaps it is a permissions issue. Make sure the database user has insert and update privileges, not just query. To login they would only need to "query" the database and not actually insert or update any tables. That could explain why one would work and the other wouldn't.
  5. deusdies

    deusdies New Member

    Joined:
    Oct 17, 2010
    Messages:
    11
    Actually, it turned out that it was a browser-related error. Clearing cache/session data/etc fixed the problem.

Share This Page