can't use email registration confirmation

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/7/2010 8:35:51 PM
Gravatar
Total Posts 13

can't use email registration confirmation

I have tried to use new user registration email confirmation and got these exceptions. It has happened when new user successfully recieved an email with a link to press. So the user pressed a link and got error log on the main page. So I read the same log in the site's system log. Here it is.

---------------------------------------------------------------------

2010-02-08 05:25:36,716 ERROR mojoPortal.Web.mojoBasePage - 192.168.1.2-ru-RU - /portal/ConfirmRegistration.aspx?ticket=7c11f204-73d9-4448-adb1-f1e1fb2290b2
System.IndexOutOfRangeException: Индекс находился вне границ массива.
в mojoPortal.Data.DBSiteUser.GetUserByRegistrationGuid(Int32 siteId, Guid registerConfirmGuid)
в mojoPortal.Business.SiteUser.GetByConfirmationGuid(SiteSettings siteSettings, Guid confirmGuid)
в mojoPortal.Web.UI.Pages.ConfirmRegistration.Page_Load(Object sender, EventArgs e)
в System.Web.UI.Control.OnLoad(EventArgs e)
в mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
в System.Web.UI.Control.LoadRecursive()
в System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2010-02-08 05:25:36,963 ERROR mojoPortal.Web.Global - 192.168.1.2-ru-RU - /portal/ConfirmRegistration.aspx?ticket=7c11f204-73d9-4448-adb1-f1e1fb2290b2
System.IndexOutOfRangeException: Индекс находился вне границ массива.
в mojoPortal.Data.DBSiteUser.GetUserByRegistrationGuid(Int32 siteId, Guid registerConfirmGuid)
в mojoPortal.Business.SiteUser.GetByConfirmationGuid(SiteSettings siteSettings, Guid confirmGuid)
в mojoPortal.Web.UI.Pages.ConfirmRegistration.Page_Load(Object sender, EventArgs e)
в System.Web.UI.Control.OnLoad(EventArgs e)
в mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e)
в System.Web.UI.Control.LoadRecursive()
в System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 

2/7/2010 8:40:07 PM
Gravatar
Total Posts 13

Re: can't use email registration confirmation

It was on IIS 7 (Vista Enterprise), ASP.NET 3.5, mojoPortal 2-3-3-6.

2/8/2010 6:54:32 AM
Gravatar
Total Posts 18439

Re: can't use email registration confirmation

Hi,

What database platform?

Thanks,

Joe

2/8/2010 7:05:27 AM
Gravatar
Total Posts 13

Re: can't use email registration confirmation

PostgreSql 8.4.2.

2/8/2010 7:14:25 AM
Gravatar
Total Posts 18439

Re: can't use email registration confirmation

Ok, I see the problem, it is a bug, a parameter array is not declared correctly in the pgsql version of that method, I will upload a patched version soon, you will only need to replace the mojoPortal.Data.dll

Thanks,

Joe

2/8/2010 7:48:33 AM
Gravatar
Total Posts 13

Re: can't use email registration confirmation

It's working!

You must sign in to post in the forums. This thread is closed to new posts.