Details
-
Bug
-
Resolution: Fixed
-
High
-
1.3.0
-
Operating System: Debian 8
PHP Version: 5.6.14-0+deb8u1
Database and version: Mysql 5.5.46-0+deb8u1
Browser (and version): Firefox 44
Description
Steps to Reproduce
1) Install ezplatform-demo
2) Goto "Contact Us"
3) Fill in the form in the botton
4) Click on "Send" button
A fatal error is shown
In app/logs/prod.log I have the error
[2016-04-28 11:40:52] request.INFO: Matched route "_ez_user_hash". {"route_parameters":{"_route":"_ez_user_hash"},"request_uri":"http://ezp60.paulo/_fos_user_context_hash"} [] [2016-04-28 11:40:52] security.DEBUG: Read existing security token from the session. {"key":"_security_ezpublish_front"} [] [2016-04-28 11:40:52] security.DEBUG: User was reloaded from a user provider. {"username":"admin","provider":"eZ\\Publish\\Core\\MVC\\Symfony\\Security\\User\\Provider"} [] [2016-04-28 11:40:52] security.DEBUG: Stored the security token in the session. {"key":"_security_ezpublish_front"} [] [2016-04-28 11:40:52] request.INFO: Matched route "app.submitted". {"route_parameters":{"_controller":"app.controller.contactform:submittedAction","template":"full/contact_form_submitted.html.twig","_route":"app.submitted"},"request_uri":"http://ezp60.paulo/contact/submitted"} [] [2016-04-28 11:40:52] security.DEBUG: Read existing security token from the session. {"key":"_security_ezpublish_front"} [] [2016-04-28 11:40:52] security.DEBUG: User was reloaded from a user provider. {"username":"admin","provider":"eZ\\Publish\\Core\\MVC\\Symfony\\Security\\User\\Provider"} [] [2016-04-28 11:40:52] request.CRITICAL: Uncaught PHP Exception Twig_Error_Loader: "Unable to find template "" in "full/contact_form_submitted.html.twig" at line 1." at /var/www/ezp60/ezplatform/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php line 91 {"exception":"[object] (Twig_Error_Loader(code: 0): Unable to find template \"\" in \"full/contact_form_submitted.html.twig\" at line 1. at /var/www/ezp60/ezplatform/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.php:91, InvalidArgumentException(code: 0): Unable to find template \"\" : \"An empty file name is not valid to be located.\". at /var/www/ezp60/ezplatform/app/cache/prod/classes.php:802, InvalidArgumentException(code: 0): An empty file name is not valid to be located. at /var/www/ezp60/ezplatform/app/cache/prod/classes.php:1763)"} [] [2016-04-28 11:40:52] security.DEBUG: Stored the security token in the session. {"key":"_security_ezpublish_front"} []
Attachments
Issue Links
- links to