Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.7 Register link bad?4.7 Register link bad?
Previous
 
Next
New Post
11/12/2007 11:03 AM
 

On both an upgraded and clean install of 4.7 if you click on the "Register" link that is on the Account Login control you get a page not found error. I looked at the url it tries to go to and compared it with the url of clicking the "register" skin object link (which works) and found this:

From the skin object:

/Home/tabid/36/ctl/Register/Default.aspx?returnurl=%2fdotnetnukedev%2fHome%2ftabid%2f36%2fDefault.aspx

From the account login control

/Home/tabid/36/ctl/Register/returnurl/%20/Default.aspx

 

 

 

 
New Post
11/12/2007 11:15 AM
 

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

 
New Post
12/4/2007 1:42 PM
Accepted Answer 

Worked Like a Charm Dan!

Thank You!

 
New Post
12/8/2007 11:19 PM
 

Thanks for posting this.  I was very surprised that the registration feature had been broken and had sweat dripping from my glasses until I found it. 

Best wishes on you for the good work!


Gene W
 
New Post
12/9/2007 6:13 AM
 

please log this into the public issue tracker at support.dotnetnuke.com


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.7 Register link bad?4.7 Register link bad?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out