CgmConfigAdmin icon indicating copy to clipboard operation
CgmConfigAdmin copied to clipboard

cgmconfigadmin module

Open bhagi123 opened this issue 10 years ago • 1 comments

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)

bhagi123 avatar Jan 24 '14 07:01 bhagi123

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',
))))))),

cgmartin avatar Jan 25 '14 02:01 cgmartin