Add buttons back-end not working after move

  • Posts: 87
  • Thank you received: 5
  • Hikashop Business
11 years 4 months ago #111736

Hi All,

I've moved my website to the live server yesterday evening. Everything appeared to be working fine at first.
Just now I noticed that a lot of the buttons in the Hikashop back-end stopped working, making it impossible to manage the shop.

The buttons that are not working are the 'add' buttons that produce a pop-up with an overview of available options, such as the 'Add' buttons in the product management for options, characteristics, images etc.

What can I do to fix this as soon as possible?


EDIT: I think is has something to do with the script that calls the modal window, because the pop-up images at the front-end that also use the modal window are not functioning either.



Kind regards,
Chris

Last edit: 11 years 4 months ago by Foxworks.

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

  • Posts: 82758
  • Thank you received: 13346
  • MODERATOR
11 years 4 months ago #111739

Hi,

This means that you have a javascript error on the pages which prevents the joomla popups to initialize porperly.
Please look at your browser's javascript error console for the error message and you will get more information on where the problem is coming from.

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

  • Posts: 87
  • Thank you received: 5
  • Hikashop Business
11 years 4 months ago #111741

Hi Nicolas,

Thanks for the quick reply.
It turned out to be a Mootools vs jQuery conflict. The jQueryEasy plugin for Joomla 2.5 did not fix it, but putting jQuery into noConflict mode manually in my template did fix it.
It's a bit strange that this same issue did not cause a conflict on the previous server but after the move it did; but I'm glad that it is fixed now.
The jQuery is only used in my template for a simple toggle effect, which I assume can easily be reproduced with Mootools as well. Is it generally better to use Mootools for these kind of effects since Mootools is used in Joomla anyways?

Kind regards,
Chris

Last edit: 11 years 4 months ago by Foxworks.

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

  • Posts: 82758
  • Thank you received: 13346
  • MODERATOR
11 years 4 months ago #111742

It depends :)
With Joomla 2.5 it's generally better to use mootools. But with Joomla 3.0 it's generally better to use jquery.
The biggest problem is that not all the templates/modules/plugins/components are coded in a way to play nice with each other regarding JS libraries.
If one screws up or is not configured properly, it can breaks all the others.
JS conflict is a big issue on Joomla and we're working on our end to improve HikaShop in that end so that we can avoid most of the other extensions conflicts but for some cases, like the one you add, there is not much we can do on our end for now as we are not the ones handling the popup system but Joomla. So it would require that we use our own popup system, JS library-agnostic.

The following user(s) said Thank You: Foxworks

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

Time to create page: 0.057 seconds
Powered by Kunena Forum