No Image Upload / Image Swap etc. In Frontend Edit (AJAX ?)

  • Posts: 8
  • Thank you received: 0
6 years 8 months ago #275088

-- HikaShop version -- : HikaShop Starter 3.1.1
-- HikaMarket version -- : com_hikamarket_frontedition_v1.7.3_2017-07-31_02-14-34.zip
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.6.31
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : Chrome - console

 - Not found

 - Not found

Uncaught ReferenceError: jQuery is not defined - tooltip.js:254 Uncaught TypeError: Cannot read property 'fn' of undefined(anonymous function) @ tooltip.js:254(anonymous function) @ tooltip.js:286

notify.min.js:3 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ notify.min.js:3(anonymous function) @ notify.min.js:3
index.php?option=com_hikamarket&ctrl=product&task=edit&cid=2&Itemid=1130:182 Uncaught ReferenceError: hkjQuery is not defined(anonymous function) @ index.php?option=com_hikamarket&ctrl=product&task=edit&cid=2&Itemid=1130:182

index.php?option=com_hikamarket&ctrl=product&task=edit&cid=2&Itemid=1130:182 Uncaught ReferenceError: hkjQuery is not defined(anonymous function) @ index.php?option=com_hikamarket&ctrl=product&task=edit&cid=2&Itemid=1130:182
jquery.migrate.js?v=272a94bcad2e0acc:21 JQMIGRATE: Logging is active

otree.js?v=173:1489 Uncaught TypeError: $(...).sortable is not a function(anonymous function) @ otree.js?v=173:1489fire @ jquery-1.11.2.js?v=272a94bcad2e0acc:3143self.fireWith @ jquery-1.11.2.js?v=272a94bcad2e0acc:3255jQuery.extend.ready @ jquery-1.11.2.js?v=272a94bcad2e0acc:3467completed @ jquery-1.11.2.js?v=272a94bcad2e0acc:3498
index.php?option=com_hikamarket&ctrl=product&task=edit&cid=2&Itemid=1130:1426 Uncaught TypeError: hkjQuery(...).sortable is not a function(anonymous function) @ index.php?option=com_hikamarket&ctrl=product&task=edit&cid=2&Itemid=1130:1426init @ hikashop.js?v=311:160

index.php?option=com_hikamarket&ctrl=product&task=edit&cid=2&Itemid=1130:1426 Uncaught TypeError: hkjQuery(...).sortable is not a function(anonymous function) @ index.php?option=com_hikamarket&ctrl=product&task=edit&cid=2&Itemid=1130:1426init @ hikashop.js?v=311:160
Hi,

Have just installed HikaMarket Frontend Edit onto latest version of Hika Starter:

In 'Frontend Edit' & ' Frontend Product Create' AJAX (Or something) not working:

1) AJAX upload - not working
2) Image Delete - 'X' showing but on Click no delete
3) Image Swap - not working
4) Upload Buttons in image area ( eg : data-squeezebox="{handler: 'iframe', size: {x: 750, y: 460}}" not loading iframe
5) 'Choose Files' in image area opens file select box, adds file name to button but on 'Save' or 'Apply' no upload.

Same problems in 'Add File' area.

Installed same HikaShop Starter & same HikaMarket on another J2.5.28 test site & everything works - so I guess its a conflict or missing file/s. Please advise how HikaMarket uses AJAX & what JS Hika is using for upload so I can check code (See Chrome Console messsages).

I checked forum & found 'forum/content-creation/890012-can-t-delete-swap-product-images.html#268474' - similar problem but different.

All ideas welcome - urgent.

Cheers Paulzero.

Last edit: 6 years 8 months ago by Jerome. Reason: put errors in [code] tag

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 8 months ago #275098

Hello,

Regarding your JS errors ; it looks like you have an issue with a missing jquery.
I would recommend you to :
- Be sure to have the latest HikaShop package installed.
- Check that you have all required JS files in your "media/com_hikashop/js" folder.
- Install "jquery easy" plugin to handle jquery issues.

For what I can see unfortunately, it looks like related to HikaShop and not HikaMarket.
You should have also JS issues in the HikaShop front-end and in the HikaShop backend, right ?

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 8
  • Thank you received: 0
6 years 8 months ago #275164

Hi Jerome !

Thanks for quick reply. Seem to have solved the problem by temperately disabling a Jquery load plugin for another component. That plugin tries to load Jquery-1.8.2.min.js & it seems to cause conflicts - any idea what the differences are between HikaJquery 1.8.3 & plugin Jquery 1.8.2 ? Will have to solve problem re: Jquery plugin for other component soon.

Cheers - Paulzero

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 8 months ago #275200

Hello,

If you have jquery conflicts, the plugin, please follow my third advice:

Install "jquery easy" plugin to handle jquery issues.


Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.062 seconds
Powered by Kunena Forum