Jump to content

Edit History

roxanacaz123

roxanacaz123

Nothing seems to actually work. ps-mainmenu deactivates by itself, when activating the module in backend the site crashes with a bunch of errors: 

 

Fatal error: Uncaught Error: Call to a member function getAttributeNS() on null in /home/shopbebe/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php:579 Stack trace: #0 /home/shopbebe/public_html/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php(83): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->validateSchema(Object(DOMDocument), false) #1 /home/shopbebe/public_html/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php(131): Symfony\Component\Config\Util\XmlUtils::parse('<?xml version="...', Array) #2 /home/shopbebe/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(384): Symfony\Component\Config\Util\XmlUtils::loadFile('/home/shopbebe/...', Array) #3 /home/shopbebe/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(44): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFileToDOM('/home/shopbebe/...') #4 /h in /home/shopbebe/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php on line 579

 

And with mode_dev true in backend shows:

 

(3/3) InvalidArgumentException
Unable to parse file "/home/shopbebe/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/web.xml": The XML file "/home/shopbebe/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/shopbebe/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.9'), 'secret' => 'GEqboKvbs/1bKcADybbGgfY8KYTfYLcX2QJmBdhqm6j9rvICPaaJyVWE', 'translator' => array('fallbacks' => array('default')), 'router' => array('resource' => '/home/shopbebe/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/shopbebe/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/shopbebe/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/shopbebe/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/shopbebe/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.9'), 'secret' => 'GEqboKvbs/1bKcADybbGgfY8KYTfYLcX2QJmBdhqm6j9rvICPaaJyVWE', 'translator' => array('fallbacks' => array('default')), 'router' => array('resource' => '/home/shopbebe/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/shopbebe/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/shopbebe/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/shopbebe/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.9'), 'secret' => 'GEqboKvbs/1bKcADybbGgfY8KYTfYLcX2QJmBdhqm6j9rvICPaaJyVWE', 'translator' => array('fallbacks' => array('default')), 'router' => array('resource' => '/home/shopbebe/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/shopbebe/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

Tried to install a fresh ps in a folder just to test and maybe try to import customers, orders and products from the old one and then make the newer one live. I can't install. Error 500. Tried, as suggested, to install English, US. Nope. Verified folder permissions... nope.

So, is it time to give up on ps?...

roxanacaz123

roxanacaz123

Replaced back the original theme.js and now the menu works, the image scroll doesn't. It's either one or the other. Hopefully I'll find out the problem and solve this for good...

 

Nothing seems to actually work. ps-mainmenu deactivates by itself, when activating the module in backend the site crashes with a bunch of errors: 

 

Fatal error: Uncaught Error: Call to a member function getAttributeNS() on null in /home/shopbebe/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php:579 Stack trace: #0 /home/shopbebe/public_html/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php(83): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->validateSchema(Object(DOMDocument), false) #1 /home/shopbebe/public_html/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php(131): Symfony\Component\Config\Util\XmlUtils::parse('<?xml version="...', Array) #2 /home/shopbebe/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(384): Symfony\Component\Config\Util\XmlUtils::loadFile('/home/shopbebe/...', Array) #3 /home/shopbebe/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(44): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFileToDOM('/home/shopbebe/...') #4 /h in /home/shopbebe/public_html/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php on line 579

 

And with mode_dev true in backend shows:

 

(3/3) InvalidArgumentException
Unable to parse file "/home/shopbebe/public_html/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/web.xml": The XML file "/home/shopbebe/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/shopbebe/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.9'), 'secret' => 'GEqboKvbs/1bKcADybbGgfY8KYTfYLcX2QJmBdhqm6j9rvICPaaJyVWE', 'translator' => array('fallbacks' => array('default')), 'router' => array('resource' => '/home/shopbebe/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/shopbebe/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/shopbebe/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/shopbebe/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/shopbebe/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.9'), 'secret' => 'GEqboKvbs/1bKcADybbGgfY8KYTfYLcX2QJmBdhqm6j9rvICPaaJyVWE', 'translator' => array('fallbacks' => array('default')), 'router' => array('resource' => '/home/shopbebe/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/shopbebe/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/shopbebe/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/shopbebe/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.9'), 'secret' => 'GEqboKvbs/1bKcADybbGgfY8KYTfYLcX2QJmBdhqm6j9rvICPaaJyVWE', 'translator' => array('fallbacks' => array('default')), 'router' => array('resource' => '/home/shopbebe/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/shopbebe/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

 

So, is it time to give up on ps?...

×
×
  • Create New...