[SILEX] Templates error introuvables
Bonjour,
J'essai de déployer une appli silex sur un vps OVH qui fonctionne très bien en local.
Cependant j'ai cette erreur dans les logs :
Citation:
[Wed Aug 02 00:02:14.974857 2017] [:error] [pid 11436] [client 78.221.151.3:43612] PHP Fatal error: Uncaught Twig_Error_Loader: Unable to find one of the following templates: "/errors/500.html.twig", "/errors/50x.html.twig", "/errors/5xx.html.twig", "/errors/default.html.twig". in /var/www/html/roadsofearth/vendor/twig/twig/lib/Twig/Environment.php:576\nStack trace:\n#0 /var/www/html/roadsofearth/src/controllers.php(33): Twig_Environment->resolveTemplate(Array)\n#1 [internal function]: {closure}(Object(Doctrine\\DBAL\\Exception\\ConnectionException), Object(Symfony\\Component\\HttpFoundation\\Request), 500)\n#2 /var/www/html/roadsofearth/vendor/silex/silex/src/Silex/ExceptionListenerWrapper.php(53): call_user_func(Object(Closure), Object(Doctrine\\DBAL\\Exception\\ConnectionException), Object(Symfony\\Component\\HttpFoundation\\Request), 500)\n#3 [internal function]: Silex\\ExceptionListenerWrapper->__invoke(Object(Symfony\\Component\\HttpKernel\\Event\\GetResponseForExceptionEvent), 'kernel.exceptio...', Object(Symfony\\Component\\EventDispatcher\\EventDispatcher))\n#4 /var/www/html/roadsofearth/vendor/symfony/event-dispatcher/Even in /var/www/html/roadsofearth/vendor/twig/twig/lib/Twig/Environment.php on line 576
root@vps435489:/var/log/apache2#
Ok je comprend bien que les fichiers d'erreurs sont introuvables mais j'ai beau mettre n'importe quels liens (enfin surtout les bons liens) c'est toujours pareil...
Je suis désolé mais j'ai même du mal à détailler plus le beug que j'ai tellement je suis bloqué.. :/
Merci à vous !