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.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
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)
It was on IIS 7 (Vista Enterprise), ASP.NET 3.5, mojoPortal 2-3-3-6.
Hi,
What database platform?
Thanks,
Joe
PostgreSql 8.4.2.
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
It's working!