Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dominic Kelly 114 posts 133 karma points
    Jan 15, 2014 @ 19:28
    Dominic Kelly
    0

    Reset password not working?

    In the default install, the login page has a forgotten password link which points to the root of the site with a filename of forgotpassword.aspx.

    Firstly, I can't see where to edit this page? Is it even handled by nForum?

    Secondly, it didn't work out of the box until I changed enablePasswordReset="false" to enablePasswordReset="true" in the Web.Config - where's the documentation?

    Thirdly, the page is throwing an error even after enabling passwords:

    Object reference not set to an instance of an object.
    
    [NullReferenceException: Object reference not set to an instance of an object.]
    
    
       nForum.BusinessLogic.Models.Forum.MapForumNodeToModel(IPublishedContent forumRoot) +71
    
    
       nForum.BusinessLogic.Models.Forum..ctor(Nullable`1 overideNodeId) +140
    
    
       nForum.BusinessLogic.Helpers.MainForumSettings(Nullable`1 overideRoot) +211
    
    
       nForum.BusinessLogic.BaseForumUsercontrol.get_Settings() +76
    
    
       nForum.usercontrols.nForum.membership.ForumForgotPassword.BtnSubmitClick(Object sender, EventArgs e) +858
    
    
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154
    
    
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3803

    PLEASE HELP! 

     

  • Dominic Kelly 114 posts 133 karma points
    Jan 15, 2014 @ 19:35
    Dominic Kelly
    0

    I solved this by creating a new Document Type called Forgot Password, assigning that the Forgot Password template and creating a page under the Forum root. 

    That seems to work, but it'd be useful to have that in by default?

    I'm still facing the problem that I can't move this page (or login / register) below the Forum root as it throws an error?! 

Please Sign in or register to post replies

Write your reply to:

Draft