Image editing popup error for site upgrade to 5.1.3 after 1/27/2025

  • Posts: 244
  • Thank you received: 22
  • Hikamarket Multivendor Hikashop Business Hikashop Essential
3 weeks 19 hours ago #365467

-- HikaShop version -- : 5.1.3 (after 1/27/2025)
-- Joomla version -- : 4.4.10
-- PHP version -- : 8.2.27
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : 404 or 403

When editing a product and clicking on an image to update its alt/title text, clicking on the image produces a forbidden or found error.



The link on hover looks right and opens correctly if you open it in a new tab.
i.e. /administrator/index.php?option=com_hikashop&ctrl=product&task=selectimage&cid=141&pid=1&product_type=product&tmpl=component

However, if you look at the error's URL in the javascript popup, it is:
/administrator/null&product_type=product

I guess that something in the JavaScript is causing it to open up the wrong URL.

If you add an image, it is fine. It is only when you go to edit an existing image.

However, this only happens on sites I've updated AFTER Jan. 27, 2025.

I have a copy of 5.1.3 from January 27th, 2025, that I can upload; it fixes the issue of any of the sites impacted.

Anything after that date, however, has this issue. I tried newer versions from the last couple of days, and it's still happening.

Tried this on different sites, different servers, networks, templates, and different browsers.

Attachments:

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

  • Posts: 83303
  • Thank you received: 13467
  • MODERATOR
3 weeks 5 hours ago #365472

Hi,

Thank you for your thorough feedback.
This follows the patch made for this issue:
www.hikashop.com/forum/product-category-...-problem.html#365393
The patch was wrong in some cases which I didn't forsee.
I've made another patch to fix this.
Download again the install package of HikaShop on our website and install it on yours and you'll get the new patch.

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

Time to create page: 0.072 seconds
Powered by Kunena Forum