Hi,
Using Smith Cart 5.0 with Dnn 6.2.0 ; payment gateway : Paypal standard
Description:
After having paid trough the Paypal website, if the user closes the page BEFORE returning to the store website, then goes to the store 'manually' (ie by entering the root site URL) and clicks on the MyAccount page, an error occurs (A critical error has occured. An unexpected error has occured).
In the dnn event viewer:
AssemblyVersion: 6.2.0
PortalID: 0
PortalName: *****
UserID: 2
UserName: test
ActiveTabID: 85
ActiveTabName: My Account
RawURL: /en-us/myaccount.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://*****
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.47 Safari/536.11
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: d5670a07-9633-4c5b-8044-979290713aeb
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.MyAccount.MyAccountManageOrders.Page_Load
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Smith.DNN.Modules.MyAccount.MyAccountManageOrders.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: *****
If the user clicks again on the MyAccount page, then it loads succesfully.
Can you please fix this ?
Thanks.