![]() |
Warning: Division by zero Hi, 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? Thanks! |
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. |
Yup, it is set at 5. The URL is thescrapbookstore .com.au/gallerytest/showphoto.php?photo=2&title=il-570xn-402288244-5znj&cat=2 |
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 http://www.thescrapbookstore.com.au/...strip-hor.tmpl Your stylesheets are also old etc You can not use PP7 templates and stylesheets with PP8 or you will have issues. ;) |
Ok, thank you! |
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. |
| All times are GMT -5. The time now is 11:11 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0