Page 1 of 1

Error + Incorrect Font Size

Posted: 21 Dec 2011, 00:30
by Flamingdevastation
http://forum.havocrising.co.cc/portal.php
Can you tell me what this error means and why I can't seem to find how to fix the error? Thanks a lot to whoever helps.
- FD

Error + Incorrect Font Size

Posted: 21 Dec 2011, 08:37
by Stoker
Im not sure what error you are NOT talking about???
Incorrect font-size??
Well, since I am not able to read your mind I am not able to help you ;)

Error + Incorrect Font Size

Posted: 21 Dec 2011, 12:17
by Flamingdevastation
Stoker wrote:Im not sure what error you are NOT talking about???
Incorrect font-size??
Well, since I am not able to read your mind I am not able to help you ;)
How come whenever you post stuff like this, the next time I check it it's fine? :lol: :oops:

Error + Incorrect Font Size

Posted: 21 Dec 2011, 12:37
by Stoker
Remember to put on your glasses when you get up in the morning :D ;)

Error + Incorrect Font Size

Posted: 21 Dec 2011, 22:31
by Flamingdevastation
Ahh... It wasn't working again and I found out why! It was because there are no posts. Maybe I'm not thattttt ignorant then. It was saying error on line 44, most likely because that was the line that had the Top Posts stat.

Error + Incorrect Font Size

Posted: 21 Dec 2011, 22:53
by doktornotor
Well, this line in portal.php will obviously produce division by zero error when you have no topics.

Code: Select all

$posts_per_topic = $total_posts / $total_topics;

Error + Incorrect Font Size

Posted: 21 Dec 2011, 23:19
by Stoker
Yes, and when we have a debug error the font size is also changed.