Le 24/09/2014 21:30, Johan Cwiklinski a écrit :
> Il aurait été intéressant tout de même de connaître l'erreur rencontrée

Et, comme indiqué ici :
http://galette.eu/documentation/fr/development/codage.html#behavior
j'ai mis un fichier behavior dans le dossier config. Ça donne çà :

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
(`utqp_v1`.`galette_fields_config`, CONSTRAINT
`galette_fields_config_ibfk_1` FOREIGN KEY (`id_field_category`)
REFERENCES `galette_fields_categories` (`id_field_category`))' in
nnn/galette/includes/Zend-2.3.1/Zend/Db/Adapter/Driver/Pdo/Statement.php:240
Stack trace: #0
nnn/galette/includes/Zend-2.3.1/Zend/Db/Adapter/Driver/Pdo/Statement.php(240):
PDOStatement->execute() #1
nnn/galette/lib/Galette/Entity/FieldsConfig.php(574):
Zend\Db\Adapter\Driver\Pdo\Statement->execute(Array) #2
nnn/galette/lib/Galette/Entity/FieldsConfig.php(227):
Galette\Entity\FieldsConfig->_insert(Object(Galette\Core\Db), Array) #3
nnn/galette/lib/Galette/Entity/FieldsConfig.php(116):
Galette\Entity\FieldsConfig->_checkUpdate() #4 nnn in
nnn/galette/includes/Zend-2.3.1/Zend/Db/Adapter/Driver/Pdo/Statement.php
on line 245

ça peut aider à comprendre ce qui se passe ?
merci !



_______________________________________________
Galette-discussion mailing list
Galette-discussion@gna.org
https://mail.gna.org/listinfo/galette-discussion

Répondre à