Can't load image to variants

  • Posts: 30
  • Thank you received: 0
9 years 2 months ago #214314

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.4.44
-- Browser(s) name and version -- : any browser
-- Error-message(debug-mod must be tuned on) -- : Choosing the variant:
Uncaught SyntaxError: Unexpected token }
Oby.updateElem @ hikashop.js?v=250:235
xhr.onreadystatechange @ hikashop.js?v=250:175

Trying to upload the variant image:
Uncaught TypeError: Cannot read property 'uploadFile' of undefined
onclick @ index.php?option=com_hikashop&ctrl=product:1

Hello!
I can't add images for product variants. Image module looks like this (arrow points at "Browse" button): joxi.ru/gmv6V7yIOdkDma
Clicking on "Upload" button causes nothing but scrolling up to the top of the page.
Please, help me!

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 2 months ago #214320

Hi,

That's because you have a javascript error on your page, probably caused by the latest version of Joomla.
www.hikashop.com/forum/install-update/87...to-3-4-4.html#214269

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

  • Posts: 30
  • Thank you received: 0
9 years 2 months ago #214751

Nicolas, please look at the first post: we have Joomla 3.4.3, not 3.4.4. What should I do? Update to 3.4.4?

Edit:
There's one more error. Clicking on "Variants" tab cause this: joxi.ru/1A5QJW7IdlJYAE
Error:
Uncaught SyntaxError: Unexpected token }
Oby.updateElem @ hikashop.js?v=250:235
xhr.onreadystatechange @ hikashop.js?v=250:175
VM4826:263

Last edit: 9 years 2 months ago by withram.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 2 months ago #214775

Hi,

Okay so that's not the Javascript issue from Joomla 3.4.4 but you still have a javascript error in your webpage ; that part did not changed.

The error seems to come from the hikashop.js file.
Can you download Hikashop from our website again and install it again on your website ?
Maybe that will fix the issue with the hikashop.js file.
Otherwise, edit the file media/com_hikashop/js/hikashop.js via FTP and make sure that you have the latest version, as in the install package of HikaShop.

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

  • Posts: 30
  • Thank you received: 0
9 years 2 months ago #215171

Thanks, we'll try

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

Time to create page: 0.062 seconds
Powered by Kunena Forum