[英]Unable to find template AcmeDemoBundle:Demo:hello.html.twig Symfony 2 while debugging using PHPed
我已將Symfony 2安裝到虛擬Linux服務器上。 我使用Windows和PHPED來工作和調試我的Symfony 2項目。 我沒有在symfony 2上配置任何東西,我通過使用PHPEDs調試瀏覽器插件調試hello world示例。
除了在第202行遇到Twig / Loader / Filesystem.php並且無法在Resources / views文件夾中找到以下文件“AcmeDemoBundle:Demo:hello.html.twig”之外,一切正常。 有一個文件hello.html.twig,我認為它是它試圖找到的文件。
該文件應位於此位置
src/Acme/DemoBundle/Resources/views/Demo/hello.html.twig
資料來源: http : //symfony.com/doc/current/quick_tour/the_big_picture.html#templates
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.