[Skip to main content](#vessel-content)

#   Not Logging In After Register

##

- **[bars92](/forum/user/3048-bars92 "View bars92's Profile")**
- [![bars92's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3048-bars92 "View bars92's Profile") Topic Author
- [ Offline](/forum/user/3048-bars92)

Less More

- Posts: 108
- Thank you received: 2
-
-

14 years 5 months ago [\#48817](#48817) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  *[Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#48817 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")* was created by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")*

hey again.
I am using the register menu to register before shopping, and after the register the user needs to be logged in.
The problem is, he is not.
It happened to me before, and i was because the user register contained fields that was required but not in the front-end.
Now i tried everything i could think of and i cant seem to understand why.

If you have any suggestions, please share.

Thanks in advance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 5 months ago [\#48840](#48840) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#48840 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

The user registration form does not auto log users in joomla.
If you want to do that, you'll have to use an auto login plugin:
[ extensions.joomla.org/extensions/access-...te-access/auto-login](http://extensions.joomla.org/extensions/access-a-security/site-access/auto-login)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bars92](/forum/user/3048-bars92 "View bars92's Profile")**
- [![bars92's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3048-bars92 "View bars92's Profile") Topic Author
- [ Offline](/forum/user/3048-bars92)

Less More

- Posts: 108
- Thank you received: 2
-
-

14 years 5 months ago [\#48853](#48853) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#48853 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

I know in the checkout the registration in the login step does login to joomla.

Anyway, when i install and try it, it gives me Invalid Token and it does not save the Hikashop custom fields.

What do i do now?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 5 months ago [\#48873](#48873) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#48873 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

Can you give a link to that page so that we can see that ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bars92](/forum/user/3048-bars92 "View bars92's Profile")**
- [![bars92's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3048-bars92 "View bars92's Profile") Topic Author
- [ Offline](/forum/user/3048-bars92)

Less More

- Posts: 108
- Thank you received: 2
-
-

14 years 5 months ago [\#48880](#48880) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#48880 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

Here is the link: [ zristar.com/en/register](https://zristar.com/en/register)
fill in and click register you will see a Invalid Token by the plugin and the little line in the top says whos logged in and his Refferal custom field you entered.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 5 months ago [\#48899](#48899) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#48899 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

That's not normal. Once logged in, HikaShop doesn't even display the registration form but redirects to the user control panel when trying to display that page.
Also, there is no token check in HikaShop, and even if it were, it should match as we send the current one.
It sounds like you have a cache problem on your website.
Please check that the cache of the joomla configuration, the cache plugin via the plugins manager and the cache option of your template (if there in the options of the template) are all deactivated and try again.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bars92](/forum/user/3048-bars92 "View bars92's Profile")**
- [![bars92's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3048-bars92 "View bars92's Profile") Topic Author
- [ Offline](/forum/user/3048-bars92)

Less More

- Posts: 108
- Thank you received: 2
-
-

14 years 5 months ago [\#48932](#48932) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#48932 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

i couldnt understand how to deactivate cache, but if you ment purge cache then it didnt help..
I noticed the plugin uses onAfterUserCreated but Hikashop custom fields are not saved so plug in must have been interuppting Hikashop..

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 5 months ago [\#48987](#48987) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#48987 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

What plugin ?

To turn off cache, you need to do three things:

Global Configuration--&gt; System--&gt;Cache Settings--&gt;Cache
Please select 'No';
Extensions--&gt;Plugin Manager--&gt;System - Cache
Please disable the plugin-"System-Cache" .

Extensions--&gt;Templates Manager--&gt;YOUR TEMPLATE
Please look for a cache option in your template's options.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bars92](/forum/user/3048-bars92 "View bars92's Profile")**
- [![bars92's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3048-bars92 "View bars92's Profile") Topic Author
- [ Offline](/forum/user/3048-bars92)

Less More

- Posts: 108
- Thank you received: 2
-
-

14 years 5 months ago -  14 years 5 months ago [\#49117](#49117) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#49117 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

All cache options already set to off..
I meant the auto login plugin that might interuppt Hikashop.
Have you ever heard about someone that this plugin worked using Hikashop?

EDIT: i checked the auto plugin and notice i get error 1 when trying to login. Trying to figure out what does it mean.

Last edit: 14 years 5 months ago by [bars92](/forum/user/3048-bars92 "View bars92's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 5 months ago [\#49199](#49199) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#49199 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

No that's the first time someon asks to auto login users after registration from the registration page of HikaShop.
Most of the time, they only use the registration inside the checkout. In that case, HikaShop handles automatically the auto login.

What error do you get with the auto plugin ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bars92](/forum/user/3048-bars92 "View bars92's Profile")**
- [![bars92's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3048-bars92 "View bars92's Profile") Topic Author
- [ Offline](/forum/user/3048-bars92)

Less More

- Posts: 108
- Thank you received: 2
-
-

14 years 5 months ago [\#49337](#49337) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#49337 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

I dont know what the error is, but when i run the JApplication::login it retruns 1 which means error.
but i couldnt see what 1 means.. Perhaps you would know.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 5 months ago [\#49400](#49400) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#49400 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

I don't know about that. Could you do a screenshot ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bars92](/forum/user/3048-bars92 "View bars92's Profile")**
- [![bars92's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3048-bars92 "View bars92's Profile") Topic Author
- [ Offline](/forum/user/3048-bars92)

Less More

- Posts: 108
- Thank you received: 2
-
-

14 years 5 months ago -  14 years 5 months ago [\#49408](#49408) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#49408 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

attached a picture of the plug-in.

The line: $error = $app-&gt;login($credentials, $options); returns 1
and all Hikashop custom fields are NULL, which cause the plugin to log in, but all of the user custom fields are empty.

[ ![Untitled.jpg](/forum/attachment/3799) ](/forum/attachment/3799 "Untitled.jpg")

- [ ![Untitled.jpg](/forum/attachment/3799) ](/forum/attachment/3799 "Untitled.jpg") [ ](/forum/attachment/3799?download=1 "Untitled.jpg")

Last edit: 14 years 5 months ago by [bars92](/forum/user/3048-bars92 "View bars92's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 5 months ago [\#49437](#49437) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#49437 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

No I mean a screenshot of the error message.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bars92](/forum/user/3048-bars92 "View bars92's Profile")**
- [![bars92's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3048-bars92 "View bars92's Profile") Topic Author
- [ Offline](/forum/user/3048-bars92)

Less More

- Posts: 108
- Thank you received: 2
-
-

14 years 5 months ago [\#49459](#49459) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#49459 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

there is no error message i just print the $error as you see in the picture.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 5 months ago [\#49503](#49503) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#49503 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

So do you mean that the auto login plugin does not work ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bars92](/forum/user/3048-bars92 "View bars92's Profile")**
- [![bars92's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3048-bars92 "View bars92's Profile") Topic Author
- [ Offline](/forum/user/3048-bars92)

Less More

- Posts: 108
- Thank you received: 2
-
-

14 years 5 months ago [\#49541](#49541) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#49541 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

It does work, strangly the user is connected but hika fields are empty as if Hikashop register did not work and i get an error from the plugin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

14 years 5 months ago [\#49609](#49609) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#49609 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

As yes. That's because the saving of address fields is done after the user has been saved in Joomla. And that plugin is triggered in between and it redirects the page at that point. You should try to remove the redirect lines of code in the plugin and that should help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[coolbugs](/forum/user/32285-coolbugs "View coolbugs's Profile")**
- [![coolbugs's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32285-coolbugs "View coolbugs's Profile")
- [ Offline](/forum/user/32285-coolbugs)

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 6 months ago [\#152925](#152925) by [coolbugs](/forum/user/32285-coolbugs "View coolbugs's Profile")  Replied by *[coolbugs](/forum/user/32285-coolbugs "View coolbugs's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#152925 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

have you got this working? I seem to have problem saving the user information with the autologin

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

12 years 6 months ago [\#152940](#152940) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Not Logging In After Register](/forum/4-how-to/48817-not-logging-in-after-register#152940 "hey again. I am using the register menu to register before shopping, and after the register the user needs to be logged in. The problem is, he is not. It happened to me before, and i was because the user register contained fields that was required but not in the front-end. Now i tried everything i could think of and i cant seem to understand why.  If you have any suggestions, please share.  Thanks in advance.")*

As I said in my last post, you should remove the "redirect" lines in the auto login plugin file so that it doesn't redirect the user to another page before HikaShop process the user information.

The following user(s) said Thank You: [coolbugs](/forum/user/32285-coolbugs "View coolbugs's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4ODE3LW5vdC1sb2dnaW5nLWluLWFmdGVyLXJlZ2lzdGVyP3N0YXJ0PTAmdG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.436 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
