Anomalie #884
ferméGalette v0.8.2dev. L'installation ne se termine pas correctement.
100%
Description
Il s'agit d'une installation neuve de la version de développement. En ligne chez OVH (Php 5.4.34 - MySql 5.1.73).
Le fichier de configuration est correctement créé mais les identifiant et mot de passe de l'administrateur ne sont pas insérés dans la base de données. L'erreur affichée est la suivante :
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`blablabla`.`galette_fields_config`, CONSTRAINT `galette_fields_config_ibfk_1` FOREIGN KEY (`id_field_category`) REFERENCES `galette_fields_categories` (`id_field_category`))' in /home/xyz/galette/includes/Zend-2.3.1/Zend/Db/Adapter/Driver/Pdo/Statement.php:240 Stack trace: #0 /home/xyz/galette/includes/Zend-2.3.1/Zend/Db/Adapter/Driver/Pdo/Statement.php(240): PDOStatement->execute() #1 /home/xyz/galette/lib/Galette/Entity/FieldsConfig.php(816): Zend\Db\Adapter\Driver\Pdo\Statement->execute(Array) #2 /home/xyz/galette/lib/Galette/Entity/FieldsConfig.php(300): Galette\Entity\FieldsConfig->_insert(Object(Galette\Core\Db), Array) #3 /home/xyz/galette/lib/Galette/Entity/FieldsConfig.php(151): Galette\Entity\FieldsConfig->_checkUpdate() #4 /home/xyz/galette/lib/Galette/Core/Install.php(1095): Galette\Entit in /home/xyz/galette/includes/Zend-2.3.1/Zend/Db/Adapter/Driver/Pdo/Statement.php on line 245