HomeHome Product Discus... Product Discus...SmithCartSmithCartError when I call the cart from my product pageError when I call the cart from my product page
Previous
 
Next
New Post
9/12/2010 12:29 PM
 

I should be able to add an item using https://www.vbioc.com/Courses/Online/..., but when you click Checkout you get the error below.

AssemblyVersion: 5.5.0
PortalID: 11
PortalName: VBI Off-Campus
UserID: -1
UserName:
ActiveTabID: 688
ActiveTabName: DVD
RawURL: /Courses/DVD/tabid/688/ctl/step1/mid/1920/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: https://www.vbioc.com/Courses/Online/tabid/688/ctl/Cart/mid/1920/Default.aspx?ProductID=13
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.55 Safari/534.3
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ba316e44-b4c3-4016-a1f3-1c5a578cf54a
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.Step1.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.BuyNow.Step1.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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 
New Post
9/12/2010 12:38 PM
 

There were alot of new settings added since 2.97 can you go into the buynow module settings and make sure everything is filled out correct and then click save.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
9/12/2010 12:47 PM
 

I have checked them a few times. I have sent them to you via email.

Everything works fine if I go to the Product Details page before the Cart. That is the work around I am using, but it isn't pretty...

 
New Post
9/12/2010 1:00 PM
 

What version of the cart did you install? Do you products have variants? For the product that you are trying to add to cart using the querystring can you try going into the product setup screen and re saving it.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
9/12/2010 2:06 PM
 

Version 3.08

No Variants

Saving the product didn't change things.

 
New Post
9/12/2010 2:38 PM
 

Can you try creating a new product and testing the same procedure


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
9/13/2010 3:38 AM
 

Same Error with a brand new product.

 
New Post
9/13/2010 3:42 AM
 

Also, it works if I pull up the Product Details page first. Right now I have my "Add to Cart" logic going to the ProductDetails control which automatically redirects to the Cart. It works but the user sees some strange stuff on the screen and it takes longer.

It looks like maybe ProductDetails is setting a Session variable that the Checkout needs...

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartError when I call the cart from my product pageError when I call the cart from my product page