View Full Version : Warning: Division by zero
February 15th, 2013, 12:30 PM
We've installed a gallery based on the latest version of PhotoPost. Blank database, clean install.
When we upload an image we get this error message:
Warning: Division by zero in /home/xxxx/public_html/gallerytest/templates/gallery/filmstrip-hor.tmpl on line 12
I can't post ULRs yet unfortunately. :(
Any ideas on what's wrong?
February 15th, 2013, 12:39 PM
What setting do you have in the admin showphoto options for the number of preview images to show? By default it should be 5
You can post a url just type out your domain name you can leave off the .com or add a space then type the suffix if its not .com
I can show you many examples of the gallery so not sure what your issue might be without more info.
February 15th, 2013, 12:48 PM
Yup, it is set at 5.
The URL is
February 15th, 2013, 12:55 PM
This is not a new install using all new code thats your issue.
Try making sure to upload everything new overwriting the whole thing except the 2 config files.
See perfect example look at your template it is old it is definately not what is in our downloaded code
Your stylesheets are also old etc
You can not use PP7 templates and stylesheets with PP8 or you will have issues. ;)
February 15th, 2013, 01:21 PM
Ok, thank you!
February 15th, 2013, 02:11 PM
No problem let me know if you need anything else.
It appears you have updated your templates so your issue reported here is fixed but your still trying to use an old stylesheet with the new photopost 8 which shows issues.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.