Error + Incorrect Font Size

Download and support for PhpBB3 Simple Portal
Locked
Flamingdevastation
BBCoder III
BBCoder III
Posts: 76
Joined: 28 Nov 2011, 21:27
BBCodes: 23

Error + Incorrect Font Size

Post 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
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Error + Incorrect Font Size

Post 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 ;)
Board rules! No PM support
Flamingdevastation
BBCoder III
BBCoder III
Posts: 76
Joined: 28 Nov 2011, 21:27
BBCodes: 23

Error + Incorrect Font Size

Post 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:
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Error + Incorrect Font Size

Post by Stoker »

Remember to put on your glasses when you get up in the morning :D ;)
Board rules! No PM support
Flamingdevastation
BBCoder III
BBCoder III
Posts: 76
Joined: 28 Nov 2011, 21:27
BBCodes: 23

Error + Incorrect Font Size

Post 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.
User avatar
doktornotor
BBCoder IV
BBCoder IV
Posts: 167
Joined: 14 Sep 2011, 23:20
BBCodes: 30
Favourite MOD: Thanks for Posts
Contact:

Error + Incorrect Font Size

Post 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;
Support requests via PM go straight to /dev/null!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Error + Incorrect Font Size

Post by Stoker »

Yes, and when we have a debug error the font size is also changed.
Board rules! No PM support
Locked