HomeHome Product Discus... Product Discus...SmithCartSmithCartBug in Smith MyAccount moduleBug in Smith MyAccount module
Previous
 
Next
New Post
9/7/2011 9:02 AM
 

Hi,

 

Steps to reproduce the bug:

Make a purchase using the PayPal standard payment gateway

Once paid on PayPal webSite, DO NOT CLICK [EDIT: the problem occurs when clicking the Return button too] on 'Return to store' button, but just enter the Store site URL manually in the browser address field

The store homepage is displayed

Click on MyAccount page (as we are still logged-in with the purchaser account) to see that the last order has effectively paid.

The error 'A critical error has occurred. An unexpected error has occurred' is displayed.

 

On the event log side:

AssemblyVersion: 6.0.1

PortalID: 0

PortalName: Dnn6Express2

UserID: 3

UserName: test1

ActiveTabID: 79

ActiveTabName: Smith MyAccount

RawURL: /SmithMyAccount.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://localhost:8000/

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 8e176056-ba3f-4bad-b77e-eb77aa97a4fa

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 ---

 

Smith Shopping Cart version : 4.52.0 on DNN 6.0.1

 
New Post
9/7/2011 6:54 PM
 
Hi Rico,

I have been unable to replicate this issue when following the same steps you outlined above. Do you select an order in the My Account module to produce this error? Does the order show as "True" in the Manage Orders section of the Admin Menu? Also do you have the BuyNow page name set in the MyAccount settings?

Thanks,
 
New Post
9/9/2011 4:37 AM
 

Hi Kevin,

 

It seems that the problem has disappeared, the order confirmation page is displayed once we return to the Store site.

But when the error occured, I had not selected any order (I just clicked to 'Return to store'). As I cannot reproduce the error anymore, I cannot tell youthe status in the admin orders. And I confirm that all pages are well configured in all module settings.

 
New Post
9/9/2011 2:02 PM
 
Hi Rico,

Sounds like it may have been a configuration setup error, or possibly a missed field not set, but you seem to have resolved the issue. Without being able to replicate the error and nothing logged in the Event Viewer I cannot troubleshoot further.

Thanks,
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartBug in Smith MyAccount moduleBug in Smith MyAccount module