Close

Nop Ajax Filters Error

anuva
11 years ago
#955 Quote
Avatar
  • 3
I just installed nop Ajax Filter2.6. It shows following error:

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.  
Full message:  System.InvalidOperationException: 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. ---> System.MissingMethodException: No parameterless constructor defined for this object. at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at System.Web.Mvc.DefaultControllerFactory.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) --- End of inner exception stack trace --- at System.Web.Mvc.DefaultControllerFactory.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) 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.<>c__DisplayClass6.<BeginProcessRequest>b__2() at System.Web.Mvc.SecurityUtil.<>c__DisplayClassb`1.<ProcessInApplicationTrust>b__a() at System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f) at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action) at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust[TResult](Func`1 func) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state) at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  

Also in Mozilla Alignment is not coming properly.

Can anybody suggest me how can i resolve the problem....
Support
11 years ago
#956 Quote
Avatar
  • Moderator
  • 1044
anuva wrote:
I just installed nop Ajax Filter2.6. It shows following error:

Also in Mozilla Alignment is not coming properly.

Can anybody suggest me how can i resolve the problem....


Hi anuva,

How are you integrating the Filters?
Also could you send us a link to see the alignment in Mozilla?
Actually how did you see it in Mozilla if it is not working or you have probably seen something wrong in the Demo?

Best Regards,
Nop-Tempaltes Support Team
anuva
11 years ago
#958 Quote
Avatar
  • 3
Hi,
I have created new Left pane named "_ColumnsFilterThree.cshtml". there i have added
following code as per documentation i have got from Nop Ajax Filters:

if(IsSectionDefined("nopAjaxFilters"))
{
@RenderSection("nopAjaxFilters")
}

And inside the CategoryTemplate.ProductsInGridOrLines.cshtml gave the following code above the main div:

@section nopAjaxFilters
{
        @Html.Action("GetFilters", "NopAjaxFilters")
}

Also i have unchecked "the Enable Automatic Integration" option in the Nop Ajax Filters Settings.

now tell me what i need to do..
anuva
11 years ago
#959 Quote
Avatar
  • 3
Hi,

I have added Ajax Filter Plugins2.6 inside the Nop-commerce2.6.There filter alignment is not working in Mozilla14.0.1 version. I am sending u the link:

http://file:///C:/Users/shanawas.babu/Desktop/FilterPage_display%20error_in_Mozilla.htm

It is not gone to production yet.It is under devlopment.

Regards,



Support
11 years ago
#960 Quote
Avatar
  • Moderator
  • 1044
anuva wrote:
Hi,

I have added Ajax Filter Plugins2.6 inside the Nop-commerce2.6.There filter alignment is not working in Mozilla14.0.1 version. I am sending u the link:

http://file:///C:/Users/shanawas.babu/Desktop/FilterPage_display%20error_in_Mozilla.htm

It is not gone to production yet.It is under devlopment.

Regards,





Hi anuva,

That is good, so you have managed to integrate the Filters.
The link you have provided is from you local machine and we could not access it.
Could check on our demo and see if you see something wrong in Mozila?
If you have a problem locally then this should also be visible on our demo site as it is running the latest version of the Filters.
The demo also allows you to switch between DarkOrange and nopClassic themes.
http://demos.nop-templates.com/

Best Regards,
Nop-Templates Support Team