HomeHome Product Discus... Product Discus...SmithCartSmithCartVersion 5.6.8 ErrorVersion 5.6.8 Error
Previous
 
Next
New Post
11/8/2013 3:19 AM
 
Hi All,
I have just upgraded my Smith Cart instance from 5.5.7 to 5.6.8 and on the buy now pages i get
A critical error has occurred. Object reference not set to an instance of an object.
The store is running DNN 7.0.4.

Has anyone else had a problem.

I can get into Store Settings and find Payment, Shipping & Handling & Tax tabs are not there.

Any ideas?
 
New Post
11/8/2013 8:19 AM
 
I just tried to update from version 5.50 to 5.68 and it also failed.

I'm getting the following error:
Error: Smith.ProductDetail is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: d:\inetpub\wwwroot\Lasermax_DNN\DesktopModules\Smith.ProductDetail\ProductMain.ascx(649): error CS1061: 'ASP.desktopmodules_smith_productdetail_productmain_ascx' does not contain a definition for 'ibLogin_Click' and no extension method 'ibLogin_Click' accepting a first argument of type 'ASP.desktopmodules_smith_productdetail_productmain_ascx' could be found (are you missing a using directive or an assembly reference?) ---> System.Web.HttpCompileException: d:\inetpub\wwwroot\Lasermax_DNN\DesktopModules\Smith.ProductDetail\ProductMain.ascx(649): error CS1061: 'ASP.desktopmodules_smith_productdetail_productmain_ascx' does not contain a definition for 'ibLogin_Click' and no extension method 'ibLogin_Click' accepting a first argument of type 'ASP.desktopmodules_smith_productdetail_productmain_ascx' could be found (are you missing a using directive or an assembly reference?) at System.Web.Compilation.BuildManager.PostProcessFoundBuildResult(BuildResult result, Boolean keyFromVPP, VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at Smith.DNN.Modules.ProductDetail.ProductDetails.e() at Smith.DNN.Modules.ProductDetail.ProductDetails.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

I deleted the templates and recreated them using the admin tools and got the same error.  I also completely stopped the site and Application Pool which also had no effect on the error.
 
New Post
11/8/2013 10:53 AM
 
Robert Jesshope wrote:
Hi All,
I have just upgraded my Smith Cart instance from 5.5.7 to 5.6.8 and on the buy now pages i get
A critical error has occurred. Object reference not set to an instance of an object.
The store is running DNN 7.0.4.

Has anyone else had a problem.

I can get into Store Settings and find Payment, Shipping & Handling & Tax tabs are not there.

Any ideas?

 
Payment, Shipping & Handling, and Tax Settings have been moved into the Store Admin add added to the according sections.


To fix the error after the upgrade you will need to make sure the Page Templates have been deleted from your server before recreating them.

Take the following steps to resolve this issue:

1. From the store admin menu, click on the page template button to go into the page template editor and delete all your page templates.

2. In file explorer, navigate to your \portals\[portalid]\smithcart\tenplates folder

3. Delete all the files in the \portals\[portalid]\smithcart\templates folder

4. Reset iis and restart the application from the dnn host menu

5. Check for the error.

Hope this helps!
 
New Post
11/11/2013 5:48 AM
 
For those of us who haven't upgraded yet, how do we *avoid* this error? Do we need to delete our page templates before upgrading? Do we have to re-code our page templates for this new version? Is this a bug for this version only or do we have to do this even if we skip 5.68 and go to the next version?

Tom
 
New Post
11/11/2013 5:03 PM
 
Hi Tom,

Which version of the Cart will you be upgrading to 5.68 from? I recommend first testing the upgrade in a test environment before upgrading your live site and make sure you have a full backup before installing on your live site in case you need to rollback.

Thanks!
 
New Post
11/12/2013 6:58 AM
 
I'm currently at 5.65. 

Tom
 
New Post
11/12/2013 4:28 PM
 
Hi Tom,

I recommend first testing the upgrade in a test environment before upgrading your live site and make sure you have a full backup before installing on your live site in case you need to rollback.

Our techs are also available to perform the upgrade of your store. To move forward, please purchase the Module Upgrade Service from the following link - https://www.smith-consulting.com/pd/P...

Hope this helps!
 
New Post
11/12/2013 5:00 PM
 
Kevin Carlson wrote:
Hi Tom,

I recommend first testing the upgrade in a test environment before upgrading your live site and make sure you have a full backup before installing on your live site in case you need to rollback.

Our techs are also available to perform the upgrade of your store. To move forward, please purchase the Module Upgrade Service from the following link - https://www.smith-consulting.com/pd/P...

Hope this helps!

Wait, what?!? You haven't answered my question. What is *supposed* to happen? Are customizations *supposed* to carry forward from version to version? Is this a bug? Are you saying that it requires a paid service to upgrade my site from one version to the next if I have customized page templates? 

Tom

 
New Post
11/12/2013 5:30 PM
 
Hi Tom,

The Cart's Page Template files are saved in your Portals\{PortalID}\SmithCart\Templates folder. When upgrading, these Template files are not touched or changed in any way.

Since we don't know exactly what customizations you have made to your existing templates I can't speculate if your existing templates will work after the upgrade. This is why it is recommend that you first test the upgrade in a test environment.

If you need our assistance with the upgrade we are available.

Thanks
 
New Post
11/17/2013 11:23 PM
 
Hi Kevin,

After reading a number of other posts I saw your advise to re download the current version and repair.

It worked which I was very pleased with.

Regards

Robert
 
New Post
11/18/2013 10:17 AM
 
Hi Robert,

Thank you for posting back with an update and glad to hear the repair install resolved the issue for you!

Thanks!
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartVersion 5.6.8 ErrorVersion 5.6.8 Error