Uncght ReferenceError: Class not defined vote.js

  • Posts: 3
  • Thank you received: 0
11 years 4 days ago #167169

-- url of the page with the problem -- : pdaesport.alperia.com/shop
-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.5
-- Browser(s) name and version -- : All
-- Error-message(debug-mod must be tuned on) -- : Uncaught ReferenceError: Class is not defined vote.js line 8
Uncaught ReferenceError: SqueezeBox is not defined line 174

When I add any hika modules to the page I get a JavaScript error. This might be an installation issue as I have not actually had it running properly (still setting up).

The theme is SJ_Honrat from smartaddons

The browser stops all JavaScript running on the page after these errors show up.

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

  • Posts: 84219
  • Thank you received: 13670
  • MODERATOR
11 years 4 days ago #167191

SqueezeBox is a class from mootools necessary for the vote system of HikaShop.
If you have that error, it means that something on your website is removing mootools from the output even thought HikaShop asks joomla to add it. It is either the template, or a system plugin (you can try to find the culprit by enabling/disabling them one by one until you find the one which removes mootools from the page and generates that javascript error).
Another solution is to deactivate the voting system of HikaShop via the Features tab of the configuration and you should not have that error anymore.

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

  • Posts: 3
  • Thank you received: 0
11 years 4 days ago #167228

Many thanks for your reply Nicolas. The funny thing is that Voting is already off (default?):

1. Choose which module you want to enable: Nothing
2. Display Vote in Products Page: No

Last edit: 11 years 4 days ago by Valdez360.

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

  • Posts: 3
  • Thank you received: 0
11 years 3 days ago #167253

Thanks for your help Nicolas. It was mootools.

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

Time to create page: 0.060 seconds
Powered by Kunena Forum