YAFLogo

cct
  • cct
  • 58.4% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
Noticed two issues in the current build.

First, new users seem to be getting the following error on login:

Looks like it happens when the board is set to UTC 0 timezone and the user set their timezone to -5. When I change the users timezone to be the same as the board utc 0, they can get to the forums by the last access text shows: Your last visit: Monday, January 01, 0001 12:00:00 AM.

System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime.
Parameter name: t
   at System.DateTime.op_Addition(DateTime d, TimeSpan t)
   at YAF.Classes.Core.YafDateTime.FormatDateTime(Object o) in ...\YAF\YAF-Trunk\yafsrc\YAF.Classes\YAF.Classes.Core\Services\YafDateTime.cs:line 69
   at YAF.Controls.ForumWelcome.ForumWelcome_PreRender(Object sender, EventArgs e) in ...\Forum\controls\ForumWelcome.ascx.cs:line 51
   at System.Web.UI.Control.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Second issue, the captcha image on registration doesn't appear.

Sponsor

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
13 years ago
Fixed in latest code.