1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Registration Error Msgs on New Page

Discussion in 'Resolved Bug Reports' started by Mr_Bob, Mar 27, 2013.

  1. Mr_Bob

    Mr_Bob Well-Known Member

    I just noticed this on my own board and tested it on xenforo.com. When errors are encountered during the registration process, the registration form does not reload and rather the user is directed to a new page without the registration form. Maybe this is as designed? But, it seems out of the ordinary, so just in case...

    To reproduce: (XF 1.1.4)
    • Use an illegal username (like admin)
    • Do not fill out any other field, except for the verification question and terms agreement.
    • Click Register

    Attached Files:

    sonnb and erich37 like this.
  2. erich37

    erich37 Well-Known Member

    are you using the latest XF-version ?

    The registration-form is actually reloading fine on XF-version 1.1.1
  3. Mr_Bob

    Mr_Bob Well-Known Member

    Yes, this is with XF 1.1.4. I edited my first post to clarify this.
  4. Mike

    Mike XenForo Developer Staff Member

    Somehow I managed to wipe this line out...

    In library/XenForo/ControllerPublic/Register.php, find:

    if ($errors)
    Add this above it:

    $errors = array_merge($errors, $writer->getErrors());
    Slavik and Mr_Bob like this.
  5. Biker

    Biker Well-Known Member

    Have you added this to the existing zip file, or should we go ahead and make the change pending the next release?
    Steve F likes this.
  6. Mike

    Mike XenForo Developer Staff Member

    Make the change. Package updates are very rare and are really only done immediately after a release.
    Slavik and Biker like this.
  7. Biker

    Biker Well-Known Member

    Gotcha. Under de hood I go. :D

Share This Page