Symfony 2.2 => symfony 2.3 error Deutsch locale

梦想的初衷 提交于 2020-01-16 17:26:47

问题


I have just done the upgrade from 2.2 to 2.3.2 version. Into the symfony 2.2, there was no error. WHen I have upgrading to 2.3.2 version I had this error.

Twig_Error_Runtime: An exception has been thrown during the rendering of a template ("[ERROR 94] Validation failed: no DTD found ! (in n/a - line 2, column 21)
[ERROR 9] Input is not proper UTF-8, indicate encoding !
Bytes: 0xFC 0x67 0x65 0x6E (in n/a - line 51, column 23)") in "MyAppBundle:Controler:index.html.twig".

For your information Line 2 (above the beginning of a block) and line 51 (end of file) is empty..

Any helps?

Sam


回答1:


Perhaps it's a libxml2 issue. Please try to update this library.

Proof



来源:https://stackoverflow.com/questions/17783871/symfony-2-2-symfony-2-3-error-deutsch-locale

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!