BaseNopPluginController Error

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi,

When I install my plug-in on the Web server I get the error the BaseNopPluginController is not found.
Everything is OK on the development computer.


Error not found:
public class myPlugInController : BaseNopPluginController
{}

No error:
public class myPlugInController : BaseController
{}


Why is that?

Best regards
6 years ago
ksprovis.net wrote:
Hi,

When I install my plug-in on the Web server I get the error the BaseNopPluginController is not found.
Everything is OK on the development computer.


Error not found:
public class myPlugInController : BaseNopPluginController
{}

No error:
public class myPlugInController : BaseController
{}


Why is that?

Best regards


Try ==> I don't know were you found BaseNopPluginController ===> it should "BasePluginController"
public class myPlugInController : BasePluginController
{}
6 years ago
hi all. In documentation
https://docs.nopcommerce.com/display/en/Plugin+with+data+access
Chapter The controller
namespace Nop.Plugin.Other.ProductViewTracker.Controllers
{
    public class TrackingController : BaseNopPluginController
    {
but i have the same error. Miss any dll?
6 years ago
BrandRule wrote:
hi all. In documentation
https://docs.nopcommerce.com/display/en/Plugin+with+data+access
Chapter The controller
namespace Nop.Plugin.Other.ProductViewTracker.Controllers
{
    public class TrackingController : BaseNopPluginController
    {
but i have the same error. Miss any dll?



Hi,

I think this is a bug in the documentation.
There is no class BaseNopPluginController.
Use BasePluginController.

See "Presentation\Nop.Web.Framework\Controllers"
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.