User registration fails and redirects to home page

  • Posts: 152
  • Thank you received: 0
12 years 4 months ago #58508

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.


Create your own style of luxury bespoke furniture online

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 4 months ago #58555

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.

Please Log in or Create an account to join the conversation.

  • Posts: 152
  • Thank you received: 0
12 years 3 months ago #58583

In the console I get the following:

[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:
do_nothing( function(){ changeState(document.getElementById('address_country').value); });


Any clues here?


Create your own style of luxury bespoke furniture online
Last edit: 12 years 3 months ago by plantpotphil.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 3 months ago #58674

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

Please Log in or Create an account to join the conversation.

  • Posts: 152
  • Thank you received: 0
12 years 3 months ago #58748

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


Create your own style of luxury bespoke furniture online
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 152
  • Thank you received: 0
12 years 3 months ago #58750

Create your own style of luxury bespoke furniture online

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 3 months ago #58811

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.

  • Posts: 152
  • Thank you received: 0
12 years 3 months ago #58814

That was it. Thanks!

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.065 seconds
Powered by Kunena Forum