Liste der Anhänge anzeigen (Anzahl: 2)
Zitat:
Zitat von
Spooky
Warum muss das auch in den XmlFileLoader.php?
Hallo Spooky,
ich versuche stundenlang Contao 4 unter PHP 8 zui nstallieren. Ich habe es x mal versucht mit PHP 8.0 und PHP 8.1 und den Contao Version 4.9 und 4.13
Dieses Problem
Anhang 25995
konnte ich mit dem Tip von MrLumbergh, eine php.ini anzulegen, lösen.
Leider bricht die Installation immer an diese Stelle hier ab:
Anhang 25996
Ich dachte den Exit Code 255 mit dem Tip von Tastaturberuf lösen zu können.
Ich habe eben auch deinen Tip vendor/contao/contao/manager-bundle/bin/contao-setup
Code:
@ini_set('sys_temp_dir', '/is/htdocs/user_tmp/wp…');
ausprobiert. Leider ohne Erfolg. Die Installation stoppt wieder mit dem Fehler Code 255.
Gibt es noch eine andere Lösung?
Vielen Dank im voraus ...
Liste der Anhänge anzeigen (Anzahl: 1)
@lucina - da hast Du völlig Recht - ich bereite gerade den Umzug vor, ich hoffe, der Kunde stimmt zu...
@Spoky sorry, ich hatte Deine Frage überlesen. In der Regel bemühe ich mich immer zu antworten... :)
Der Fehler ist seit gestern zu sehen und ich kann ihn nicht beheben:
Code:
$ /usr/bin/php8.1 -q -c /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/contao-manager/php.ini -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/web/contao-manager.phar.php composer require contao/manager-bundle=4.13.5 contao/news-bundle=4.13.5 contao/calendar-bundle=4.13.5 contao/faq-bundle=4.13.5 contao/comments-bundle=4.13.5 contao/newsletter-bundle=4.13.5 contao/listing-bundle=4.13.5 --no-update --no-scripts --prefer-stable --sort-packages --no-ansi --no-interaction
/is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/composer.json has been updated
# Process terminated with exit code 0
# Result: OK
> Resolving dependencies using Composer Cloud v3.8.1
[6.8MiB/0.20s] Loading composer repositories with package information
[67.4MiB/9.35s] Updating dependencies
[25.1MiB/10.24s] Lock file operations: 10 installs, 21 updates, 9 removals
[25.1MiB/10.24s] - Removing composer/package-versions-deprecated (1.11.99.5)
[25.1MiB/10.24s] - Removing contao/maintenance-bundle-deprecated (v2.1.9)
[25.1MiB/10.24s] - Removing contao/polyfill-symfony (1.0.0)
[25.1MiB/10.24s] - Removing patchwork/utf8 (v1.3.3)
[25.1MiB/10.24s] - Removing ramsey/uuid (3.9.7)
[25.1MiB/10.24s] - Removing symfony/debug (v4.4.44)
[25.1MiB/10.24s] - Removing true/punycode (v2.1.1)
[25.1MiB/10.24s] - Removing webmozart/assert (1.11.0)
[25.1MiB/10.24s] - Removing webmozart/path-util (2.3.0)
[25.1MiB/10.25s] - Upgrading contao/calendar-bundle (4.12.7 => 4.13.5)
[25.1MiB/10.25s] - Upgrading contao/comments-bundle (4.12.7 => 4.13.5)
[25.1MiB/10.25s] - Upgrading contao/core-bundle (4.12.7 => 4.13.5)
[25.1MiB/10.25s] - Upgrading contao/faq-bundle (4.12.7 => 4.13.5)
[25.1MiB/10.25s] - Upgrading contao/installation-bundle (4.12.7 => 4.13.5)
[25.1MiB/10.25s] - Upgrading contao/listing-bundle (4.12.7 => 4.13.5)
[25.1MiB/10.25s] - Upgrading contao/manager-bundle (4.12.7 => 4.13.5)
[25.1MiB/10.25s] - Upgrading contao/news-bundle (4.12.7 => 4.13.5)
[25.1MiB/10.25s] - Upgrading contao/newsletter-bundle (4.12.7 => 4.13.5)
[25.1MiB/10.25s] - Locking dflydev/dot-access-data (v3.0.3)
[25.1MiB/10.25s] - Upgrading doctrine/annotations (1.14.4 => 2.0.2)
[25.1MiB/10.25s] - Upgrading doctrine/dbal (2.13.9 => 3.9.3)
[25.1MiB/10.25s] - Upgrading doctrine/doctrine-bundle (2.7.2 => 2.13.1)
[25.1MiB/10.25s] - Upgrading doctrine/lexer (2.1.1 => 3.0.1)
[25.1MiB/10.26s] - Upgrading league/commonmark (1.6.7 => 2.6.0)
[25.1MiB/10.26s] - Locking league/config (v1.2.0)
[25.1MiB/10.26s] - Locking league/flysystem (3.29.1)
[25.1MiB/10.26s] - Locking league/flysystem-bundle (2.4.0)
[25.1MiB/10.26s] - Locking league/flysystem-local (3.29.0)
[25.1MiB/10.26s] - Locking league/mime-type-detection (1.16.0)
[25.1MiB/10.26s] - Locking nette/schema (v1.3.2)
[25.1MiB/10.26s] - Locking nette/utils (v4.0.5)
[25.1MiB/10.26s] - Downgrading psr/http-message (2.0 => 1.1)
[25.1MiB/10.26s] - Upgrading symfony/deprecation-contracts (v2.5.4 => v3.5.1)
[25.1MiB/10.26s] - Downgrading symfony/error-handler (v6.3.12 => v5.4.46)
[25.1MiB/10.26s] - Downgrading symfony/mime (v6.4.13 => v5.4.45)
[25.1MiB/10.26s] - Downgrading symfony/password-hasher (v6.4.13 => v5.4.45)
[25.1MiB/10.26s] - Locking symfony/polyfill-uuid (v1.31.0)
[25.1MiB/10.26s] - Downgrading symfony/security-csrf (v6.4.13 => v5.4.45)
[25.1MiB/10.26s] - Downgrading symfony/string (v6.4.15 => v5.4.47)
[25.1MiB/10.27s] - Locking symfony/uid (v5.4.45)
[24.5MiB/10.28s] Writing lock file
[13.6MiB/10.32s] <warning>Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.</warning>
[13.8MiB/10.62s] <warning>Found 10 security vulnerability advisories affecting 2 packages.</warning>
[13.8MiB/10.62s] Run "composer audit" for a full list of advisories.
[14.3MiB/10.62s] Memory usage: 14.25MB (peak: 162.76MB), time: 10.63s.
[14.3MiB/10.63s] Finished Composer Cloud resolving.
# Job ID 0T95I17oWdtz4iZ2SuW8eTsigBa9MN1E9t3GBk0wvfjy7YeFAasC6HcaRwlKpMOY1RgSCwvuTdeX6qsHz73pH5jmXkKOSCfsGKlv completed in 16 seconds
# Memory usage: 14.25MB (peak: 162.76MB), time: 10.63s.
$ /usr/bin/php8.1 -q -c /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/contao-manager/php.ini -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/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.
Nothing to install, update or remove
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Generating optimized autoload files
contao/manager-plugin: Dumping generated plugins file...
contao/manager-plugin: ...done dumping generated plugins file
Notice: tempnam(): file created in the system's temporary directory in /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php on line 710
Fatal error: Uncaught ValueError: Path cannot be empty in /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php:718
Stack trace:
#0 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(718): file_put_contents('', '<?xml version="...')
#1 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(684): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->shouldEnableEntityLoader()
#2 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/config/Util/XmlUtils.php(89): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->validateSchema(Object(DOMDocument), false)
#3 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/config/Util/XmlUtils.php(146): Symfony\Component\Config\Util\XmlUtils::parse('<?xml version="...', Array)
#4 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(405): Symfony\Component\Config\Util\XmlUtils::loadFile('/is/htdocs/wp10...', Array)
#5 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php(50): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFileToDOM('/is/htdocs/wp10...')
#6 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/doctrine/doctrine-bundle/src/DependencyInjection/DoctrineExtension.php(179): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->load('dbal.xml')
#7 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/doctrine/doctrine-bundle/src/DependencyInjection/DoctrineExtension.php(116): Doctrine\Bundle\DoctrineBundle\DependencyInjection\DoctrineExtension->dbalLoad(Array, Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#8 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php(76): Doctrine\Bundle\DoctrineBundle\DependencyInjection\DoctrineExtension->load(Array, Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#9 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php(42): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process(Object(Contao\ManagerPlugin\Config\ContainerBuilder))
#10 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/dependency-injection/Compiler/Compiler.php(82): Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process(Object(Contao\ManagerPlugin\Config\ContainerBuilder))
#11 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/dependency-injection/ContainerBuilder.php(757): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Contao\ManagerPlugin\Config\ContainerBuilder))
#12 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/http-kernel/Kernel.php(546): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#13 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/contao/manager-bundle/src/HttpKernel/ContaoKernel.php(296): Symfony\Component\HttpKernel\Kernel->initializeContainer()
#14 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/http-kernel/Kernel.php(789): Contao\ManagerBundle\HttpKernel\ContaoKernel->initializeContainer()
#15 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/http-kernel/Kernel.php(128): Symfony\Component\HttpKernel\Kernel->preBoot()
#16 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/framework-bundle/Console/Application.php(168): Symfony\Component\HttpKernel\Kernel->boot()
#17 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/framework-bundle/Console/Application.php(74): Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands()
#18 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/console/Application.php(171): Symfony\Bundle\FrameworkBundle\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/contao/manager-bundle/bin/contao-setup(44): Symfony\Component\Console\Application->run()
#20 /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/bin/contao-setup(119): include('/is/htdocs/wp10...')
#21 {main}
thrown in /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php on line 718
107 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
Ich vermute, das ist der Fehler:
Code:
Notice: tempnam(): file created in the system's temporary directory in /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php on line 710
Fatal error: Uncaught ValueError: Path cannot be empty in /is/htdocs/wp1070959_K2E5A8CGKR/www/neuinstallation21/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php:718
Ich habe auch die composer.yaml bis auf den core geleert, composer.lock gelöscht und auch den vendor-Ordner komplett entfernt. Danach ein Install gemacht. Aber auch das composer install lässt sich nicht mehr ausführen...