Error + Incorrect Font Size

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

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

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 ;)

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:

Error + Incorrect Font Size

Post by Stoker »

Remember to put on your glasses when you get up in the morning :D ;)

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.

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;

Error + Incorrect Font Size

Post by Stoker »

Yes, and when we have a debug error the font size is also changed.