Continously log: A public action method 'AddProductToCart_Catalog' 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.
7 years ago
Hi Community,

Anyone face the same issue. Any help would be appreciated..

Nop Version 3.70

Continuously log:

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

A public action method 'AddProductToCart_Catalog' was not found on controller 'Nop.Web.Controllers.ShoppingCartController'.
Full message:  System.Web.HttpException (0x80004005): A public action method 'AddProductToCart_Catalog' 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.Controller.EndExecute(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.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

IP address:  66.249.64.180
Customer:  builtin@search_engine_record.com
Page URL:  https://www.***.com/addproducttocart/catalog/18678/2/2
Created on:  8/31/2016 4:19:19 AM

Images:
[/url]
Taken with [url=http://www.openscreenshot.com" rel="nofollow,ugc">Open Screenshot


[/url]
Taken with [url=http://www.openscreenshot.com" rel="nofollow,ugc">Open Screenshot


2.  The controller for path '/en/fragrance' was not found or does not implement IController.

Here {fragrance}  replaced by other product seName

Full message:  System.Web.HttpException (0x80004005): The controller for path '/en/fragrance' was not found or does not implement IController. at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

IP address:  157.55.39.191
Customer:  builtin@search_engine_record.com
Page URL:  https://www.***.com/en/fragrance
Referrer URL:  
Created on:  8/31/2016 4:18:53 AM
7 years ago
Since it's generated by builtin@search_engine_record.com, it means it's accessed by some kind of bots. So you may just ignore it. Or, if you are worried it's hacking issue (which it can be at times), block the IP. :)
7 years ago
wooncherk wrote:
Since it's generated by builtin@search_engine_record.com, it means it's accessed by some kind of bots. So you may just ignore it. Or, if you are worried it's hacking issue (which it can be at times), block the IP. :)

Thank you very muck.

Any idea why bot hit these link ?

and for 2nd issue we stop lang prefix in url about one month ago  but sill bot try  hit ..

confusing ..
7 years ago
A quick check suggests that:

157.55.39.191 belongs to Bing. http://whatismyipaddress.com/ip/157.55.39.191
66.249.64.180 belongs to Google. http://whatismyipaddress.com/ip/66.249.64.180

So nothing to be afraid of. :)
7 years ago
wooncherk wrote:
A quick check suggests that:

157.55.39.191 belongs to Bing. http://whatismyipaddress.com/ip/157.55.39.191
66.249.64.180 belongs to Google. http://whatismyipaddress.com/ip/66.249.64.180

So nothing to be afraid of. :)


Is it possible to resolve ?
7 years ago
Just set "commonsettings.log404errors" setting "false" to ignore these errors
7 years ago
a.m. wrote:
Just set "commonsettings.log404errors" setting "false" to ignore these errors


Thank you very much!!
5 years ago
a.m. wrote:
Just set "commonsettings.log404errors" setting "false" to ignore these errors


Hi AM,

Every day I get hundreds 404 in my logs since upgraded to version 4.0
the url structure is very weird:

The controller for path '/pc/massage-facial-equipment' was not found or does not implement IController.  1/4/2019 4:57:46 PM  
  Error  The controller for path '/es/den-cho-ban-ho-tay' was not found or does not implement IController.  1/4/2019 4:55:45 PM  
  Error  The controller for path '/pc/cong-ty-ht' was not found or does not implement IController.  1/4/2019 4:55:45 PM  
  Error  The controller for path '/es/manicure-table-double-nt-60' was not found or does not implement IController.  1/4/2019 4:54:33 PM  
  Error  The controller for path '/fr/productreviews/371' was not found or does not implement IController.  1/4/2019 4:52:40 PM  
  Error  The controller for path '/vn/avon-2-reception-desk' was not found or does not implement IController.  1/4/2019 4:52:31 PM  
  Error  The controller for path '/pc/glass-tower-polish-display-case-black' was not found or does not implement IController.  1/4/2019 4:50:24 PM  
  Error  The controller for path '/vn/manicure-table-lns1' was not found or does not implement IController.

As you can see, /fr, /pc, /es are other language code. but these language are not enabled on my site.

I do not mind about those logs in the system, but Google crawled all those urls and notified me increase number of 404s in webmaster console. Will set "commonsettings.log404errors" setting "false" prevent Google to crawl those urls?
5 years ago
RE: "Will set "commonsettings.log404errors" setting "false" prevent Google to crawl those urls?"

No it does not affect Google's crawls.  It just prevents logging the error.


Did you have those languages enables in your old site?  (if not, then why should Google be crawling them?)

Try submit your sitemap to Google:
1. Select your site on your Google Search Console home page.
2. Click Sitemaps from the menu on the left.
3. In the text field next to your domain, type sitemap.xml (yoursite.com/sitemap.xml)
4. Click Submit.
5 years ago
New York wrote:
RE: "Will set "commonsettings.log404errors" setting "false" prevent Google to crawl those urls?"

No it does not affect Google's crawls.  It just prevents logging the error.


Did you have those languages enables in your old site?  (if not, then why should Google be crawling them?)

Try submit your sitemap to Google:
1. Select your site on your Google Search Console home page.
2. Click Sitemaps from the menu on the left.
3. In the text field next to your domain, type sitemap.xml (yoursite.com/sitemap.xml)
4. Click Submit.


Thank you for your reply. I never had those languages enabled. This only started to happen since I upgraded to version 4.0.
I will try your suggestions.
Thanks
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.