Close

Profile: pbsdjames

Avatar

User posts

10 years ago

Boyko wrote:
Hi pbsdjames,

So I guess the problem is with the Endicia plugin not the Tabs. The Tabs are working fine with nopCommerce 3.1 but obviously the Endicia plugin breaks them.

Thanks


Yes, it certainly appears that adding the Endicia shipping plugin causes the Quick Tabs to stop functioning.  I haven't tried any of the other controls from Nop Templates as yet, so perhaps it's isolated to Quick Tabs plugin, but who knows.  Interestingly more, even when I remove the Endicia plugin, the Quick Tabs plugin continues to fail to load.  Even after uninstall and re-installing it.  Mind you, the Endicia plugin was never installed.  Only added to the plugin folder and the list refreshed.  The only way that I have found so far to get the Quick Tabs plugin to work again is to complete replace the site with a fresh install on 3.1.  It's a shame though, the plugin has nice features and provides a nice organization to the products page.  In the end, my customer "needs" the Endicia plugin.  The Quick Tabs is just an added benefit.

Being that I don't a have a copy of the source code for the Quick Tabs plugin, I can't debug why this is occurring.  The source for Endica is available from their site.  So, perhaps you guys would like to take a stab at why this control is not playing nice.

10 years ago

Boyko wrote:
I downloaded and installed a trial version yesterday to see how everything works ...
What can I do to correct this?
Hi pbsdjames,

Could you modify your Global.asax file by adding a few extra spaces in it and save it.
This would trigger a full application restart and the Controllers for the Quick Tabs plugin will get picked up by the MVC and you should be able to open the administration pages.

Thanks

That didn't work.  This is on my server, so I have complete access to do whatever is needed in Windows or IIS.  It's a Windows 2012 Server.

Hi pbsdjames,

The best thing to do then is to send us an email to support at nop-templates.com and send us your FTP and web site administration credentials, so that we can take a look.

Thanks


You should be able to produce the issue by following these steps:

1) Configure a new site with version 3.1.
2) Add the Core and Quick Tabs plugins to the plugin folder
3) In the admin, refresh the list of plugins
4) Install the Core and restart the application
5) Install the Quick Tabs plugin.  You should be able to configure as needed
6) Add the Endicia plugin to the Plugin folder
7) In the admin, refresh the list of plugins -- ERROR

The only way I can get the site to come back after this is to manually remove the SevenSpikes.Nop.Plugins.NopQuickTabs entry from the InstalledPlugins.txt file.


Hope this helps.

10 years ago

Boyko wrote:
I downloaded and installed a trial version yesterday to see how everything works ...
What can I do to correct this?
Hi pbsdjames,

Could you modify your Global.asax file by adding a few extra spaces in it and save it.
This would trigger a full application restart and the Controllers for the Quick Tabs plugin will get picked up by the MVC and you should be able to open the administration pages.

Thanks


That didn't work.  This is on my server, so I have complete access to do whatever is needed in Windows or IIS.  It's a Windows 2012 Server.

10 years ago

I downloaded and installed a trial version yesterday to see how everything works, but somewhere along the way it stopped working.

I’m using NopCommerce 3.10, Theme: Default Clean.  This is in BETA, so I can reload if needed.

At first, everything was working fine.  I then published changes which included the Endicia shipping plugin and the Nop DLLS, After that, the store would not load, so I removed the references in the App_Data/InstalledPlugins.txt to the SevenSpikes plugins and the site loaded without issue.   I then refreshed the listing of plug-ins and re-installed the core, then the Quick Tabs.  When I try to access the configuration for the Quick Tabs, I get the message “We're sorry, an internal error occurred.”

This morning, I reloaded the database to known good backup and completely republished the site.  I then installed the core followed by the Quick Tabs.  Installation of the quick tabs caused the site to error.  I had to manually remove the reference from the InstalledPlugins.txt file in order to get the site back up.

This is the error from the Windows Application Log

Exception information: 
    Exception type: HttpException
    Exception message: Object reference not set to an instance of an object.
   at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
   at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
   at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
   at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
   at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

Object reference not set to an instance of an object.
   at SevenSpikes.Nop.Framework.MVCExtensions.RouteCollectionExtensions.AddControllerNamespacesToRoute(RouteCollection routes, String routeName, String[] namespacesToAdd)
   at SevenSpikes.Nop.Framework.Routing.BaseRouteProvider.RegisterRoutes(RouteCollection routes)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at Nop.Web.Framework.Mvc.Routes.RoutePublisher.RegisterRoutes(RouteCollection routes)
   at Nop.Web.MvcApplication.RegisterRoutes(RouteCollection routes)
   at Nop.Web.MvcApplication.Application_Start()


Once the site was back up, I installed the core and reloaded the application, I then installed the Quick Tabs.  The site remained up.  If I click the Configure button from the Plugins listing, I get the message “We're sorry, an internal error occurred" and the follow error will appear within the Windows Application Log

Exception information: 
    Exception type: HttpException
    Exception message: The controller for path '/Admin/Widget/ConfigureWidget' 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.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap[TResult](Func`1 func)


If I click on the added admin menu (Plugins --> Nop Quick Tabs --> Settings), I get redirected to the page not found page.

What can I do to correct this?