gmoore Posted January 13, 2013 Posted January 13, 2013 If you remove all the posts, there is an error in the user Forums display. Error: Undefined offset: 0 Error in "002/www/modules/forums/content.php" Line 350 It doesn't get this error by default because there are forum posts in the default installation. (I have to run now, if someone doesn't send a fix I will post what I come up with tonight) Greg Quote
Someone Posted January 13, 2013 Posted January 13, 2013 350-357 if(!$r2->EOF){ echo "<td><a href='index.php?p=forums&t={$result->fields[4]}'>" . htmlentities($r2->fields[0]) . "</a></td>"; if (in_array("view_player", $modules)) echo "<td><a href='index.php?p=view_player&id={$r2->fields[2]}'>{$r2->fields[1]}</a></td>"; else echo "<td>{$r2->fields[1]}</td>"; echo "<td>" . FormatDate($r2->fields[3]) . "</a></td>"; } Added at 350 if(!$r2->EOF){ and } at 357 Quote
a_bertrand Posted January 13, 2013 Posted January 13, 2013 Thanks will fix that tomorrow in the official package. Quote
Someone Posted January 13, 2013 Posted January 13, 2013 This error would not happened if you had adjusted last_post (set to null) in forum_sections though :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.