Open jpgaulier opened 12 months ago
Pour l'instant (et jusqu'à ce qu'on rentre en phase beta), Chamilo 2 a toujours des problèmes avec les versions de PHP différentes de 8.1. Te serait-il possible de tester avec 8.1 et de nous dire si ça règle le problème ? (attention à bien avoir 8.1 au niveau de php-cli pour le composer update).
I have the same problem with PHP 8.1
I found the reason. It's because I agreed to execute recipes when running composer install
. It added the line
Sonata\Exporter\Bridge\Symfony\SonataExporterBundle::class => ['all' => true],
to config/bundles.php
Description du problème Problème durant l'installation de Chamilo 2 sur une installation fraîche de Debian 12.
Comment le reproduire Durant le
composer install
oucomposer update
, le script s'arrête et retourne l'erreur suivante :Comportement attendu Finalisation de l'installation. On peut bypasser la partie script du composer.json en faisant un
composer update --no-scripts
ce qui permet de dépasser ce problème et de finaliser l'installation, mais le problème réapparaît alors sur l'interface web au moment de la finalisation de l'installation.La partie du composer.json concernée :
Captures d'écran
Lors de l'installation web, si on a au préalable forcé l'installation composer avec l'option
--no-scripts
sur l'url : http://X.X.X.X/main/install/index.php?running=1&installType=new&updateFromConfigFile=0**Serveur