Liste der Anhänge anzeigen (Anzahl: 1)
Lokale Installation von contao 4.9 in MAMP mit php7.4.2 unvollständig / bricht ab
Hallo zusammen,
ich habe heute versucht contao 4.9 lokal in meinem aktuellen MAMP mit contao-manager.phar.php in meinem vhost http://contao49.loc:8888 installieren.
Es startet gut, der Contao-Manager erscheint im Browser und es sieht so aus, als ob alles gut ist.
Alles grün abgehakt:
Code:
Systemprüfung
Bitte warten, Ihr Server wird überprüft …
PHP-Webprozess
PHP Version 7.4.2, keine bekannten Probleme gefunden.
Serverkonfiguration
Konfiguriert als MAMP (macOS), PHP-Binary in /Applications/MAMP/bin/php/php7.4.2/bin/php.
PHP Kommandozeilen-Programm
PHP Version 7.4.2, keine bekannten Probleme gefunden.
Updates für den Contao Manager
Sie verwenden die aktuelle Version 1.2.4.
Composer-Umgebung
Keine bekannten Probleme gefunden.
Contao-Installation
Contao 4.9.0 (API-Version 2) gefunden.
Es fehlen aber viele Verzeichnisse, /contao/install ist nicht vorhanden.
composer.json und mein Verzeichnis sieht so aus.
Die Fehlermeldung aus der Manager console so:
Code:
In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla tform version. You can circumvent this by setting a 'server_version' configuration value
For further information have a look at: https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 93:
An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for u ser 'root'@'localhost' (using password: NO)
In PDOConnection.php line 31:
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using pas sword: NO)
In PDOConnection.php line 27:
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using pas sword: NO)
Loading composer repositories with package information Installing dependencies from lock file Nothing to install or update 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 88:
An error occurred while executing the "contao:install-web-dir" command: In ConnectionFactory.php line 79:
An exception occured while establishing a connection to figure out your pla tform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
In AbstractMySQLDriver.php line 93:
An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for u ser 'root'@'localhost' (using password: NO)
In PDOConnection.php line 31:
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using p as sword: NO)
In PDOConnection.php line 27:
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using p as sword: NO)
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 ###
Lokale Installation von contao 4.9 in MAMP mit php7.4.2 unvollständig / bricht ab
Zitat:
hast du virtual hosts benutzt um die Installation im Browser aufzurufen?
Ich setze ja Mamp Pro ein, dort kann ich für jedes Projekt einen neuen Host anlegen.
Gruß Michael