internal error happened at script -signup form

Discussion in 'Troubleshooting' started by albert0, Jan 6, 2012.

  1. albert0

    albert0 Guest

    Joined:
    Apr 19, 2011
    Messages:
    2
    I created new form at V4 latest version, adding the payment option block, which I selected to hide, instead of leaving it out of form, for a free membership. This form is not going to be my default form. If I use the current default signup form, all works fine, but if I open the link to the custom signup form, I get the "internal error happened at script ". If I assign it as default, same error happens when link is activated.
    The log is:
    Exception HTML_QuickForm2_NotFoundException
    HTML_QuickForm2_Controller->getActionName [ library/pear/HTML/QuickForm2/Controller.php : 266 ]
    HTML_QuickForm2_Controller->run [ library/Am/Form/Signup.php : 125 ]
    Am_Form_Signup->run [ application/default/controllers/SignupController.php : 50 ]
    SignupController->indexAction [ library/Am/Controller.php : 139 ]
    The layout of form is only:
    Name, email, pasw, payment, agreement.

    When going back to the form editor, all bricks are aligned back to the right.
    Anyone has gone thru same problem and resolved it?

    Thanks in advance for any comment.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,274
    This has been fxied.
    Seems to be a strange bug in php.
    Although aMember disable magic_quotes_gpc in htaccess and get_magic_quotes_gpc() return false, php still escape quotes in _POST array.
    To fix this, php_flag magic_quotes_gpc false must be commented in .htaccess (amember will remove quotes from POST/GET arrays itself).

Share This Page