Hm, dies sollte eigentlich lauten: http://contao44.local/contao/install
Der vhost Eintrag sollte dann bei Dir auf "C:\xampp\htdocs\contao44\web" gesetzt sein/werden ...
Freelancer, Digital Design Enthusiast, Contao Aficionado and Tutorial Junkie @MoinFranko - Carpe diem ...
Rechtsklick auf die Verknüpfung "xampp-control" auf dem Desktop (oder halt im Verzeichnis) und dann "Als Administrator ausführen" - dann über das Control Panel die Shell starten.
Oder direkt auf die "xampp-shell" Verknüpfung mit Rechtsklick "Als Administrator ausführen" ...
Oder auch wie hier beschrieben vorgehen: https://community.contao.org/de/show...l=1#post464521
Freelancer, Digital Design Enthusiast, Contao Aficionado and Tutorial Junkie @MoinFranko - Carpe diem ...
So, jetzt schaut das so aus:
C:\xampp\htdocs\contao44\htdocs\web (und alles andere)
httpd-vhosts.conf:
XAMPP als Administrator ausgeführt (ihr seht, ich bin ahnungslos) :Code:NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs" ServerName localhost <Directory "C:/xampp/htdocs/"> AllowOverride All Allow from All </Directory> </VirtualHost> <VirtualHost *:80> ServerName contao44.local DocumentRoot "C:/xampp/htdocs/contao44/web" ErrorLog "logs/contao44-error.log" CustomLog "logs/contao44-access.log" common <Directory "C:/xampp/htdocs/contao44/"> AllowOverride All Allow from All </Directory> </VirtualHost>
Beim Aufruf von http://contao44.local/contao/install bekomme ich jetzt ein "Objekt nicht gefunden" ...Code:bibib@DESKTOP-xxxxx C:\xampp\htdocs\contao44\htdocs\web # composer install No composer.json in current directory, do you want to use the one at C:\xampp\htdocs\contao44\htdocs? [Y,n]? y Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating autoload files contao/manager-plugin: Generating plugin class... contao/manager-plugin: ...done generating plugin class > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication Added/updated the web/app.php file. Added/updated the web/app_dev.php file. // Clearing the cache for the prod environment with debug false [OK] Cache for the "prod" environment (debug=false) was successfully cleared. // Warming up the cache for the prod environment with debug false [OK] Cache for the "prod" environment (debug=false) was successfully warmed. Trying to install assets as relative symbolic links. --------- ------------------------ ------------------ Bundle Method / Error --------- ------------------------ ------------------ WARNING ContaoCoreBundle absolute symlink WARNING ContaoFaqBundle absolute symlink WARNING ContaoNewsBundle absolute symlink WARNING ContaoNewsletterBundle absolute symlink WARNING ContaoCalendarBundle absolute symlink WARNING ContaoCommentsBundle absolute symlink --------- ------------------------ ------------------ [OK] All assets were successfully installed. Added/updated the system/initialize.php file. Symlinked the system/config/tcpdf.php file. ---- ------------------------ ---------------------------------------------------------------- Symlink Target / Error ---- ------------------------ ---------------------------------------------------------------- OK system/themes/flexible vendor/contao/core-bundle/src/Resources/contao/themes/flexible OK web/assets assets OK web/system/themes system/themes OK system/logs var/logs ---- ------------------------ ----------------------------------------------------------------
Irgendwie habe ich Deine Pfad Konstellation nicht verstanden.
Du hast "C:\xampp\htdocs" und befindest Dich in diesem Verzeichnis. Dann kannst Du:
Oder Du befindest Dich im Verzeichnis "C:\xampp\htdocs\contao44". Dann:Code:composer create-project contao/managed-edition contao44 4.4.x
Du solltest also dann u.a. im Anschluß ein Verzeichnis "C:\xampp\htdocs\contao44\web" haben und dieses in der vhost nutzen ...Code:composer create-project contao/managed-edition . 4.4.x
Freelancer, Digital Design Enthusiast, Contao Aficionado and Tutorial Junkie @MoinFranko - Carpe diem ...
Sorry, wie Du Deine Verzeichnisse verschachtelst ist eigentlich egal.
Wenn Du aber wie oben beschrieben "C:\xampp\htdocs\contao44\htdocs\web" vorliegen hast, dann ist Dein vhost Eintrag falsch:
Der müsste dann ja lauten:Code:DocumentRoot "C:/xampp/htdocs/contao44/web"
Die Composer Befehle setzt Du dann im Verzeichnis "C:\xampp\htdocs\contao44\htdocs" ab - denn hier befindet sich dann ja auch die "composer.json" ...Code:DocumentRoot "C:/xampp/htdocs/contao44/htdocs/web"
Freelancer, Digital Design Enthusiast, Contao Aficionado and Tutorial Junkie @MoinFranko - Carpe diem ...
Ja, ist schon klar, das war ein typischer Copy & Paste-Fehler, - ich hab versehentlich einen htdocs-Ordner unterhalb von contao44 angelegt, den ich eigentlich gar nicht wollte. Nun sollte alles soweit passen. Ich nehme jetzt aber den Weg über den Contao-Manager (der mittlerweile 930 Sekunden läuft - aber das ist dann ein anderes Problem ...).
Vielen Dank für deine Hilfe!
Denke daran, das der CM standardmäßig den "Composer Cloud Resolver" aktiviert - den brauchst Du so ja nicht.
Im CM unter der "Serverkonfiguration" den "Composer Cloud Resolver" einfach deaktivieren ...
Freelancer, Digital Design Enthusiast, Contao Aficionado and Tutorial Junkie @MoinFranko - Carpe diem ...
An der Stelle wo du den Composer bemühst habe ich dann die contao-manager.phar.php eingesetzt. Dies hatte funktioniert, auch wenn ich zwischendurch diverse Fehlermeldungen bekomme. Seltsamerweise funktionierte es dann meistens beim 2. Versuch.
Einmal hatte ich glaube ich, aus welchem Grund auch immer plötzlich eine .htaccess über /web/ liegen.
Ein anderes mal diese Fehlermeldungen (sorry keine Logdateien vorhanden):
Jetzt hab ich die Fehlermeldung wieder (Pakete aktualisieren):
Beim 2. Versuch kommt da auch diese Fehlermeldung, er läuft dann aber erfolgreich durch und das hier ist die Ausgabe:Code:$ C:^\XAMPP^\php^\php.exe "-q" "C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php" "composer" "update" "contao/manager-bundle" "contao/calendar-bundle" "contao/comments-bundle" "contao/faq-bundle" "contao/listing-bundle" "contao/news-bundle" "contao/newsletter-bundle" "terminal42/contao-easy_themes" "--with-dependencies" "--prefer-dist" "--no-dev" "--no-progress" "--no-suggest" "--no-ansi" "--no-interaction" "--optimize-autoloader" 2>&1 Loading composer repositories with package information Updating dependencies Package operations: 0 installs, 1 update, 0 removals - Updating doctrine/doctrine-cache-bundle (1.3.3 => 1.3.4): Downloading (100%) Writing lock file Generating optimized autoload files RuntimeException: Unable to write config file to C:\__SITES__\contao44\htdocs\contao-manager/composer-update.get.json in phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/terminal42/background-process/src/AbstractProcess.php:76 Stack trace: #0 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/terminal42/background-process/src/ProcessRunner.php(215): Terminal42\BackgroundProcess\AbstractProcess::writeConfig('C:\\__SITES__\\co...', Array) #1 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/terminal42/background-process/src/ProcessRunner.php(112): Terminal42\BackgroundProcess\ProcessRunner->saveConfig() #2 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/terminal42/background-process/src/ProcessRunner.php(53): Terminal42\BackgroundProcess\ProcessRunner->wait(1) #3 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/terminal42/background-process/src/Command/ProcessRunnerCommand.php(36): Terminal42\BackgroundProcess\ProcessRunner->run() #4 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/symfony/console/Command/Command.php(251): Terminal42\BackgroundProcess\Command\ProcessRunnerCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #5 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/symfony/console/Application.php(964): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #6 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(Terminal42\BackgroundProcess\Command\ProcessRunnerCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #7 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/api/ApiApplication.php(70): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #8 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/symfony/console/Application.php(148): Contao\ManagerApi\ApiApplication->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #9 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/api/console(83): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 C:\__SITES__\contao44\htdocs\web\contao-manager.phar.php(55): require('phar://C:/__SIT...') #11 {main} # Process terminated with exit code -1 # Result: Unknown error
Vielleicht kannst du im ersten Thread an der Stelle wo du mit der Konsole arbeitest nochmal auf den Manager hinweisen (auch wenn das momentan noch so fehlerhaft ist).Code:Console task complete! The background task was completed successfully. Check the console protocol for the details. Datenbank aktualisieren $ C:^\XAMPP^\php^\php.exe "-q" "C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php" "composer" "update" "contao/manager-bundle" "contao/calendar-bundle" "contao/comments-bundle" "contao/faq-bundle" "contao/listing-bundle" "contao/news-bundle" "contao/newsletter-bundle" "terminal42/contao-easy_themes" "--with-dependencies" "--prefer-dist" "--no-dev" "--no-progress" "--no-suggest" "--no-ansi" "--no-interaction" "--optimize-autoloader" 2>&1 Loading composer repositories with package information Updating dependencies Nothing to install or update Writing lock file Generating optimized autoload files contao/manager-plugin: Generating plugin class... contao/manager-plugin: ...done generating plugin class > Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication Added/updated the web/app.php file. Added/updated the web/app_dev.php file. // Clearing the cache for the prod environment with debug // false [OK] Cache for the "prod" environment (debug=false) was successfully cleared. // Warming up the cache for the prod environment with debug // false [OK] Cache for the "prod" environment (debug=false) was successfully warmed. Trying to install assets as relative symbolic links. --------- ------------------------ ------------------ Bundle Method / Error --------- ------------------------ ------------------ WARNING ContaoCoreBundle absolute symlink WARNING ContaoFaqBundle absolute symlink WARNING ContaoNewsBundle absolute symlink WARNING ContaoNewsletterBundle absolute symlink WARNING ContaoCalendarBundle absolute symlink WARNING ContaoCommentsBundle absolute symlink --------- ------------------------ ------------------ [OK] All assets were successfully installed. Added/updated the system/initialize.php file. Symlinked the system/config/tcpdf.php file. ---- ------------------------------------- ---------------------------------------------------------------- Symlink Target / Error ---- ------------------------------------- ---------------------------------------------------------------- OK web/system/modules/easy_themes/html system/modules/easy_themes/html OK system/themes/flexible vendor/contao/core-bundle/src/Resources/contao/themes/flexible OK web/assets assets OK web/system/themes system/themes OK system/logs var/logs ---- ------------------------------------- ---------------------------------------------------------------- RuntimeException: Unable to write config file to C:\__SITES__\contao44\htdocs\contao-manager/composer-update.get.json in phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/terminal42/background-process/src/AbstractProcess.php:76 Stack trace: #0 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/terminal42/background-process/src/ProcessRunner.php(215): Terminal42\BackgroundProcess\AbstractProcess::writeConfig('C:\\__SITES__\\co...', Array) #1 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/terminal42/background-process/src/ProcessRunner.php(112): Terminal42\BackgroundProcess\ProcessRunner->saveConfig() #2 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/terminal42/background-process/src/ProcessRunner.php(53): Terminal42\BackgroundProcess\ProcessRunner->wait(1) #3 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/terminal42/background-process/src/Command/ProcessRunnerCommand.php(36): Terminal42\BackgroundProcess\ProcessRunner->run() #4 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/symfony/console/Command/Command.php(251): Terminal42\BackgroundProcess\Command\ProcessRunnerCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #5 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/symfony/console/Application.php(964): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #6 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/symfony/console/Application.php(248): Symfony\Component\Console\Application->doRunCommand(Object(Terminal42\BackgroundProcess\Command\ProcessRunnerCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #7 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/api/ApiApplication.php(70): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #8 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/vendor/symfony/console/Application.php(148): Contao\ManagerApi\ApiApplication->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #9 phar://C:/__SITES__/contao44/htdocs/web/contao-manager.phar.php/api/console(83): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 C:\__SITES__\contao44\htdocs\web\contao-manager.phar.php(55): require('phar://C:/__SIT...') #11 {main} # Process terminated with exit code 0 # Result: OK
Geändert von Andreas (08.11.2018 um 15:23 Uhr)
Bitte!
Vor Anfragen im Forum HTML validieren.
Codesnippets hier im Froum sauber einrücken. Nur Tabs o. nur Leerzeichen verwenden.
Vielen Dank an alle Wunschlistenerfüller
Andreas Burg, Web Solutions
Damit man auch mit https:// arbeiten kann habe ich diesen Eintrag in die C:\xampp\apache\conf\extra\httpd-vhosts.conf hinzugefügt
Ein Zertifikat musste ich seltsamerweise nicht erstellen.Code:<VirtualHost contao44.local:443> ServerAlias *.local VirtualDocumentRoot "C:/__SITES__/%1/htdocs/web" SSLEngine On SSLCertificateFile "C:/xampp/apache/conf/ssl.crt/server.crt" SSLCertificateKeyFile "C:/xampp/apache/conf/ssl.key/server.key" </VirtualHost>
Evtl. kannst du dies oben noch ergänzen.
Bitte!
Vor Anfragen im Forum HTML validieren.
Codesnippets hier im Froum sauber einrücken. Nur Tabs o. nur Leerzeichen verwenden.
Vielen Dank an alle Wunschlistenerfüller
Andreas Burg, Web Solutions
Freelancer, Digital Design Enthusiast, Contao Aficionado and Tutorial Junkie @MoinFranko - Carpe diem ...
Ja, genau, danke.
Bitte!
Vor Anfragen im Forum HTML validieren.
Codesnippets hier im Froum sauber einrücken. Nur Tabs o. nur Leerzeichen verwenden.
Vielen Dank an alle Wunschlistenerfüller
Andreas Burg, Web Solutions
Wie würde das ganze denn unter macOS X funktionieren ??? Weil da hab ich jetzt nichts spezielles gefunden.
Ausser halt das mit MAMP Pro
Gesendet von iPhone mit Tapatalk Pro
Hallo Franko
Ich habe aktuell Probleme mit XAMPP 7.3.2.
Da die Installation hier doch recht 'einfach' tönt habe ich XAMPP 7.2.15 testhalber auch installiert und die php.ini verglichen.
Zum Beispiel ist da die 'falsche' openssl Angabe 'openssl.cafile="C:\xampp\apache\bin\curl-ca-bundle.crt" auch vorhanden. Es befindet sich auch in dieser Version keine Datei curl-ca-bundle.crt im genannten Ordner.
Hattest Du damit keine Probleme ?
Hast Du mir evtl. noch einen Tipp was ich bei meinem Problem mit der php_intl.dll noch machen kann ?
Danke und Gruss
Beat
Hallo,
ich nutze zur Zeit kein Xampp mehr (bin auf Docker umgestiegen).
Deine Angaben sind in den genannten Links ja dokumentiert inkl. https://community.apachefriends.org/...=77929#p263952 ...
Lg
Frank
Freelancer, Digital Design Enthusiast, Contao Aficionado and Tutorial Junkie @MoinFranko - Carpe diem ...
Danke Frank
Ich habe erst nach meiner Frage an Dich im Apacheforum das Problem inkl. Lösung gefunden.
Gruss
Beat
Hallo, da ich schon lange nicht mehr lokal Xampp benutze:
Hat jemand Lust eine aktuelle Zusammenfassung hierzu für die Contao Dokumentation zu schreiben?
Bereich wäre dann hier: https://docs.contao.org/manual/de/an...-installation/
Freelancer, Digital Design Enthusiast, Contao Aficionado and Tutorial Junkie @MoinFranko - Carpe diem ...
Etwas spät - Aber:
Für die Contao Doku hinsichtlich XAMPP ist ein Guide in der Pipeline: https://github.com/contao/docs/pull/695
Hier bin ich auch ansatzweise auf die SSL/Zertifikat Geschichte in einer custom vHost Umsetzung eingegangen.
Hintergrund:
Du kannst dir in aktuellen XAMPP Installationen via "apache/makecert.bat" ein eigenes, lokales Zertifikat erstellen lassen.
Deine Angaben sind hier grundsätzlich beliebig. Lediglich die Angabe bei "Common Name" muss deinem aktuellen, lokalen Domain Namen entsprechen.
Dies generiert dann ein neues V1-Zertifikat.
Dein Browser wird dir dennoch einen Warnhinweis ausgeben, da dieser das lokal erstelltes Zertifikat zwar erkennt aber zunächst nicht vertraut.
Dies kannst du aber ohne weiteres ignorieren und im Browser deine lokale Domain als Ausnahme bestätigen.
In z.B. Firefox ist dies kein Problem.
Im aktuellen Chrome Browser ist es etwas "umständlicher". Das lokale Zertifikat selbst (*.prt) musst du hier grundsätzlich als Ausnahme hinzufügen.
In aktuellen Chrome Versionen reicht hierzu ein V1-Zertifikat (mit "Common Name") allein nicht mehr aus.
(s.a.: https://stackoverflow.com/questions/...e-name-missing)
Infos und Lösungen hierzu z.B.:
- https://gist.github.com/adnan360/ad2...omment-2573559
- https://gist.github.com/LeonSkrilec/...140e018c967e7f
Obige Angaben sind nur notwendig wenn dich der andauernde Chrome Hinweis stört.
Freelancer, Digital Design Enthusiast, Contao Aficionado and Tutorial Junkie @MoinFranko - Carpe diem ...
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
Lesezeichen