View Full Version : Division by zero error
March 20th, 2008, 05:54 AM
Just noticed that I'm getting this error on every page except "Home"
Warning: Division by zero in /home/****/domains/*****.com/public_html/photopost/pp-inc.php on line 1938
March 20th, 2008, 07:49 AM
Well your version does not appear to be up to date so I am not sure what line 1938 is but judging by the area I would think possibly in showgallery options you have this setting blank instead of setting it to something.
Number of columns for thumbnail pages?
So look in your admin settings and looking for a blank setting incase my guess is not right on the exact setting. Divide by 0 is always an indication of an incorrect interger setting.
March 20th, 2008, 01:36 PM
I'm at work now and it is working normally. I'm using I.E. here and firefox at home. Maybe it was just a hiccup. I'll check when I get home later.
BTW, 5 columns for thumbnails. I think I'm running version 6.02.
Thanks for your help.
March 20th, 2008, 02:16 PM
Not a problem yeah division by zero almost always suggests a blank setting ;)
$pages = ($rowcnt/$pageper);
March 20th, 2008, 10:07 PM
The error is still there with Firefox 188.8.131.52, but not with I.E.?
March 20th, 2008, 10:23 PM
Your free to post links here so we can see where and if there is something else to suggest but as stated one of your admin settings would have to be blank or set to 0 incorrectly.
March 26th, 2008, 11:01 AM
Well, either is was a cache thing or Chuck waved his magic PhotoPost wand, and the problem went away. My money's on the latter. :D
March 26th, 2008, 12:07 PM
I dont know about any magic want I would suspect you had a blank setting and corrected it yourself.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.