Hi All,
I moved my store from my old server to a new server and changed the domain from the old domain to new domain.
Things i have done:
1. Copy the entire store and pasted it in the new hosting. Same with database too - just cloned the old db to a new db on new server.
2. Settings.txt - updated this with new database connection string.
3. InstalledPlugins.txt is updated correctly.
The store loaded fine but was pointing to old database. So i logged into admin panel and restarted the application. Then the store loaded successfully pointing to new database.
4. I went to admin panel and changed old email address of the admin account (first email account created when installing the nopcommerce) to a new email account. Saved it. The stored logged me out, and I was able to login with the new updated email account as admin.
But whenever i try to navigating in admin panel, the admin panel pages load fine, but they randomly leave a log like below:
A public action method 'ClearCache' was not found on controller 'Nop.Admin.Controllers.CommonController'.
A public action method 'countrylist' was not found on controller 'Nop.Admin.Controllers.CountryController'.
A public action method 'LogList' was not found on controller 'Nop.Admin.Controllers.LogController'.
A public action method 'RestartApplication' was not found on controller 'Nop.Admin.Controllers.CommonController'.
A sample full message is as below for one of the above log messages:
Log level: Error
Full message:
System.Web.HttpException (0x80004005): A public action method 'ClearCache' was not found on controller 'Nop.Admin.Controllers.CommonController'. 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.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) at System.Web.Mvc.Controller.<BeginExecute>b__15(IAsyncResult asyncResult, Controller controller) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.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.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Page URL: http://mystore.com/admin/common/clearcache
Customer: Guest
=========================
Not sure why it says customer as guest, as it is evident that as an admin i'm performing the clearcache operation myself.
I cleared cache, restarted the application several times. It restarts successfully (it doesn't show any error as such and refreshes the admin panel) but again leaves a log like: A public action method 'RestartApplication' was not found on controller 'Nop.Admin.Controllers.CommonController'.
Can someone help me understand what is causing the problem?