Starting a new project using the skeleton module, and I ran into some problems. I am sure that this is the main configuration error on my part, but I can not understand.
Here is my module.config.php
return array(
'controllers' => array(
'invokables' => array(
'ZFTickets\Controller\Index' => 'ZFTickets\Controller\IndexController',
),
),
'router' => array(
'routes' => array(
'zftickets' => array(
'type' => 'Literal',
'options' => array(
'route' => '/',
'defaults' => array(
'__NAMESPACE__' => 'ZFTickets\Controller',
'controller' => 'Index',
'action' => 'index',
),
),
'may_terminate' => true,
'child_routes' => array(
'default' => array(
'type' => 'Segment',
'options' => array(
'route' => '/[:controller[/:action]]',
'constraints' => array(
'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
),
'defaults' => array(
),
),
),
),
),
),
),
'view_manager' => array(
'template_path_stack' => array(
'zftickets' => __DIR__ . '/../view',
),
),
and here is the directory structure:

The error I get is: Zend \ View \ Renderer \ PhpRenderer :: render: cannot display the template "zf-tickets / index / index"; resolver cannot resolve file
source
share