Moin,
wir wollen ein Contao 4.13 auf einem Mittwald Server installieren.
Versuch 1: Eigenes Verzeichnis, Contao Manager.
Der wirft eine Fehlermeldung beim Post-Install. Ist aber nicht weiter wild, da nach einem Reload der Manager einwandfrei funktioniert.
Nun wollen wir eine Erweiterung installieren (Bspw. RockSolid Custom Elements):
PHP-Code:
$ /usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /html/contao2022/public/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 0 updates, 0 removals
- Installing madeyourday/contao-rocksolid-custom-elements (v2.4.2): Extracting archive
Generating optimized autoload files
contao/manager-plugin: Dumping generated plugins file...
contao/manager-plugin: ...done dumping generated plugins file
Notice: Undefined property: DOMDocument::$documentElement in /html/contao2022/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php on line 601
Fatal error: Uncaught Error: Call to a member function getAttributeNS() on null in /html/contao2022/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php:601
Stack trace:
#0 /html/contao2022/vendor/symfony/config/Util/XmlUtils.php(89): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->validateSchema(Object(DOMDocument), false)
#1 /html/contao2022/vendor/symfony/config/Util/XmlUtils.php(146): Symfony\Component\Config\Util\XmlUtils::parse('<?xml version="...', Array)
#2 /html/contao2022/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(405): Symfony\Component\Config\Util\XmlUtils::loadFile('/html/contao202...', Array)
#3 /html/contao2022/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(50): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFileToDOM('/html/contao202...')
#4 /html/contao2022/vendor/doctrine/doctrine-bundle/DependencyInjection/DoctrineExtension.php(123): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->load('dbal.xml')
#5 /html/contao2022/vendo in /html/contao2022/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php on line 601
Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
105 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php vendor/bin/contao-setup
Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 255
# Process terminated with exit code 255
# Result: Unknown error
Kein Plan. Passiert mit jedem Plugin. Es läuft PHP 7.3, aber auch bei 8.0 ging es nicht.
2. Versuch: Installation über Mittwald direkt (wie hier im Forum beschrieben).
Bildschirmfoto 2022-11-21 um 16.46.21.png
Hier ebenfalls beim Installieren einer Erweiterung:
PHP-Code:
$ /usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /html/contao-2022/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 40 updates, 0 removals
- Downloading symfony/polyfill-mbstring (v1.27.0)
- Downloading contao-components/ace (1.13.1)
[...]
- Upgrading doctrine/doctrine-bundle (2.7.0 => 2.7.1): Extracting archive
- Upgrading contao/conflicts (dev-main aed826f => dev-main 96abbf1)
- Installing madeyourday/contao-rocksolid-custom-elements (v2.4.2): Extracting archive
Generating optimized autoload files
Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
contao/manager-plugin: Dumping generated plugins file...
contao/manager-plugin: ...done dumping generated plugins file
Notice: Undefined property: DOMDocument::$documentElement in /html/contao-2022/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php on line 601
Fatal error: Uncaught Error: Call to a member function getAttributeNS() on null in /html/contao-2022/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php:601
Stack trace:
#0 /html/contao-2022/vendor/symfony/config/Util/XmlUtils.php(89): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->validateSchema(Object(DOMDocument), false)
#1 /html/contao-2022/vendor/symfony/config/Util/XmlUtils.php(146): Symfony\Component\Config\Util\XmlUtils::parse('<?xml version="...', Array)
#2 /html/contao-2022/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(405): Symfony\Component\Config\Util\XmlUtils::loadFile('/html/contao-20...', Array)
#3 /html/contao-2022/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(50): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFileToDOM('/html/contao-20...')
#4 /html/contao-2022/vendor/doctrine/doctrine-bundle/DependencyInjection/DoctrineExtension.php(123): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->load('dbal.xml')
#5 /html/contao-202 in /html/contao-2022/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php on line 601
105 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php vendor/bin/contao-setup
Script @php vendor/bin/contao-setup handling the post-install-cmd event returned with error code 255
# Process terminated with exit code 255
# Result: Unknown error
Was nun?