I am new to Zend.
I have set up local dev at zend.local
I am creating a new module say Csv, when I go to URL like zend.local/csv, it gives me the following error
My module.config.php
is below:
<?php
return array(
'controllers' => array(
'invokables' => array(
'Csv\Controller\Csv' => 'Csv\Controller\IndexController',
),
),
'router' => array(
'routes' => array(
'csv' => array(
'type' => 'segment',
'options' => array(
'route' => '/csv[/][:action][/:id]',
'constraints' => array(
'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
'id' => '[0-9]+',
),
'defaults' => array(
'controller' => 'Csv\Controller\IndexController',
'action' => 'index',
),
),
),
),
),
'view_manager' => array(
'template_path_stack' => array(
'csv' => __DIR__ . '/../view',
),
),
);