- Posts: 152
- Thank you received: 0
User registration fails and redirects to home page
- plantpotphil
-
Topic Author
- Offline
Less
More
14 years 2 months ago #58508
by plantpotphil
Create your own style of luxury bespoke furniture online
User registration fails and redirects to home page was created by plantpotphil
I have started a clean intall of Joomla 1.5.26 and hikashop 1.5.8.
My workflow is set to cart,login,address_payment_confirm,end
User registration is enabled in global configeration and activation email is disabled.
Wehn I try to buy a test product the registration form does not work and redirects to home page. If I create the user in the backend and login instead of registering in checkout, it is possible to proceed.
Any ideas what might be stopping the registration from working?
Happy to supply login details.
My workflow is set to cart,login,address_payment_confirm,end
User registration is enabled in global configeration and activation email is disabled.
Wehn I try to buy a test product the registration form does not work and redirects to home page. If I create the user in the backend and login instead of registering in checkout, it is possible to proceed.
Any ideas what might be stopping the registration from working?
Happy to supply login details.
Create your own style of luxury bespoke furniture online
Please Log in or Create an account to join the conversation.
14 years 2 months ago #58555
by nicolas
Replied by nicolas on topic Re: User registration fails and redirects to home page
There must be an error on your website.
It can be either a problem with the database or with javascript.
For the javascript, you can look at the javascript error console of your browser when you're on the registration and proceed to the registration. Do you get any error message ?
For the database, you can turn on the debug mode of the configuration of Joomla. If you try again after that and get an error message, it's likely to come from that.
It can be either a problem with the database or with javascript.
For the javascript, you can look at the javascript error console of your browser when you're on the registration and proceed to the registration. Do you get any error message ?
For the database, you can turn on the debug mode of the configuration of Joomla. If you try again after that and get an error message, it's likely to come from that.
Please Log in or Create an account to join the conversation.
- plantpotphil
-
Topic Author
- Offline
Less
More
- Posts: 152
- Thank you received: 0
14 years 2 months ago - 14 years 2 months ago #58583
by plantpotphil
Create your own style of luxury bespoke furniture online
Replied by plantpotphil on topic Re: User registration fails and redirects to home page
In the console I get the following:
Line 1 is empty.
line 203 is:
Any clues here?
Code:
[09:21:26.583] ReferenceError: hikashopCheckChangeForm is not defined @ http://www.environmental-academy.net/index.php?option=com_hikashop&ctrl=checkout:1
[09:21:31.699] TypeError: window.addEvent is not a function @ http://www.environmental-academy.net/index.php?option=com_hikashop&ctrl=checkout&task=step&step=1:203
Line 1 is empty.
line 203 is:
Code:
window.addEvent('domready', function(){ changeState(document.getElementById('address_country').value); });
Any clues here?
Create your own style of luxury bespoke furniture online
Last edit: 14 years 2 months ago by plantpotphil.
Please Log in or Create an account to join the conversation.
14 years 2 months ago #58674
by nicolas
Replied by nicolas on topic Re: User registration fails and redirects to home page
This sounds like the javascript of HikaShop is not loaded in the header of the pages by your template.
So I would say that your template is missing the jdoc include tag to load the head in its index.php
Can you check on that:
docs.joomla.org/Jdoc_statements#Head
So I would say that your template is missing the jdoc include tag to load the head in its index.php
Can you check on that:
docs.joomla.org/Jdoc_statements#Head
Please Log in or Create an account to join the conversation.
- plantpotphil
-
Topic Author
- Offline
Less
More
- Posts: 152
- Thank you received: 0
14 years 2 months ago #58748
by plantpotphil
Create your own style of luxury bespoke furniture online
Replied by plantpotphil on topic Re: User registration fails and redirects to home page
I have changed the template to a joomla default and the registration now works. So it must be an issue with the template (so I will fix it myself since it is not a hikashop issue).
However, once the user has passed the register step, a message "The cart is empty" comes up and you are taken to a product listing page.
Is this to do with my workflow? cart,login,address_payment_confirm,end
However, once the user has passed the register step, a message "The cart is empty" comes up and you are taken to a product listing page.
Is this to do with my workflow? cart,login,address_payment_confirm,end
Create your own style of luxury bespoke furniture online
Please Log in or Create an account to join the conversation.
- plantpotphil
-
Topic Author
- Offline
Less
More
- Posts: 152
- Thank you received: 0
14 years 2 months ago #58750
by plantpotphil
Create your own style of luxury bespoke furniture online
Replied by plantpotphil on topic Re: User registration fails and redirects to home page
This is the url to test
www.environmental-academy.net/index.php?...&name=test-product-2
Create your own style of luxury bespoke furniture online
Please Log in or Create an account to join the conversation.
14 years 2 months ago #58811
by nicolas
Replied by nicolas on topic Re: User registration fails and redirects to home page
It's probably because the user synchronization plugin was disabled. Please check on that via the joomla plugins manager.
Please Log in or Create an account to join the conversation.
- plantpotphil
-
Topic Author
- Offline
Less
More
- Posts: 152
- Thank you received: 0
14 years 2 months ago #58814
by plantpotphil
Create your own style of luxury bespoke furniture online
Replied by plantpotphil on topic Re: User registration fails and redirects to home page
That was it. Thanks!
Not sure why/how that got disabled.
Not sure why/how that got disabled.
Create your own style of luxury bespoke furniture online
Please Log in or Create an account to join the conversation.
Time to create page: 0.199 seconds