Division by zero erro when editing some products

  • Posts: 14
  • Thank you received: 0
  • Hikashop Business
1 week 6 days ago #342420

-- url of the page with the problem -- : www.paintmaster.nl
-- HikaShop version -- : 4.5.1
-- Joomla version -- : 4.1.4
-- PHP version -- : 9.0.20
-- Browser(s) name and version -- : all browsers
-- Error-message(debug-mod must be tuned on) -- : "division by zero" in administrator/components/com_hikashop/views/upload/tmpl/file_entry.php:30 in backend when editing product

Hi,

When editing some of my Hikashop-products a "division by zero" error occurs. See attachment for the stack trace and the screenshot of the product edit page.

Kind regards,
Peter

Attachments:

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

  • Posts: 14
  • Thank you received: 0
  • Hikashop Business
1 week 6 days ago #342424

Hi again,
I discovered that it has to do something with using uppercase letters in the filename of a pdf, that is stored in media\com_hikashop\upload\safe
The filename contains uppercase letters. Changing it to lowercase the division by zero error is gone. The division by zero is on the location where the size of the file is computed, but the file can not be found zo it is divided by zero.

I don't know why this is happening now.

Regards,
Peter

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

  • Posts: 75835
  • Thank you received: 11829
  • MODERATOR
1 week 6 days ago #342426

Hi,

I would first recommend updating your HikaShop as we changed that area with the 4.6.0.
We didn't activate yet the auto update, so to update, you need to manually download the latest version of HikaShop on our website and install it on yours.

The following user(s) said Thank You: remcovolbeda

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

Time to create page: 0.057 seconds
Powered by Kunena Forum