Open smith981 opened 8 years ago
Probably related to https://github.com/symfony/symfony/issues/9731
It's your php version / config in fault but not correctly handle by the generator (dirty error) ; see the value of libxml_disable_entity_loader
Thanks, but the solution isn't very clear. I tried passing FALSE to every call to libxml_disable_entity_loader(). I also ran composer update. What do I need to do?
Apparently Symfony 2.5, which this app uses, is no longer supported. I'm going to attempt to get this working with the 2.7 components.
I was never able to get this working with either 2.7 or 2.3, but I traced the problem to XliffFileLoader.php in symfony/translation. I just commented out lines 112-114. I make no guarantees this is safe, but I'm out of time to fix this. I've made a fork of the original with this change in the 2.3 branch. See https://github.com/smith981/translation
After generating the admin, I go to Create a new record. I get the following error, despite the referenced file being there:
Twig_Error_Runtime in Template.php line 182: An exception has been thrown during the rendering of a template ("[WARNING 1549] failed to load external entity "file://///[REDACTED]/vendor/symfony/translation/Symfony/Component/Translation/Loader/schema/dic/xliff-core/xml.xsd" (in n/a - line 0, column 0) [WARNING 3084] Element '{http://www.w3.org/2001/XMLSchema}import': Failed to locate a schema at location 'file://///[REDACTED]/vendor/symfony/translation/Symfony/Component/Translation/Loader/schema/dic/xliff-core/xml.xsd'. Skipping the import. (in in_memory_buffer - line 33, column 0)