HomeHomeUsing DotNetNuk...Using DotNetNuk...Administration ...Administration ...Login Module register link doesnLogin Module register link doesn't work
Previous
 
Next
New Post
11/16/2007 9:12 AM
 

I upgraded to the latest version, 4.7.0 from 4.4 I think.  The upgrade went well from what I could tell.  Ever since the upgrade the Account Login Module register link sends the user to a 404 error page, see below...

Is there a way to fix this??  Since the Account login Module is part of the core, I'm assuming this to be a core problem or a field in the DB wasn't changed during the upgrade.  I have noticed that the Register link on the main page (not in the module) works just fine, so removing the module and making users use the link on the page is fine, but I just wanted to figure out what the deal was with the module.  When I add a new Account Login Module, the same thing happens.  I also noticed that the links for Register are different between the Module and the page link.  If you want to check it out, go to www.movies4friends.com and see for yourself.

 

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /Home/tabid/36/ctl/Register/returnurl/ /Default.aspx

Server Error in '/' Application.

The resource cannot be found.

 

 
New Post
11/17/2007 7:55 PM
 

I am experiencing the exact same issue you describe. I think it's something in the configuration, somewhere, though I'm too new at this to really understand where to even start looking. My install is not an upgrade, I started with 4.7.0.

The Requested URL, if you'll look at it closely, has a blank space before the /Default.aspx and this is what is causing the error. If you go to the address bar and manually delete out the blank space and one of the two slashes, that link will get you to the register page.

The question becomes, why is it incorrectly writing the url and what can be done about it?

 
New Post
11/17/2007 9:42 PM
 

I have the same problem, any one can help please?

 


Bilal Al-Ghazi
 
New Post
11/20/2007 11:19 AM
 

I have the same issue as well after upgrading.  I don't like to remove the account login module since my users are use to using it and it will mess up my page layout!  Any fixes out there?

 
New Post
11/20/2007 12:43 PM
 

Paul Crecelius wrote

I upgraded to the latest version, 4.7.0 from 4.4 I think.  The upgrade went well from what I could tell.  Ever since the upgrade the Account Login Module register link sends the user to a 404 error page, see below...

Is there a way to fix this??  Since the Account login Module is part of the core, I'm assuming this to be a core problem or a field in the DB wasn't changed during the upgrade.  I have noticed that the Register link on the main page (not in the module) works just fine, so removing the module and making users use the link on the page is fine, but I just wanted to figure out what the deal was with the module.  When I add a new Account Login Module, the same thing happens.  I also noticed that the links for Register are different between the Module and the page link.  If you want to check it out, go to www.movies4friends.com and see for yourself.

 

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /Home/tabid/36/ctl/Register/returnurl/ /Default.aspx

Server Error in '/' Application.

The resource cannot be found.

 

Ok Guys here's the fix:

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/107/threadid/183332/scope/posts/Default.aspx

 

Ok, by comparing the User skin object and the account login module I've come up with a fix. Not sure how to post bugs to Gemin ior whatever it is, but if anyone wants to fix theirs open up Admin\Authentication\Login.ascx.vb and alter the cmdRegister event. I left the original code in there commented out for comparison.

 

        Private Sub cmdRegister_Click(ByVal sender As Object, ByVal e As EventArgs) Handles cmdRegister.Click

            'If PortalSettings.UserRegistration <> PortalRegistrationType.NoRegistration Then
            '    If PortalSettings.UserTabId <> -1 Then
            '        ' user defined tab
            '        Response.Redirect(NavigateURL(PortalSettings.UserTabId, "", "returnurl=" & HttpUtility.UrlEncode(HttpContext.Current.Request.QueryString("returnurl"))), True)
            '    Else
            '        ' portal tab
            '        If PortalSettings.HomeTabId <> -1 Then
            '            Response.Redirect(NavigateURL(PortalSettings.HomeTabId, "Register", "returnurl=" & HttpUtility.UrlEncode(HttpContext.Current.Request.QueryString("returnurl"))), True)
            '        Else
            '            Response.Redirect(NavigateURL("Register", "returnurl=" & HttpUtility.UrlEncode(HttpContext.Current.Request.QueryString("returnurl"))), True)
            '        End If
            '    End If
            'End If
           
        If PortalSettings.UserRegistration <> PortalRegistrationType.NoRegistration Then
             Dim ReturnUrl As String = HttpContext.Current.Request.RawUrl
        If ReturnUrl.IndexOf("?returnurl=") <> -1 Then
            ReturnUrl = ReturnUrl.Substring(0, ReturnUrl.IndexOf("?returnurl="))
        End If
        ReturnUrl = HttpUtility.UrlEncode(ReturnUrl)

        If PortalSettings.UserTabId <> -1 Then
            ' user defined tab
            Response.Redirect(NavigateURL(PortalSettings.UserTabId, "", "returnurl=" & ReturnUrl), True)
        Else
            ' portal tab
            If PortalSettings.HomeTabId <> -1 Then
                Response.Redirect(NavigateURL(PortalSettings.HomeTabId, "Register", "returnurl=" & ReturnUrl), True)
            Else
                Response.Redirect(NavigateURL("Register", "returnurl=" & ReturnUrl), True)
            End If
        End If
         End If

        End Sub

 
Previous
 
Next
HomeHomeUsing DotNetNuk...Using DotNetNuk...Administration ...Administration ...Login Module register link doesnLogin Module register link doesn't work


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.