A public action method 'ProductDetails_AttributeChange' was not found on controller 'Nop.Web.Controllers.ShoppingCartController'.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 years ago
Anyone know what the below error is? I just started getting it in 3.7

It's from a search engine.

A public action method 'ProductDetails_AttributeChange' was not found on controller 'Nop.Web.Controllers.ShoppingCartController'.


System.Web.HttpException (0x80004005): A public action method 'ProductDetails_AttributeChange' was not found on controller 'Nop.Web.Controllers.ShoppingCartController'. at System.Web.Mvc.Controller.HandleUnknownAction(String actionName) at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
8 years ago
Yes, it is from search engine crawlers.

This is a POST method and when bots try to open it using GET method, 404 occurs.
8 years ago
ivanslater wrote:
Yes, it is from search engine crawlers.

This is a POST method and when bots try to open it using GET method, 404 occurs.


so just ignore the error in the logs?
8 years ago
A.M. Can you reply? I'm getting thousands of these in my logs.

thanks
8 years ago
any update on this?

Getting the same exceptions in log, almost immediately after v3.60 site went live
log says customer is built in search engine record
but find it hard to believe that search engine crawls site instantly after go live?

has this been raised as an issue of maybe fixed in v3.70?

thanks
8 years ago
rudgr wrote:
any update on this?

Getting the same exceptions in log, almost immediately after v3.60 site went live
log says customer is built in search engine record
but find it hard to believe that search engine crawls site instantly after go live?

has this been raised as an issue of maybe fixed in v3.70?

thanks


Yeah you have to modify "Views/Product/_ProductAttributes.cshtml" line 290 make it lowercase like below:

url: '@Html.Raw(Url.Action("productdetails_attributechange", "shoppingcart", new { productId = productId, validateAttributeConditions = attributesHaveConditions }))',
8 years ago
OK tx! :)
8 years ago
FYI: I added issue: https://github.com/nopSolutions/nopCommerce/issues/1167
8 years ago
ivanslater wrote:
Yes, it is from search engine crawlers.

This is a POST method and when bots try to open it using GET method, 404 occurs.

If some one does not change robot.txt then by default it does not call.
See this link.
8 years ago
Sure. URL in the robots.txt file are case-sensitive. Thanks a lot! It'll be fixed soon
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.