[Skip to main content](#vessel-content)

#   Division by zero erro when editing some products

##

- **[remcovolbeda](/forum/user/56255-remcovolbeda "View remcovolbeda's Profile")**
- [![remcovolbeda's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/56255-remcovolbeda "View remcovolbeda's Profile") Topic Author
- [ Offline](/forum/user/56255-remcovolbeda)

Less More

- Posts: 22
- Thank you received: 2
-
-

4 years 5 months ago [\#342420](#342420) by [remcovolbeda](/forum/user/56255-remcovolbeda "View remcovolbeda's Profile")  *[Division by zero erro when editing some products](/forum/3-bug-report/904569-division-by-zero-erro-when-editing-some-products#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) -- : &quot;division by zero&quot; in administrator/components/com&#95;hikashop/views/upload/tmpl/file&#95;entry.php:30 in backend when editing product  Hi,  When editing some of my Hikashop-products a &quot;division by zero&quot; error occurs. See attachment for the stack trace and the screenshot of the product edit page.  Kind regards, Peter")* was created by *[remcovolbeda](/forum/user/56255-remcovolbeda "View remcovolbeda's Profile")*

-- url of the page with the problem -- : [ www.paintmaster.nl](https://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

- [ ![hikashop-paintmaster-error.jpg](/forum/attachment/54999) ](/forum/attachment/54999 "...ster-error.jpg") [ ](/forum/attachment/54999?download=1 "...ster-error.jpg")
- [ ![hikashop-paintmaster-error-2.jpg](/forum/attachment/55000) ](/forum/attachment/55000 "...er-error-2.jpg") [ ](/forum/attachment/55000?download=1 "...er-error-2.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MDQ1NjktZGl2aXNpb24tYnktemVyby1lcnJvLXdoZW4tZWRpdGluZy1zb21lLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[remcovolbeda](/forum/user/56255-remcovolbeda "View remcovolbeda's Profile")**
- [![remcovolbeda's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/56255-remcovolbeda "View remcovolbeda's Profile") Topic Author
- [ Offline](/forum/user/56255-remcovolbeda)

Less More

- Posts: 22
- Thank you received: 2
-
-

4 years 5 months ago [\#342424](#342424) by [remcovolbeda](/forum/user/56255-remcovolbeda "View remcovolbeda's Profile")  Replied by *[remcovolbeda](/forum/user/56255-remcovolbeda "View remcovolbeda's Profile")* on topic *[Division by zero erro when editing some products](/forum/3-bug-report/904569-division-by-zero-erro-when-editing-some-products#342424 "-- 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) -- : &quot;division by zero&quot; in administrator/components/com&#95;hikashop/views/upload/tmpl/file&#95;entry.php:30 in backend when editing product  Hi,  When editing some of my Hikashop-products a &quot;division by zero&quot; error occurs. See attachment for the stack trace and the screenshot of the product edit page.  Kind regards, Peter")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MDQ1NjktZGl2aXNpb24tYnktemVyby1lcnJvLXdoZW4tZWRpdGluZy1zb21lLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

4 years 5 months ago [\#342426](#342426) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Division by zero erro when editing some products](/forum/3-bug-report/904569-division-by-zero-erro-when-editing-some-products#342426 "-- 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) -- : &quot;division by zero&quot; in administrator/components/com&#95;hikashop/views/upload/tmpl/file&#95;entry.php:30 in backend when editing product  Hi,  When editing some of my Hikashop-products a &quot;division by zero&quot; error occurs. See attachment for the stack trace and the screenshot of the product edit page.  Kind regards, Peter")*

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](/forum/user/56255-remcovolbeda "View remcovolbeda's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC85MDQ1NjktZGl2aXNpb24tYnktemVyby1lcnJvLXdoZW4tZWRpdGluZy1zb21lLXByb2R1Y3RzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.110 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
