Symfony2 error XmlFileLoader Schema error?

I heard great things about Symfony, so I thought that I would try to download Symfony2 (Symfony_Standard_Vendors_2.0.0BETA4.tgz) and play with it, but I can not start it!

I fixed the usual permission errors, etc. to /Symfony/web/config.php, but when I click:

(Set up your Symfony app online) or (workaround and go to the welcome page)

Then I get a terrible error message:

ErrorException: warning: DOMDocument :: schemaValidateSource (): invalid scheme in / usr / local / zend / apache 2 / htdocs / Symfony / vendor / symfony / src / Symfony / Component / DependencyInjection / Loader / XmlFileLoader.php line 357

I really don't understand what this means or how to fix it.

I am launching a standard LAMP stack using Zend Server. Has anyone else experienced this and knows how to fix it?

+3
source share
2 answers

There seems to be a problem with corrupted archives in beta days. However, much has changed since then, and now everything works correctly - at least I did not find any more questions related to validation in XmlFileLoader.

0
source

I got this after making an update. I fixed this by downgrading my version of libxml from libxml2-2.6.26-2.1.21.el5_9.2 to libxml2-2.6.26-2.1.21.el5_9.1.

yum downgrade libxml2-2.6.26-2.1.21.el5_9.1

0
source

All Articles