•  patgaunt1
  • 51.8% (Neutral)
  • YAF Forumling Topic Starter


My forum is up and running on my website and everything seemed to be working fine. Unfortunately when a user logs out of the forum I get a null exception error on the line;

<%# FormatDateTimeTopic( Convert.ToDateTime( DataBinder.Eval( Container.DataItem, "LastPosted" ) ) )%>

This error occurs both locally and on the website.

The website and the forum are two separate applications at the same level.

Any help is very much appreciated, thank you.

  •  pumm3l
  • 51.2% (Neutral)
  • YAF Forumling
by any chance did you set any forums to moderate and have not yet hit atleast 5 messages within that forum? I think I found a bug where if you don't have at least 5 messages (approved) on a moderated forum and you try to log in you get this error because the lastposted date is null on unapproved messages, I still have to do more testing to confirm this bug but the fix was to fix the record in yaf_topics.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved