Cannot create or modify products

  • Posts: 4
  • Thank you received: 0
5 years 2 months ago #311148

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.11
-- PHP version -- : 7.2.22
-- Browser(s) name and version -- : Chrome Linux 76.0.3809.100
-- Error-message(debug-mod must be tuned on) -- : Uncaught TypeError: window.oNamebox is not a constructor
at index.php?option=com_hikashop&ctrl=product&task=edit&cid[]=1:87

When I try to add or modify an existing product, the product edit page appears (but without any styling),
and I got a number of JS errors in "index.php":

Uncaught TypeError: Cannot read property 'ready' of undefined at index.php?option=com_hikashop&ctrl=product&task=edit&cid[]=1:45
Uncaught TypeError: window.oNamebox is not a constructor at index.php?option=com_hikashop&ctrl=product&task=edit&cid[]=1:87
Uncaught TypeError: window.oNamebox is not a constructor at index.php?option=com_hikashop&ctrl=product&task=edit&cid[]=1:110
Uncaught TypeError: Cannot read property 'ready' of undefined at index.php?option=com…sk=edit&cid[]=1:316

All other thing seem to work.

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
5 years 2 months ago #311151

Hi,

This indicates that some javascript file from HikaShop is missing/not loaded on the page.
Not sure why that would happen. We would need an access to the page with the issue to be able to analyze the situation.
Could you provide such access along with a link to this thread via our contact form ?
www.hikashop.com/support/contact-us.html

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
5 years 2 months ago #311207

Hi,

If I look at the product edition page you gave in your message I can see at the bottom a fatal error message coming from your JCE editor:
monosnap.com/file/fzaune1bJNSieutP24PUg8o1ORr3zs
So I went to the "Advanced" tab of the HikaShop configuration and changed the "editor" setting to "tinyMCE" and the page now displays properly.
I would recommend to contact the JCE support regarding that error.

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

  • Posts: 4
  • Thank you received: 0
5 years 2 months ago #311208

Perfect, thank you! Will drop JCE in favour of tinyMCE.

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

Time to create page: 0.048 seconds
Powered by Kunena Forum