SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 21, 2012, 08:27:14 am

Login with username, password and session length
Members
Total Members: 10065
Latest: yaser1984
Stats
Total Posts: 28679
Total Topics: 4974
Online Today: 58
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 48
Total: 49
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: gallery conflicting with felblog?  (Read 2069 times)
Nite
Newbie
*
Offline Offline

Posts: 45



View Profile WWW
« on: July 14, 2007, 02:53:30 pm »

i attempted to post this on feline's website (http://feline-networks.com/index.php?topic=378.0)

I get this error message when viewing the gallery. Also, pictures will not show up in the sub categories that I created...

Code:
2: Division by zero
File: /home/midessa/public_html/forum/Themes/default/languages/FelBlog_inc.english.php (main sub template - eval?)
Line: 92

Ideas?
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9675


View Profile
« Reply #1 on: July 14, 2007, 04:22:44 pm »

Try running this query to tell you the exact file that happens on
Code:
REPLACE INTO smf_settings (variable,value) VALUES ('disableTemplateEval','1');
Logged
Nite
Newbie
*
Offline Offline

Posts: 45



View Profile WWW
« Reply #2 on: July 15, 2007, 10:30:42 am »

Code:
http://forum.midessa.net/index.php?action=gallery;cat=1
Apply Filter: Only show the errors with the same message
2: Division by zero
File: /home/midessa/public_html/forum/Themes/default/Gallery.template.php
Line: 92
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9675


View Profile
« Reply #3 on: July 15, 2007, 07:32:56 pm »

Hmm how many images do you have set per page?
That code refers to:
Code:
$total = ceil(GetTotalByCATID($cat) / $modSettings['gallery_set_images_per_page']);
As long as its not zero it should be ok.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]

[May 17, 2012, 12:38:16 pm]

[May 15, 2012, 09:32:27 pm]

[May 15, 2012, 01:43:15 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 0.211 seconds with 19 queries.