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

#   Problem registration during second order

##

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 3 months ago [\#210050](#210050) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problem registration during second order](/forum/33-customers/876811-problem-registration-during-second-order?start=20#210050 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4.33  Hi,  During the checkout in my webshop customers may choose to register or to order as a guest. Registration is only possible during the checkout. Several customers have had this problem: - At first they order products as a guest - During a next order they choose to register during the checkout. The registration procedure is finished, the customer is logged in. - But then they can't proceed in the checkout. No error message is shown.  I guess the reason is a conflict between the Hikashop user and the Joomla user. The customer already is a Hikashop user thanks to his previous orders as a guest. Now he is a Joomla user too thanks to his recent registration and using the same e-mail address. As a result the Hikashop checkout fails to proceed because this e-mail address is already used by a Hikashop customer. The system doesnot know it's the same person.  To resolve this conflict I usually edit the e-mail address of the Hikashop user, so it's different from the e-mail address in the Joomla registration. Then the customer can log in and proceed with the checkout. During this checkout he is asked to add his address.  So my question is: how to make it possible for a customer who first ordered as a guest to register during a next checkout using the same e-mail address,  Thanks. Udo")*

Hi,

Yes, we understand that it is an annoying problem but that's a problem that we can't reproduce in our local websites ; so it's even more difficult for us to understand what is going wrong exactly.
Just to be sure ; there is no error logged in your PHP error log when you perform the registration ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 220
- Thank you received: 8
-
-
-

11 years 3 months ago [\#210111](#210111) by [Udo](/forum/user/29928-udo "View Udo's Profile")  Replied by *[Udo](/forum/user/29928-udo "View Udo's Profile")* on topic *[Problem registration during second order](/forum/33-customers/876811-problem-registration-during-second-order?start=20#210111 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4.33  Hi,  During the checkout in my webshop customers may choose to register or to order as a guest. Registration is only possible during the checkout. Several customers have had this problem: - At first they order products as a guest - During a next order they choose to register during the checkout. The registration procedure is finished, the customer is logged in. - But then they can't proceed in the checkout. No error message is shown.  I guess the reason is a conflict between the Hikashop user and the Joomla user. The customer already is a Hikashop user thanks to his previous orders as a guest. Now he is a Joomla user too thanks to his recent registration and using the same e-mail address. As a result the Hikashop checkout fails to proceed because this e-mail address is already used by a Hikashop customer. The system doesnot know it's the same person.  To resolve this conflict I usually edit the e-mail address of the Hikashop user, so it's different from the e-mail address in the Joomla registration. Then the customer can log in and proceed with the checkout. During this checkout he is asked to add his address.  So my question is: how to make it possible for a customer who first ordered as a guest to register during a next checkout using the same e-mail address,  Thanks. Udo")*

Hi,

Indeed, it's very difficult to find the cause if you can't reproduce the problem.
It might be a sensible guess based on your broad experience.

I did not see any related errors in the log.

Alas I'm not really sure when the problem started. It took a while before I found out what was happening. My guess is it started after upgrading to Joomla 2.5
Today I tested with a local copy of the old site using Joomla 1.5 and Hikashop 2.3.0. The configuration was the same as on the present live website. And it worked fine, The new registration was correctly linked to the old guest order.

Regards,
Udo

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 3 months ago [\#210208](#210208) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problem registration during second order](/forum/33-customers/876811-problem-registration-during-second-order?start=20#210208 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4.33  Hi,  During the checkout in my webshop customers may choose to register or to order as a guest. Registration is only possible during the checkout. Several customers have had this problem: - At first they order products as a guest - During a next order they choose to register during the checkout. The registration procedure is finished, the customer is logged in. - But then they can't proceed in the checkout. No error message is shown.  I guess the reason is a conflict between the Hikashop user and the Joomla user. The customer already is a Hikashop user thanks to his previous orders as a guest. Now he is a Joomla user too thanks to his recent registration and using the same e-mail address. As a result the Hikashop checkout fails to proceed because this e-mail address is already used by a Hikashop customer. The system doesnot know it's the same person.  To resolve this conflict I usually edit the e-mail address of the Hikashop user, so it's different from the e-mail address in the Joomla registration. Then the customer can log in and proceed with the checkout. During this checkout he is asked to add his address.  So my question is: how to make it possible for a customer who first ordered as a guest to register during a next checkout using the same e-mail address,  Thanks. Udo")*

Hi,

Did you performed your different tests with the Joomla debug mode activated ?
I'm wondering if you might have a little issue with your database schemas ; maybe you have an SQL error which does not generate any issue but which do not update the database.
(like an "INSERT IGNORE" on a table where you have a column with a "UNIQUE KEY" ; etc).

The Joomla debug mode could help to see the different queries and figure it out.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 220
- Thank you received: 8
-
-
-

11 years 3 months ago [\#210320](#210320) by [Udo](/forum/user/29928-udo "View Udo's Profile")  Replied by *[Udo](/forum/user/29928-udo "View Udo's Profile")* on topic *[Problem registration during second order](/forum/33-customers/876811-problem-registration-during-second-order?start=20#210320 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4.33  Hi,  During the checkout in my webshop customers may choose to register or to order as a guest. Registration is only possible during the checkout. Several customers have had this problem: - At first they order products as a guest - During a next order they choose to register during the checkout. The registration procedure is finished, the customer is logged in. - But then they can't proceed in the checkout. No error message is shown.  I guess the reason is a conflict between the Hikashop user and the Joomla user. The customer already is a Hikashop user thanks to his previous orders as a guest. Now he is a Joomla user too thanks to his recent registration and using the same e-mail address. As a result the Hikashop checkout fails to proceed because this e-mail address is already used by a Hikashop customer. The system doesnot know it's the same person.  To resolve this conflict I usually edit the e-mail address of the Hikashop user, so it's different from the e-mail address in the Joomla registration. Then the customer can log in and proceed with the checkout. During this checkout he is asked to add his address.  So my question is: how to make it possible for a customer who first ordered as a guest to register during a next checkout using the same e-mail address,  Thanks. Udo")*

Hi,

I did test using the debug mode while testing on the local testsite.but I didnot have a look at the dbase queries before.
Now I did but I did not see any alarming notices.
And there is no column UNIQUE KEY.
But my knowledge of debugging and dbase queries is limited.

Regards,
Udo

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 3 months ago [\#210471](#210471) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problem registration during second order](/forum/33-customers/876811-problem-registration-during-second-order?start=20#210471 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4.33  Hi,  During the checkout in my webshop customers may choose to register or to order as a guest. Registration is only possible during the checkout. Several customers have had this problem: - At first they order products as a guest - During a next order they choose to register during the checkout. The registration procedure is finished, the customer is logged in. - But then they can't proceed in the checkout. No error message is shown.  I guess the reason is a conflict between the Hikashop user and the Joomla user. The customer already is a Hikashop user thanks to his previous orders as a guest. Now he is a Joomla user too thanks to his recent registration and using the same e-mail address. As a result the Hikashop checkout fails to proceed because this e-mail address is already used by a Hikashop customer. The system doesnot know it's the same person.  To resolve this conflict I usually edit the e-mail address of the Hikashop user, so it's different from the e-mail address in the Joomla registration. Then the customer can log in and proceed with the checkout. During this checkout he is asked to add his address.  So my question is: how to make it possible for a customer who first ordered as a guest to register during a next checkout using the same e-mail address,  Thanks. Udo")*

Hi,

Okay.
There is no "UNIQUE KEY" column in the database, it's an attribute to some columns in order to specific that the content of the column will be unique for each entry. So that' why you can have two users in the database with the same username or the same email ; because these columns have "unique key".

You wrote that you perform a test on your old J1.5 website ; How did you performed the migration ?
Did you perform some tests like trying to update HikaShop in that J1.5 site to see if the problem is also there ?
Because we can't reproduce the issue ; I think that the problem is coming from something particular in your website compared to "classical" environment ; if you database is not using same schema, or if you have special plugins, if the database content is corrupted : it could explain some of your issues.

I hoped that the query issue could generate an error which could be displayed thanks to the Joomla debug mode ; but that's not always the case.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 220
- Thank you received: 8
-
-
-

11 years 3 months ago [\#210523](#210523) by [Udo](/forum/user/29928-udo "View Udo's Profile")  Replied by *[Udo](/forum/user/29928-udo "View Udo's Profile")* on topic *[Problem registration during second order](/forum/33-customers/876811-problem-registration-during-second-order?start=20#210523 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4.33  Hi,  During the checkout in my webshop customers may choose to register or to order as a guest. Registration is only possible during the checkout. Several customers have had this problem: - At first they order products as a guest - During a next order they choose to register during the checkout. The registration procedure is finished, the customer is logged in. - But then they can't proceed in the checkout. No error message is shown.  I guess the reason is a conflict between the Hikashop user and the Joomla user. The customer already is a Hikashop user thanks to his previous orders as a guest. Now he is a Joomla user too thanks to his recent registration and using the same e-mail address. As a result the Hikashop checkout fails to proceed because this e-mail address is already used by a Hikashop customer. The system doesnot know it's the same person.  To resolve this conflict I usually edit the e-mail address of the Hikashop user, so it's different from the e-mail address in the Joomla registration. Then the customer can log in and proceed with the checkout. During this checkout he is asked to add his address.  So my question is: how to make it possible for a customer who first ordered as a guest to register during a next checkout using the same e-mail address,  Thanks. Udo")*

Hi,

At last I have found the solution!!! And it's amazingly simple.
Once more I searched the Hikahop forum and I read a ticket vaguely titled 'Multiple problems'. There Nicolas mentioned the user synchronisation plugin.
I had forgotten about the existence of this plugin and it proved to be disabled. I enabled it and the problem was solved!!!

It's peculiar we have not thought about that earlier.
On the other hand: the synchronisation seemed to work fine since new Hikashop accounts were correctly linked to a corresponding Joomla account. The synchronisation only failed when the new Joomla account uses the same e-mail address as an existing.Hikashop guest account.
So what exactly is the user synchronisation plugin doing?

Regards,
Udo

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 3 months ago [\#210537](#210537) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problem registration during second order](/forum/33-customers/876811-problem-registration-during-second-order?start=20#210537 "-- HikaShop version -- : 2.3.3 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.4.33  Hi,  During the checkout in my webshop customers may choose to register or to order as a guest. Registration is only possible during the checkout. Several customers have had this problem: - At first they order products as a guest - During a next order they choose to register during the checkout. The registration procedure is finished, the customer is logged in. - But then they can't proceed in the checkout. No error message is shown.  I guess the reason is a conflict between the Hikashop user and the Joomla user. The customer already is a Hikashop user thanks to his previous orders as a guest. Now he is a Joomla user too thanks to his recent registration and using the same e-mail address. As a result the Hikashop checkout fails to proceed because this e-mail address is already used by a Hikashop customer. The system doesnot know it's the same person.  To resolve this conflict I usually edit the e-mail address of the Hikashop user, so it's different from the e-mail address in the Joomla registration. Then the customer can log in and proceed with the checkout. During this checkout he is asked to add his address.  So my question is: how to make it possible for a customer who first ordered as a guest to register during a next checkout using the same e-mail address,  Thanks. Udo")*

Hi,

> It's peculiar we have not thought about that earlier.

Yes... We were focused on an error and we didn't though that you might disabled that plugin.
Nicolas made a patch few weeks ago in order to check that the plugin is right enabled ; so HikaShop 2.5.1 will "fix" that kind of issue.

About the role of that plugin:

> HikaShop User plugin to automatically synchronize the Joomla Users and the HikaShop ones
> \[/code\]If a Joomla user is created in your website, the plugin will create en entry in his user table in order to store the data related to HikaShop.
>
> Can you provide more details about the failed synchronization ? (so we can see to reproduce it...)
>
> Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84NzY4MTEtcHJvYmxlbS1yZWdpc3RyYXRpb24tZHVyaW5nLXNlY29uZC1vcmRlcj9zdGFydD0yMCZ0bXBsPW1hcmtkb3du) 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.076 seconds

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