I want to deploy a symfony project to production but I get the following exception
Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'The "/home/technqoc/public_html\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle/Resources/views" directory does not exist.' in /home/technqoc/public_html/vendor/twig/twig/lib/Twig/Loader/Filesystem.php:93
I suspect it's because of the way the server is trying to access the directory. How can I change the backslash to forward slash in the directory path?
/home/technqoc/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/views
? If not, did you remember to install all the vendor dependancies on your production server ($ php composer.php install
)? – HPierce