Close

Error -> Loading the page failed.

dida1981
11 years ago
#2280 Quote
Avatar
  • 4
I 'm using Ajax Filters for 2.8 but I'm getting 'Loading the page failed.'

The log error is:
An error occurred when trying to create a controller of type 'SevenSpikes.Nop.AjaxFilters.Controllers.Catalog7SpikesController'. Make sure that the controller has a parameterless public constructor.
dida1981
11 years ago
#2281 Quote
Avatar
  • 4
The ajax filter I am using is version 2.81
IvanStoyanov
11 years ago
#2282 Quote
Avatar
  • Moderator
  • 269
dida1981 wrote:
I 'm using Ajax Filters for 2.8 but I'm getting 'Loading the page failed.'

The log error is:
An error occurred when trying to create a controller of type 'SevenSpikes.Nop.AjaxFilters.Controllers.Catalog7SpikesController'. Make sure that the controller has a parameterless public constructor.


Hi dida1981,

Have you made any changes to the constructor of the nopCommerce Catalog controller? If you have please use property injection instead of dependency injection.

Also please open the Global.asax file, add some spaces at the end and save the file. This will restart your application.

Ivan Stoyanov
Thank you for choosing our products! Your feedback is important to us!
dida1981
11 years ago
#2313 Quote
Avatar
  • 4
Thx it's working fine now