Hi zusammen,
ich habe bei der Installation einer Webseite auf einem Netcup-Server folgendes Problem:
HTML-Code:
$ /usr/local/php81/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/vhosts/hosting145221.a2e91.netcup.net/breakoutmoments.de/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: 0 installs, 1 update, 0 removals
- Downloading laminas/laminas-code (4.7.1)
- Upgrading laminas/laminas-code (4.7.0 => 4.7.1): Extracting archive
Package contao-components/highlight is abandoned, you should avoid using it. No replacement was suggested.
Package menatwork/contao-multicolumnwizard is abandoned, you should avoid using it. Use menatwork/contao-multicolumnwizard-bundle instead.
Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating optimized autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
contao/manager-plugin: Dumping generated plugins file...
contao/manager-plugin: ...done dumping generated plugins file
Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
101 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Added the web/index.php file.
Added the web/app.php file.
Added the web/preview.php file.
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
// Clearing the cache for the dev environment with debug
// true
[OK] Cache for the "dev" environment (debug=true) was successfully cleared.
// Warming up the cache for the prod environment with debug
// false
11:17:22 CRITICAL [console] Error thrown while running command "cache:warmup --env=prod --no-ansi". Message: "You have requested a non-existent service "monolog.logger.contao.cron". Did you mean this: "monolog.logger.contao"?" ["exception" => Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "You have requested a non-existent service "monolog.logger.contao.cron". Did you mean this: "monolog.logger.contao"?"]
In Container.php line 289:
You have requested a non-existent service "monolog.logger.contao.cron". Did
you mean this: "monolog.logger.contao"?
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--] <command>
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 97:
An error occurred while executing the "cache:warmup" command: 11:17:22 CRIT
ICAL [console] Error thrown while running command "cache:warmup --env=prod
--no-ansi". Message: "You have requested a non-existent service "monolog.l
ogger.contao.cron". Did you mean this: "monolog.logger.contao"?" ["exceptio
n" => Symfony\Component\DependencyInjection\Exception\ServiceNotFoundExcept
ion { …},"command" => "cache:warmup --env=prod --no-ansi","message" => "You
have requested a non-existent service "monolog.logger.contao.cron". Did yo
u mean this: "monolog.logger.contao"?"]
In Container.php line 289:
You have requested a non-existent service "monolog.logger.contao.cron". D
id
you mean this: "monolog.logger.contao"?
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--
verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--en
v ENV] [--] <command>
install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
# Process terminated with exit code 1
# Result: General error
Genutzt wird PHP 8.1
Contao ist in der Version 4.9.36 installiert
Front- und Backend funktionieren ganz normal. Nur beim Versenden des Kontaktformulars tritt ein Fehler auf. Das Formular wird jedoch erfolgreich versendet
Vorab vielen Dank!
Manuel