CgmConfigAdmin
CgmConfigAdmin copied to clipboard
cgmconfigadmin module
hello, help pls for this error A 404 error occurred Page not found.
The requested controller could not be mapped to an existing controller class.
Controller: CgmConfigAdmin\Controller\ConfigOptions(resolves to invalid controller class or alias: CgmConfigAdmin\Controller\ConfigOptions)
Is controller being accessed through a route when you get this error? If so, could you share your route configuration for this cgmconfigadmin route?
First thing would be to verify that your default controller
value for the route matches up with the controller invokables key, which by default is: CgmConfigAdmin_ConfigOptionsController
(see the module.config.php).
The example route definition provided in cgmconfigadmin.global.php.dist
looks like this. How does yours differ?:
'router' => array(
'routes' => array(
'zfcadmin' => array(
'child_routes' => array(
'cgmconfigadmin' => array(
'type' => 'Literal',
'priority' => 1000,
'options' => array(
'route' => '/config',
'defaults' => array(
'controller' => 'CgmConfigAdmin_ConfigOptionsController', // ***
'action' => 'index',
))))))),