When on the user/login page, I click on the create an account button and do not go to the registration page but am instead redirected to the home page with the following URL in the address bar: http://localhost/?op=Create+an+account

Any ideas?

CommentFileSizeAuthor
#5 luxe.module.patch446 bytesopenloop.ie

Comments

akalsey’s picture

If you look at the HTML source of the login page, what is the form action for the form user_login_register?

akalsey’s picture

Status: Active » Closed (cannot reproduce)

Since there's been no other reports of this, I can't reproduce, and the original reporter is unable to provide more information, I'm closing this issue.

openloop.ie’s picture

Issue summary: View changes

I can reproduce this issue on latest luxe release 7.x-1.2. It occurs when "Clean URLs" URLs is disabled. The Create Account form has a mix of GET variables in the action and form variables. The ?q=user/register/ part of the form action URL gets clobbered.

Workaround: enable Clean URLs!

akalsey’s picture

Title: Create an account button redirects to home page » Without clean URLs, create an account button redirects to home page
Category: Support request » Bug report
Status: Closed (cannot reproduce) » Active

Thanks for that.

openloop.ie’s picture

StatusFileSize
new446 bytes

So, I ended up requiring Clean URLs to be disabled on a site, so debugged this issue. Solution is in the attached patch!

akalsey’s picture

Status: Active » Reviewed & tested by the community

Perfect, patch looks good.

  • Commit e7bc04a on master, 7.x-1.x by akalsey:
    [Fixed] Without clean URLs, create an account button redirects to home...

  • Commit e7bc04a on master, 7.x-1.x by akalsey:
    [Fixed] Without clean URLs, create an account button redirects to home...
akalsey’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Released as 7.x-1.21