Hallo liebe Leute,
ich bin neu in der Contao-Welt und kriege es einfach nicht hin, aus dieser Fehlermeldung schlau zu werden. Ich nutze MAMP auf Windows 10 und hatte schon Schwierigkeiten mit der PHP-Intl-Erweiterung usw. Jetzt hänge ich mich aber hierbei auf:
Fehlermeldung in der Konsole:
Code:
$ C:\MAMP\bin\php\php7.2.14\php.exe -q -c C:\MAMP\htdocs\contao-manager/php.ini C:/MAMP/htdocs/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-suggest --no-ansi --no-interaction --optimize-autoloader
contao/manager-plugin: Generating plugin class...
contao/manager-plugin: ...done generating plugin class
In YamlFileLoader.php line 663:
The file "C:\MAMP\htdocs\vendor\contao\manager-bundle\src/Resources/contao-
manager/doctrine.yml" does not contain valid YAML: The constant "PDO::MYSQL
_ATTR_MULTI_STATEMENTS: false" is not defined at line 24 (near "options: !p
hp/const:PDO::MYSQL_ATTR_MULTI_STATEMENTS: false")..
In Inline.php line 720:
The constant "PDO::MYSQL_ATTR_MULTI_STATEMENTS: false" is not defined at li
ne 24 (near "options: !php/const:PDO::MYSQL_ATTR_MULTI_STATEMENTS: false").
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Package oyejorge/less.php is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 113:
An error occurred while executing the "contao:install-web-dir" command:
In YamlFileLoader.php line 663:
The file "C:\MAMP\htdocs\vendor\contao\manager-bundle\src/Resources/conta
o-
manager/doctrine.yml" does not contain valid YAML: The constant "PDO::MYS
QL
_ATTR_MULTI_STATEMENTS: false" is not defined at line 24 (near "options:
!p
hp/const:PDO::MYSQL_ATTR_MULTI_STATEMENTS: false")..
In Inline.php line 720:
The constant "PDO::MYSQL_ATTR_MULTI_STATEMENTS: false" is not defined at
li
ne 24 (near "options: !php/const:PDO::MYSQL_ATTR_MULTI_STATEMENTS: false"
).
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>...]
# Process terminated with exit code 1
# Result: General error
---
### Der Hintergrundprozess wurde unerwartet beendet ###
Ich hoffe, mein Beitrag ist gut lesbar, das hier ist mein erstes Thema.
Beim Googeln bin ich nicht fündig geworden! Ich hoffe, jemand von euch kann mir helfen!
GLG
Lesezeichen