HomeHome Product Discus... Product Discus...SmithCartSmithCart5.18 Beta - product list not showing any products5.18 Beta - product list not showing any products
Previous
 
Next
New Post
10/17/2012 6:53 PM
 
Using DNN 6.2.2, upgraded from SC 4.99 to 5.18 BETA.

Next issue:
My product listing has gone blank. The view cart button and pagination icons are there, but the list of products has now disappeared.

In the event viewer after viewing the Buy.Now page

EXCEPTION bindDtProductList: Object reference not set to an instance of an object.

STACK TRACE bindDtProductList: at Smith.DNN.Modules.BuyNow.ProductsList.dtProductslist_ItemDataBound(Object sender, DataListItemEventArgs e) at System.Web.UI.WebControls.DataList.OnItemDataBound(DataListItemEventArgs e) at System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.BaseDataList.DataBind() at Smith.DNN.Modules.BuyNow.ProductsList.bindDtProductList()


 
New Post
10/17/2012 7:02 PM
 
Try deleting your page templates located in the following folder:

\portals\[portalid]\smithcart\pagetemplates\*.*


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
10/17/2012 7:08 PM
 
That worked.

Just to clarify, the folder path is
/staging/Portals/[portalid]/SmithCart/Templates

Is this something I will need to do manually on my production site, or is it a bug that will be fixed in the next update?
 
New Post
10/17/2012 7:39 PM
 
I cant say for certain if you will get the same error when you upgrade your live site. Before your upgrade your live site just make sure you have a full backup in case you need to rollback or merge your templates if you have customized them.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
10/17/2012 7:44 PM
Accepted Answer 
It depends if you have customized your page templates on your live site. If you have customized your page templates and page templates exists in your \portals\[portalid]\smithcart\pagetemplates\*.* folder then most likely you will have to delete the templates and then merge any changes you have made back into your templates the new templates. Windif is a good tool to merge your changes back in.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCart5.18 Beta - product list not showing any products5.18 Beta - product list not showing any products