Close

Loading the page failed

simon.andersson
10 years ago
#8212 Quote
Avatar
  • 1
Hey,

I'm trying out the trial version of the Ajax FIlters but I can not get it to work. First of all, the filter plugin not even rendering the Price range filter option even if it is set to true in the Ajax Filter plugin and even if the price range is set for the category. However the Specification attributes is rendering but when trying to use the filter I get an error alert window telling me "Loading the page failed".

When I look in the network tab in Chrome I can see a server error in Catalog7Spikes/GetFilteredProducts with the following stack trace:

[MissingMethodException: Metoden hittades inte: Void Nop.Web.Controllers.CatalogController..ctor(Nop.Services.Catalog.ICategoryService, Nop.Services.Catalog.IManufacturerService, Nop.Services.Catalog.IProductService, Nop.Services.Vendors.IVendorService, Nop.Services.Catalog.ICategoryTemplateService, Nop.Services.Catalog.IManufacturerTemplateService, Nop.Core.IWorkContext, Nop.Core.IStoreContext, Nop.Services.Tax.ITaxService, Nop.Services.Directory.ICurrencyService, Nop.Services.Media.IPictureService, Nop.Services.Localization.ILocalizationService, Nop.Services.Catalog.IPriceCalculationService, Nop.Services.Catalog.IPriceFormatter, Nop.Core.IWebHelper, Nop.Services.Catalog.ISpecificationAttributeService, Nop.Services.Catalog.IProductTagService, Nop.Services.Common.IGenericAttributeService, Nop.Services.Security.IAclService, Nop.Services.Stores.IStoreMappingService, Nop.Services.Security.IPermissionService, Nop.Services.Logging.ICustomerActivityService, Nop.Services.Events.IEventPublisher, Nop.Services.Common.ISearchTermService, Nop.Core.Domain.Media.MediaSettings, Nop.Core.Domain.Catalog.CatalogSettings, Nop.Core.Domain.Vendors.VendorSettings, Nop.Core.Domain.Blogs.BlogSettings, Nop.Core.Domain.Forums.ForumSettings, Nop.Core.Caching.ICacheManager).]
   SevenSpikes.Nop.Plugins.AjaxFilters.Controllers.Catalog7SpikesController.ShWLFPjtdWB7h5GYp86(Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object ) +0
   SevenSpikes.Nop.Plugins.AjaxFilters.Controllers.Catalog7SpikesController..ctor(ICategoryService categoryService, IVendorService vendorService, ISearchTermService searchTermService, IManufacturerService manufacturerService, IProductService productService, IProductTemplateService productTemplateService, ICategoryTemplateService categoryTemplateService, IManufacturerTemplateService manufacturerTemplateService, IProductAttributeService productAttributeService, IProductAttributeParser productAttributeParser, IWorkContext workContext, IStoreContext storeContext, ITaxService taxService, ICurrencyService currencyService, IPictureService pictureService, ILocalizationService localizationService, IPriceCalculationService priceCalculationService, IPriceFormatter priceFormatter, IShippingService shippingService, IWebHelper webHelper, ISpecificationAttributeService specificationAttributeService, IDateTimeHelper dateTimeHelper, IShoppingCartService shoppingCartService, IRecentlyViewedProductsService recentlyViewedProductsService, ICompareProductsService compareProductsService, IWorkflowMessageService workflowMessageService, IProductTagService productTagService, IOrderReportService orderReportService, IGenericAttributeService genericAttributeService, IBackInStockSubscriptionService backInStockSubscriptionService, IAclService aclService, IStoreMappingService storeMappingService, IPermissionService permissionService, IDownloadService downloadService, ICustomerActivityService customerActivityService, IEventPublisher eventPublisher, CommonSettings commonSettings, MediaSettings mediaSettings, CatalogSettings catalogSettings, ShoppingCartSettings shoppingCartSettings, LocalizationSettings localizationSettings, CustomerSettings customerSettings, VendorSettings vendorSetti
hristian.dimov
10 years ago
#8224 Quote
Avatar
  • Moderator
  • 386
simon.andersson wrote:
Hey,

I'm trying out the trial version of the Ajax FIlters but I can not get it to work. First of all, the filter plugin not even rendering the Price range filter option even if it is set to true in the Ajax Filter plugin and even if the price range is set for the category. However the Specification attributes is rendering but when trying to use the filter I get an error alert window telling me "Loading the page failed".

When I look in the network tab in Chrome I can see a server error in Catalog7Spikes/GetFilteredProducts with the following stack trace:


Hi Simon,

You have probably modified the constructor of the Catalog controller. Please use properties ( property injection ) instead of parameters in the constructor of the Catalog controller as described in this post.
Regards,
Hristian Dimov
Nop-Templates.com