Skip to main content

Division by zero erro when editing some products

More
4 years 3 months ago #342420 by remcovolbeda
-- 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

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

More
4 years 3 months ago #342424 by remcovolbeda
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.

More
4 years 3 months ago #342426 by nicolas
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.201 seconds
Powered by Kunena Forum