Jump to content

Fresh Install - HTTP 500 - error - Undefined property: XmlFileLoader.php


Recommended Posts

I wanted to try out prestashop. I tried to install a fresh install.

It always fails at this step:

Create databases tables

1: HTTP 500 - error-

An error occurred during installation...

You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here.

When i try to restart the installation by clicking on the link i see:

https://mysite.com/shop/install/index.php?restart=true

I tried 2 different versions of prestashop and i get the same issue

--

PrestaShop 1.7.8.10
PrestaShop 8.1.7

PHP Version 7.4.33
DOM/XML enabled
libXML support active
SimpleXML support enabled

Server information: Linux #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
Server software version: LiteSpeed
Memory limit: 512M
Max execution time: 300
Upload Max File size: 512M
MySQL version: 10.6.19-MariaDB-cll-lve
MySQL server: 127.0.0.1
Tables prefix: ps_
MySQL engine: InnoDB
MySQL driver: DbPDO

Notice: Undefined property: DOMDocument::$documentElement in 
/home/max/mysite.com/shop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php on line 590

Fatal error: Uncaught Error: Call to a member function getAttributeNS() on null in 
/home/max/mysite.com/shop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php:590 Stack trace: #0 
/home/max/mysite.com/shop/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php(89): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->validateSchema(Object(DOMDocument), false) #1 
/home/max/mysite.com/shop/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php(146): Symfony\Component\Config\Util\XmlUtils::parse('<?xml version="...', Array) #2 
/home/max/mysite.com/shop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(397): Symfony\Component\Config\Util\XmlUtils::loadFile('/home/max/...', Array) #3 
/home/max/mysite.com/shop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(49): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFi in 
/home/max/mysite.com/shop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php on line 590


 

ps-install-http500-error.png

Edited by max565 (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...