gmoore Posted January 13, 2013 Share 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 Link to comment Share on other sites More sharing options...
Someone Posted January 13, 2013 Share 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 Link to comment Share on other sites More sharing options...
a_bertrand Posted January 13, 2013 Share Posted January 13, 2013 Thanks will fix that tomorrow in the official package. Quote Link to comment Share on other sites More sharing options...
Someone Posted January 13, 2013 Share Posted January 13, 2013 This error would not happened if you had adjusted last_post (set to null) in forum_sections though :) Quote Link to comment Share on other sites More sharing options...
gmoore Posted January 13, 2013 Author Share Posted January 13, 2013 Thank you 1331 .. just got home. Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 14, 2013 Share Posted January 14, 2013 Fixed thanks for the support 1331 Quote Link to comment Share on other sites More sharing options...
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.