Ho provato a configurare il modulo Users di ZF2 seguendo le direttive di un libro ma il risultato non è stato soddisfacente. A vostro avviso quale potrebbe essere l'errore? Questo è quello che vedo quando digito nel browser:
http://localhost/user
An error occurred
An error occurred during execution; please try again later.
Additional information:
Zend\View\Exception\RuntimeException
File:
C:\xampp\htdocs\ZF2\vendor\zendframework\zendframework\library\Zend\View\Renderer\PhpRenderer.php:498
Message:
Zend\View\Renderer\PhpRenderer::render: Unable to render template "users/index/index"; resolver could not resolve to a file
Stack trace:
#0 C:\xampp\htdocs\ZF2\vendor\zendframework\zendframework\library\Zend\View\View.php(205): Zend\View\Renderer\PhpRenderer->render(Object(Zend\View\Model\ViewModel))
#1 C:\xampp\htdocs\ZF2\vendor\zendframework\zendframework\library\Zend\View\View.php(233): Zend\View\View->render(Object(Zend\View\Model\ViewModel))
#2 C:\xampp\htdocs\ZF2\vendor\zendframework\zendframework\library\Zend\View\View.php(198): Zend\View\View->renderChildren(Object(Zend\View\Model\ViewModel))
#3 C:\xampp\htdocs\ZF2\vendor\zendframework\zendframework\library\Zend\Mvc\View\Http\DefaultRenderingStrategy.php(102): Zend\View\View->render(Object(Zend\View\Model\ViewModel))
#4 [internal function]: Zend\Mvc\View\Http\DefaultRenderingStrategy->render(Object(Zend\Mvc\MvcEvent))
#5 C:\xampp\htdocs\ZF2\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#6 C:\xampp\htdocs\ZF2\vendor\zendframework\zendframework\library\Zend\EventManager\EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('render', Object(Zend\Mvc\MvcEvent), Array)
#7 C:\xampp\htdocs\ZF2\vendor\zendframework\zendframework\library\Zend\Mvc\Application.php(352): Zend\EventManager\EventManager->trigger('render', Object(Zend\Mvc\MvcEvent))
#8 C:\xampp\htdocs\ZF2\vendor\zendframework\zendframework\library\Zend\Mvc\Application.php(327): Zend\Mvc\Application->completeRequest(Object(Zend\Mvc\MvcEvent))
#9 C:\xampp\htdocs\ZF2\public\index.php(17): Zend\Mvc\Application->run()
#10 {main}
© 2005 - 2014 by Zend Technologies Ltd. All rights reserved.