HomeHome Product Discus... Product Discus...SmithCartSmithCartError on Add to CartError on Add to Cart
Previous
 
Next
New Post
11/20/2010 9:16 AM
 

Hi,

I'm using latest Smith's and getting the following error in my event viewer when I got to add something to the cart using the add to car button. Nothing happens when I click the button but it does appear to add the item to cart. The problem is that you can't tell it's been added because nothing changes when you click the button. Here is the error:

AssemblyVersion: 5.6.0
PortalID: 0
PortalName: neighbay.ca
UserID: 9
UserName: paintlover
ActiveTabID: 194
ActiveTabName: Shopping Details
RawURL: /NeighbayAdmin/ShoppingDetails/tabid/194/ProductID/1/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.neighbay.ca/NeighbayAdmin/ShoppingDetails/tabid/194/ProductID/1/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 9b469486-c624-491b-b3df-70bf687b838f
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.MyCart.SaveToCartTable
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.BuyNow.MyCart.SaveToCartTable(DataTable myProductList) at Smith.DNN.Modules.ProductDetail.ProductDetails.AddToCart(Int32 ProductID, Decimal Quantity, Decimal price, Boolean isRequired, Int32 bundleID, Boolean inBundle, Decimal myWeight, Int32 catID) at Smith.DNN.Modules.ProductDetail.ProductDetails.ibAddtoCart_Click(Object sender, ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
11/20/2010 6:35 PM
 

What version of the cart are you running?


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/21/2010 12:25 PM
 

I'm running 3.91

 
New Post
11/21/2010 1:56 PM
 

If you click the change log button in the left panel on this page there was a save cart bug fix in v3.92. To fix the save cart issue you will need to upgrade to v3.92


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartError on Add to CartError on Add to Cart