HomeHome Product Discus... Product Discus...RazorCartRazorCartDetails page shows "No Product"Details page shows "No Product"
Previous
 
Next
New Post
2/7/2023 7:51 AM
 
Our store has been up for a couple years. Out of the blue the details for all products displays "No Product was selected to display".

This can be fixed by changing the SEOURL of the product. Changing the SEOURL doesnt work as it still says the No Products.

I have cleared DNN cache restarted the App, restarted the server all to no avail. I am hoping you have seen this before.

In the logs we are receiving:
A public action method 'Index' was not found on controller 'RazorCart.MiniCart.Controllers.CartController'.
innerStackTrace:

at System.Web.Mvc.Controller.HandleUnknownAction(String actionName)
at System.Web.Mvc.Controller.ExecuteCore()
at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
at DotNetNuke.Web.Mvc.Framework.Modules.ModuleApplication.ExecuteRequest(ModuleRequestContext context)
at DotNetNuke.Web.Mvc.MvcHostControl.ExecuteModule()


Also seeing:
InnerMessage:An error occurred when trying to create a controller of type 'RazorCart.MiniCart.Controllers.CartController'. Make sure that the controller has a parameterless public constructor.
InnerStackTrace:
at System.Web.Mvc.DefaultControllerFactory.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType)
at DotNetNuke.Web.Mvc.Framework.Modules.ModuleApplication.ExecuteRequest(ModuleRequestContext context)
at DotNetNuke.Web.Mvc.MvcHostControl.ExecuteModule()
 
New Post
2/7/2023 10:59 AM
 
My guess is that it is a DNN cache issue? We cleared cache, changed cache settings, restarted app, restarted server. Finally we made a duplicate details page. Then changed the URL of the original details page and then changed the url of the new details page to details and everything is working. I have no idea why this happened but it happened 2 years ago (we could change the SEOURL without issue then).
 
Previous
 
Next
HomeHome Product Discus... Product Discus...RazorCartRazorCartDetails page shows "No Product"Details page shows "No Product"