1

我正在使用 symfony 2,并且我的计算机上有一个工作网页。问题是当我将它上传到生产服务器时,我收到以下错误:

    ErrorException: Warning: DOMDocument::schemaValidateSource() [domdocument.schemavalidatesource]: Invalid Schema in /home/ljrgwoej/public_html/webs/Chambalo/vendor/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php line 363

    in /home/ljrgwoej/public_html/webs/Chambalo/vendor/symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php line 67
    at ErrorHandler->handle()
    at DOMDocument->schemaValidateSource() in /home/ljrgwoej/public_html/webs/Chambalo/vendor/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php line 363
    at XmlFileLoader->validateSchema() in /home/ljrgwoej/public_html/webs/Chambalo/vendor/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php line 293
    at XmlFileLoader->validate() in /home/ljrgwoej/public_html/webs/Chambalo/vendor/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php line 222
    at XmlFileLoader->parseFile() in /home/ljrgwoej/public_html/webs/Chambalo/vendor/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php line 40
    at XmlFileLoader->load() in /home/ljrgwoej/public_html/webs/Chambalo/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php line 43
    at FrameworkExtension->load() in /home/ljrgwoej/public_html/webs/Chambalo/vendor/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php line 42
    at MergeExtensionConfigurationPass->process() in /home/ljrgwoej/public_html/webs/Chambalo/vendor/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/MergeExtensionConfigurationPass.php line 39
    at MergeExtensionConfigurationPass->process() in /home/ljrgwoej/public_html/webs/Chambalo/vendor/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php line 119
    at Compiler->compile() in /home/ljrgwoej/public_html/webs/Chambalo/vendor/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php line 437
    at ContainerBuilder->compile() in /home/ljrgwoej/public_html/webs/Chambalo/app/bootstrap.php.cache line 872
    at Kernel->buildContainer() in /home/ljrgwoej/public_html/webs/Chambalo/app/bootstrap.php.cache line 783
    at Kernel->initializeContainer() in /home/ljrgwoej/public_html/webs/Chambalo/app/bootstrap.php.cache line 517
    at Kernel->boot() in /home/ljrgwoej/public_html/webs/Chambalo/app/bootstrap.php.cache line 548
    at Kernel->handle() in /home/ljrgwoej/public_html/webs/Chambalo/web/app.php line 12

我能做什么?我有很多谷歌没有结果。谢谢

4

1 回答 1

0

我更新后得到了这个。我通过将我的 libxml 版本从 libxml2-2.6.26-2.1.21.el5_9.2 降级到 libxml2-2.6.26-2.1.21.el5_9.1 来解决此问题。

yum 降级 libxml2-2.6.26-2.1.21.el5_9.1

于 2013-05-09T18:27:26.540 回答