Jump to content

The controller for URI "/sell/orders/" is not callable


Recommended Posts

Salve, dovrei implementare ed estendere il controller ordini in backend... di seguito il contesto...


	"name"     : "author/mymodule",   
	"autoload" : {
	   "psr-4" : {"Namespace1\\" : "src/"},
	   "classmap": ["mymodule.php"],
	   "config": {"prepend-autoloader" : false},
	   "type"  : "prestashop-module"


  path: /sell/orders/
  methods: [GET, POST]
    _controller: 'Namespace1\Controller\Admin\DemoController::indexAction' 
    _legacy_controller: 'AdminOrders'
    _legacy_link: 'AdminOrders'
    _disable_module_prefix: true



namespace NameSpace1\Controller\Admin;

use PrestaShopBundle\Controller\Admin\FrameworkBundleAdminController;
use Symfony\Component\HttpFoundation\Request;

class DemoController extends FrameworkBundleAdminController
    public function indexAction(Request $request)
    { //write your action to be done 
        echo "CIAO";


dopo aver installato le dipendeze con composer ed eliminato la cache mi risulta questo errore

The controller for URI "/sell/orders/" is not callable: Class "EngFatturazione\Controller\Admin\DemoController" does not exist.

Dove sbaglio?

Grazie mille!

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More