Guest
16 Jul 2012 05:48

I have cleaned all thumbnails. But instead of generating new ones, the following error shows up and the pictures are not displayed.

Warning: Division by zero in /www/htdocs/w00f6992/libraries/mint/resizeimage.php on line 483

Any idea on this? Error is on productive site, my boss is not amused :S

Last Modified: 02 Mar 2014


Sackgesicht VIP
Total posts: 1,636
16 Jul 2012 06:15

How did you clean the thumbnails? Did you use the clean tool under TOOLS ?

Just check first if you can find a folder thumbs_cache under your "uploads" directory.

If yes, make a backup of it and run the "Clean thumbnails" again.

Check if the folder was deleted now. If not, then remove it. (You still have a backup of this folder).

Now open the page with thumbnails and see if they will be recreated.

It should now recreate the thumbs_cache folder.

If everything is ok, you can delete the backup folder.


Guest
16 Jul 2012 06:22

I cleaned the thumbnails with the integrated tool. The thumbs_chache folder is empty. If I "clean thumbnails again" nothing changes. When I remove the folder, the error is still there. Seems like no new thumbnails are created...


Sackgesicht VIP
Total posts: 1,636
16 Jul 2012 06:33

What field type? Gallery field? What version are you using?

Maybe a permission problem?

Can you try to give full permission to the "thumbs_cache" folder.


Guest
16 Jul 2012 06:56

Gallery field, current version (Cobalt also). Permissions are set so 777.


Sackgesicht VIP
Total posts: 1,636
16 Jul 2012 07:11

Hmmm ...

i tried it with gallery 1.6 / 1.7 and Cobalt 7.8684 under

3 different OS -->

local XAMPP installation/Win7,

Centos 6.2 and

MacOSX 10.7.4

Uploaded File format only jpg

it works everywhere. After deleting the thumbnails with the tool, they are regenerated

Here my settings:


Sackgesicht VIP
Total posts: 1,636
16 Jul 2012 07:13


Sergey
Total posts: 13,748
16 Jul 2012 07:27

Please in the private comment give me access to backend and FTP if possible. I'll see what is going on.

I am very sorry for being late. I have been on the the move from one city to another. Now I am settled and will process your error fix immediately.


Guest
16 Jul 2012 08:54

Thank you for your help.

User is: Support

Password is: WUC0Xoyk

Domain: www.ritter-gerstner.net

FTP: Domain is host

User is: f006acb0

PW: WUC0Xoyk

Thank you in advance. Tell when I can delete the accounts.


Sergey
Total posts: 13,748
16 Jul 2012 20:57

I am on your site. But there are so many things.

Can you give me the link to the article which contain pictures and which does not regenerate thumbnails.


Guest
17 Jul 2012 03:26

Some of these:

http://www.ritter-gerstner.net/das-praxisteam

Pictures uploaded after cleaning thumbnails work fine, but the ones uploaded before don't get regenerated.


Guest
17 Jul 2012 10:43

I did not run any other tools. Backup was not necessary (but I have one), because the images weren't that important. With the account above you have access to the back-end, if that is what PMA means.

But don't spend your time with testing on this issue. As long as it works from now on (never again will I run "Clean thumbnails" :D) that's fine. But if you're still curious about it, I will help you find where the problem is located. I'm pretty sure that I didn't delete the images "by accident".


Guest
18 Jul 2012 03:38

I will try this as soon as it is evening in Germany and report to you.

Powered by Cobalt