1

Topic: HELP!!!

I try to post something on my forum for my website, but every time i do, it deletes it and says:
Warning: Division by zero in /www/8tt.org/l/i/f/lifegroup/htdocs/forum/search.php on line 467
or some other number. What does this mean and what do i have to do to fix it?

Re: HELP!!!

Enable the debug mode and paste the full error.
Also, what changes have made to the code?

Re: HELP!!!

Strofanto: That's a PHP error, PunBB has nothing to do with that wink
And line 467 is this line

$per_page = ($show_as == 'posts') ? $pun_user['disp_posts'] : $pun_user['disp_topics'];

I've seen people manage to set those values to 0, which they shouldn't do. I'm not sure how search.php relates to posting though.

Re: HELP!!!

Man, you're priceless big_smile