apollux Posted March 17, 2020 Share Posted March 17, 2020 Whoops, looks like something went wrong. (3/3) InvalidArgumentException Unable to parse file "/home/veromall/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/web.xml": The XML file "/home/veromall/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/web.xml" is not valid. in XmlFileLoader.php line 386 at XmlFileLoader->parseFileToDOM('/home/veromall/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/web.xml')in XmlFileLoader.php line 44 at XmlFileLoader->load('web.xml')in FrameworkExtension.php line 118 at FrameworkExtension->load(array(array('assets' => array('version' => '1.7.6.1'), 'secret' => 'l36vpw9mgpzush6h0nr1cbbc63taxhmhrdviidjdnisrgsoqtvyorj4c', 'translator' => array('fallbacks' => array('default')), 'router' => array('resource' => '/home/veromall/public_html/app/config/routing.yml', 'strict_requirements' => null), 'form' => null, 'csrf_protection' => null, 'validation' => array('enable_annotations' => true), 'serializer' => array('enable_annotations' => true), 'templating' => array('engines' => array('twig')), 'default_locale' => 'en-US', 'trusted_hosts' => null, 'session' => array('handler_id' => null), 'fragments' => null, 'http_method_override' => true), array('router' => array('resource' => '/home/veromall/public_html/app/config/routing_dev.yml', 'strict_requirements' => true), 'profiler' => array('only_exceptions' => false))), object(MergeExtensionConfigurationContainerBuilder))in MergeExtensionConfigurationPass.php line 71 at MergeExtensionConfigurationPass->process(object(ContainerBuilder))in MergeExtensionConfigurationPass.php line 39 at MergeExtensionConfigurationPass->process(object(ContainerBuilder))in Compiler.php line 141 at Compiler->compile(object(ContainerBuilder))in ContainerBuilder.php line 790 at ContainerBuilder->compile()in Kernel.php line 637 at Kernel->initializeContainer()in Kernel.php line 135 at Kernel->boot()in Kernel.php line 195 at Kernel->handle(object(Request), 1, false)in index.php line 86 (2/3) XmlParsingException The XML file "/home/veromall/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/web.xml" is not valid. in XmlUtils.php line 133 at XmlUtils::loadFile('/home/veromall/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/web.xml', array(object(XmlFileLoader), 'validateSchema'))in XmlFileLoader.php line 384 at XmlFileLoader->parseFileToDOM('/home/veromall/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/web.xml')in XmlFileLoader.php line 44 at XmlFileLoader->load('web.xml')in FrameworkExtension.php line 118 at FrameworkExtension->load(array(array('assets' => array('version' => '1.7.6.1'), 'secret' => 'l36vpw9mgpzush6h0nr1cbbc63taxhmhrdviidjdnisrgsoqtvyorj4c', 'translator' => array('fallbacks' => array('default')), 'router' => array('resource' => '/home/veromall/public_html/app/config/routing.yml', 'strict_requirements' => null), 'form' => null, 'csrf_protection' => null, 'validation' => array('enable_annotations' => true), 'serializer' => array('enable_annotations' => true), 'templating' => array('engines' => array('twig')), 'default_locale' => 'en-US', 'trusted_hosts' => null, 'session' => array('handler_id' => null), 'fragments' => null, 'http_method_override' => true), array('router' => array('resource' => '/home/veromall/public_html/app/config/routing_dev.yml', 'strict_requirements' => true), 'profiler' => array('only_exceptions' => false))), object(MergeExtensionConfigurationContainerBuilder))in MergeExtensionConfigurationPass.php line 71 at MergeExtensionConfigurationPass->process(object(ContainerBuilder))in MergeExtensionConfigurationPass.php line 39 at MergeExtensionConfigurationPass->process(object(ContainerBuilder))in Compiler.php line 141 at Compiler->compile(object(ContainerBuilder))in ContainerBuilder.php line 790 at ContainerBuilder->compile()in Kernel.php line 637 at Kernel->initializeContainer()in Kernel.php line 135 at Kernel->boot()in Kernel.php line 195 at Kernel->handle(object(Request), 1, false)in index.php line 86 (1/3) ContextErrorException Notice: Undefined property: DOMDocument::$documentElement in XmlFileLoader.php line 579 at XmlFileLoader->validateSchema(object(DOMDocument), false)in XmlUtils.php line 83 at XmlUtils::parse('<?xml version="1.0" ?><container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services https://symfony.com/schema/dic/services/services-1.0.xsd"> <services> <defaults public="false" /> <service id="controller_name_converter" class="Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerNameParser"> <tag name="monolog.logger" channel="request" /> <argument type="service" id="kernel" /> </service> <service id="controller_resolver" class="Symfony\\Bundle\\FrameworkBundle\\Controller\\ControllerResolver"> <tag name="monolog.logger" channel="request" /> <argument type="service" id="service_container" /> <argument type="service" id="controller_name_converter" /> <argument type="service" id="logger" on-invalid="ignore" /> </service> <service id="argument_metadata_factory" class="Symfony\\Component\\HttpKernel\\ControllerMetadata\\ArgumentMetadataFactory" /> <service id="argument_resolver" class="Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver"> <argument type="service" id="argument_metadata_factory" /> <argument /> <!-- argument value resolvers --> </service> <service id="argument_resolver.request_attribute" class="Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestAttributeValueResolver"> <tag name="controller.argument_value_resolver" priority="100" /> </service> <service id="argument_resolver.request" class="Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestValueResolver"> <tag name="controller.argument_value_resolver" priority="50" /> </service> <service id="argument_resolver.session" class="Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\SessionValueResolver"> <tag name="controller.argument_value_resolver" priority="50" /> </service> <service id="argument_resolver.service" class="Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\ServiceValueResolver"> <tag name="controller.argument_value_resolver" priority="-50" /> <argument /> </service> <service id="argument_resolver.default" class="Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\DefaultValueResolver"> <tag name="controller.argument_value_resolver" priority="-100" /> </service> <service id="argument_resolver.variadic" class="Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\VariadicValueResolver"> <tag name="controller.argument_value_resolver" priority="-150" /> </service> <service id="response_listener" class="Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener"> <tag name="kernel.event_subscriber" /> <argument>%kernel.charset%</argument> </service> <service id="streamed_response_listener" class="Symfony\\Component\\HttpKernel\\EventListener\\StreamedResponseListener"> <tag name="kernel.event_subscriber" /> </service> <service id="locale_listener" class="Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener"> <tag name="kernel.event_subscriber" /> <argument type="service" id="request_stack" /> <argument>%kernel.default_locale%</argument> <argument type="service" id="router" on-invalid="ignore" /> </service> <service id="validate_request_listener" class="Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener"> <tag name="kernel.event_subscriber" /> </service> <service id="resolve_controller_name_subscriber" class="Symfony\\Bundle\\FrameworkBundle\\EventListener\\ResolveControllerNameSubscriber"> <argument type="service" id="controller_name_converter" /> <tag name="kernel.event_subscriber" /> </service> </services></container>', array(object(XmlFileLoader), 'validateSchema'))in XmlUtils.php line 131 at XmlUtils::loadFile('/home/veromall/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/web.xml', array(object(XmlFileLoader), 'validateSchema'))in XmlFileLoader.php line 384 at XmlFileLoader->parseFileToDOM('/home/veromall/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/web.xml')in XmlFileLoader.php line 44 at XmlFileLoader->load('web.xml')in FrameworkExtension.php line 118 at FrameworkExtension->load(array(array('assets' => array('version' => '1.7.6.1'), 'secret' => 'l36vpw9mgpzush6h0nr1cbbc63taxhmhrdviidjdnisrgsoqtvyorj4c', 'translator' => array('fallbacks' => array('default')), 'router' => array('resource' => '/home/veromall/public_html/app/config/routing.yml', 'strict_requirements' => null), 'form' => null, 'csrf_protection' => null, 'validation' => array('enable_annotations' => true), 'serializer' => array('enable_annotations' => true), 'templating' => array('engines' => array('twig')), 'default_locale' => 'en-US', 'trusted_hosts' => null, 'session' => array('handler_id' => null), 'fragments' => null, 'http_method_override' => true), array('router' => array('resource' => '/home/veromall/public_html/app/config/routing_dev.yml', 'strict_requirements' => true), 'profiler' => array('only_exceptions' => false))), object(MergeExtensionConfigurationContainerBuilder))in MergeExtensionConfigurationPass.php line 71 at MergeExtensionConfigurationPass->process(object(ContainerBuilder))in MergeExtensionConfigurationPass.php line 39 at MergeExtensionConfigurationPass->process(object(ContainerBuilder))in Compiler.php line 141 at Compiler->compile(object(ContainerBuilder))in ContainerBuilder.php line 790 at ContainerBuilder->compile()in Kernel.php line 637 at Kernel->initializeContainer()in Kernel.php line 135 at Kernel->boot()in Kernel.php line 195 at Kernel->handle(object(Request), 1, false)in index.php line 86 Can somebody point out a solution for this? Apparently, I had Litespeed Cache module and I tried to disable it, turning up in this error. XML Parser is installed, everything worked fine until that imbecile addon that supposed to increase speed, but it increases errors. WEb.xml is not missing and it is correctly viewed by browsing the folder for files. Link to comment Share on other sites More sharing options...
apollux Posted April 29, 2020 Author Share Posted April 29, 2020 Quick solution: - Download the used Prestashop version and unzip folder symphony and replace it on your webserver - If you are using another version of PHP, other than the recommended one, then you might have issues, so switch to recommended from within your Cpanel account. This should solve your problem. Link to comment Share on other sites More sharing options...
Mo.Tjey Posted May 18, 2024 Share Posted May 18, 2024 I moved the site to another host. This error is encountered while activating the debug mode If debug mode is not active, it works fine Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now