HomeHome Product Discus... Product Discus...SmithCartSmithCartError When viewing the Product Detail Page...Error When viewing the Product Detail Page...
Previous
 
Next
New Post
1/12/2011 8:37 AM
 

I have two sites setup with Smith Cart - both setup from what I can tell identical... both are also on the same DNN 5.6 Instance:

This one works: http://tynursing.cboss-staged.com/Sto...

Clicking on any product will properly show the prodcut detail.

If you go here: http://tymuseum.cboss-staged.com/Gift...

and click on any product you will see that it will take you to the detail page and throw an error:

Error A critical error has occurred.
Object reference not set to an instance of an object.

AssemblyVersion: 5.6.0
PortalID: 4
PortalName: Ty Cobb - Museum
UserID: 1
ActiveTabID: 474
ActiveTabName: Product Details
RawURL: /GiftStore/ProductDetails/tabid/474/ProductID/14/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://tymuseum.cboss-staged.com/GiftStore.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET4.0C; .NET4.0E; BO1IE8_v1;ENUS)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 206a2027-4cfd-4577-8587-4735288ea01b
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.CategoryMenu.CategoryMenu.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.CategoryMenu.CategoryMenu.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 ---

Any thoughts here?

Also if I upgrade to Smith Cart 3.9.8 will I loose my products. Once time I performed an update and all my products went away. Is there an export function?

Thanks for any help.

 
New Post
1/12/2011 8:40 AM
 

Responding to the export function:

You could just export the data out of your SQL database and then you could reimport if you choose reinstall. Upgrading will not remove your products though.

 
New Post
1/12/2011 8:45 AM
 

what has changed in 3.9.8 and what tables would I export out of the SQL database for backup purposes? Thanks for the quick reply.

 
New Post
1/12/2011 8:50 AM
 

The change log can be viewed here: http://www.smith-consulting.com/products/dotnetnukemodules/shoppingcartmodule/smithcartchangelog.aspx

As far as the table, In SQL management studio, you would naviagate to your database, and from there goto Tables -> dbo.smith_products

That table lists your product information such as sku#'s, ModelName, Manufacturer, ProductID, etc. Just export that table and after you upgrade you can reimport if you'd like (like I said though I don't think upgrading deletes products, but you should do a backup just to be safe)

 
New Post
1/12/2011 9:01 AM
 
wired137 wrote:

The change log can be viewed here: http://www.smith-consulting.com/products/dotnetnukemodules/shoppingcartmodule/smithcartchangelog.aspx

As far as the table, In SQL management studio, you would naviagate to your database, and from there goto Tables -> dbo.smith_products

That table lists your product information such as sku#'s, ModelName, Manufacturer, ProductID, etc. Just export that table and after you upgrade you can reimport if you'd like (like I said though I don't think upgrading deletes products, but you should do a backup just to be safe)

thanks for the heads up - I may just wait for the 3.9.9 release... back onto my error. Anyone have any thoughts?

 
New Post
1/12/2011 9:11 AM
 

I upgraded to 3.9.8 and it fixed my issue... you got me. Thanks.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartError When viewing the Product Detail Page...Error When viewing the Product Detail Page...