Projet

Général

Profil

Actions

Anomalie #529

fermé

Galette v0.7.4dev. Installation bloquée à l'étape "Sauvegarde des paramètres".

Ajouté par Roland Telle il y a environ 11 ans. Mis à jour il y a environ 11 ans.

Statut:
Fermé
Priorité:
Haut
Assigné à:
Catégorie:
-
Version cible:
-
Début:
07/02/2013
Echéance:
% réalisé:

100%

Temps estimé:
Version utilisée:

Description

Il s'agit d'une Galette v0.7.4dev(nightly) installée sous Xampp 1.8.1 (Php 5.4.7, MySql 5.5.27)

Logs de l'installation :

::1 - 2013-02-07 04:22:10 - 5 - PHP Notice: Use of undefined constant GALETTE_TPL_SUBDIR - assumed 'GALETTE_TPL_SUBDIR' in D:\xampp\htdocs\galette074\lib\Galette\Core\I18n.php on line 265
::1 - 2013-02-07 04:22:10 - 5 - PHP Notice: Use of undefined constant GALETTE_TPL_SUBDIR - assumed 'GALETTE_TPL_SUBDIR' in D:\xampp\htdocs\galette074\lib\Galette\Core\I18n.php on line 265
::1 - 2013-02-07 04:24:32 - 5 - PHP Notice: Undefined offset: 3 in D:\xampp\htdocs\galette074\install\index.php on line 960
::1 - 2013-02-07 04:24:32 - 5 - PHP Notice: Undefined offset: 2 in D:\xampp\htdocs\galette074\install\index.php on line 960
::1 - 2013-02-07 04:24:32 - 5 - PHP Notice: Undefined offset: 3 in D:\xampp\htdocs\galette074\install\index.php on line 960
::1 - 2013-02-07 04:24:32 - 5 - PHP Notice: Undefined offset: 2 in D:\xampp\htdocs\galette074\install\index.php on line 960
::1 - 2013-02-07 04:24:54 - 5 - PHP Notice: Undefined offset: 0 in D:\xampp\htdocs\galette074\lib\Galette\Entity\Title.php on line 99
::1 - 2013-02-07 04:24:54 - 5 - PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\galette074\lib\Galette\Entity\Title.php on line 99
::1 - 2013-02-07 04:24:54 - 5 - PHP Notice: Undefined offset: 0 in D:\xampp\htdocs\galette074\lib\Galette\Entity\Title.php on line 100
::1 - 2013-02-07 04:24:54 - 5 - PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\galette074\lib\Galette\Entity\Title.php on line 100
::1 - 2013-02-07 04:24:54 - 5 - PHP Notice: Use of undefined constant _CURRENT_TEMPLATE_PATH - assumed '_CURRENT_TEMPLATE_PATH' in D:\xampp\htdocs\galette074\lib\Galette\Core\Picture.php on line 267
::1 - 2013-02-07 04:24:54 - 4 - PHP Warning: getimagesize(_CURRENT_TEMPLATE_PATHimages/default.png): failed to open stream: No such file or directory in D:\xampp\htdocs\galette074\lib\Galette\Core\Picture.php on line 280

Mis à jour par Johan Cwiklinski il y a environ 11 ans

Pour avoir eu exactement le même problème lors d'un test de mise à jour hier, je crains que ce soit encore le #523 qui fait des siennes :/

De mon côté, recharger la page a suffit pour terminer l'installation ; au pire, l'instance devrait être active et il devrait suffire d'utiliser le bouton de réinitialisation des champs (plugin admintools) pour que tout rentre dans l'ordre.

Mis à jour par Roland Telle il y a environ 11 ans

Johan Cwiklinski a écrit :

Pour avoir eu exactement le même problème lors d'un test de mise à jour hier, je crains que ce soit encore le #523 qui fait des siennes :/

Peut-être ;) Les logs ne t'inspirent pas ? :)

De mon côté, recharger la page a suffit pour terminer l'installation ;

Ca n'a pas fonctionné pour moi. La table galette_preferences est restée résolument vide.

au pire, l'instance devrait être active

Certes mais sans accès possible. J'ai pris les valeurs de cette table dans une version 0.7.3.2 et j'ai pu effectivement accéder à Galette avec les droits Superadmin. Mais il a été impossible de s'auto-inscrire ou d'inscrire un adhérent (pages quasi vides).

et il devrait suffire d'utiliser le bouton de réinitialisation des champs (plugin admintools) pour que tout rentre dans l'ordre.

Presque ;) En première approche, je n'ai pas de valeurs pour Titre.

Mis à jour par Roland Telle il y a environ 11 ans

Hm! Je croyais la table pré-remplie...
L'ajout d'un titre n'a pas fonctionné :

(et il y a une petite coquille dans le message d'alerte).

Mais quand on corrige le nom du champ, ça marche ! :)

Mis à jour par Roland Telle il y a environ 11 ans

La nightly du 8.2.2013 corrige presque tout :

Un clic sur le bouton "Réessayer" corrige tout.

Logs :

::1 - 2013-02-08 01:37:56 - 5 - PHP Notice: Undefined offset: 3 in D:\xampp\htdocs\galette074\install\index.php on line 966
::1 - 2013-02-08 01:37:56 - 5 - PHP Notice: Undefined offset: 2 in D:\xampp\htdocs\galette074\install\index.php on line 966
::1 - 2013-02-08 01:37:56 - 5 - PHP Notice: Undefined offset: 3 in D:\xampp\htdocs\galette074\install\index.php on line 966
::1 - 2013-02-08 01:37:56 - 5 - PHP Notice: Undefined offset: 2 in D:\xampp\htdocs\galette074\install\index.php on line 966
::1 - 2013-02-08 01:38:17 - 3 - [Galette\Entity\FieldsConfig] An error occured trying to initialize fields configuration for table `galette_adherents`.SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`galette074`.`galette_fields_config`, CONSTRAINT `galette_fields_config_ibfk_1` FOREIGN KEY (`id_field_category`) REFERENCES `galette_fields_categories` (`id_field_category`))
::1 - 2013-02-08 01:38:17 - 3 - [Galette\Entity\FieldsConfig] An error occured trying to initialize fields configuration for table `galette_adherents`.SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'position' cannot be null
::1 - 2013-02-08 01:39:06 - 5 - PHP Notice: Constant TYPE_DB already defined in D:\xampp\htdocs\galette074\install\index.php on line 116
::1 - 2013-02-08 01:39:06 - 5 - PHP Notice: Constant USER_DB already defined in D:\xampp\htdocs\galette074\install\index.php on line 119
::1 - 2013-02-08 01:39:06 - 5 - PHP Notice: Constant PWD_DB already defined in D:\xampp\htdocs\galette074\install\index.php on line 120
::1 - 2013-02-08 01:39:06 - 5 - PHP Notice: Constant HOST_DB already defined in D:\xampp\htdocs\galette074\install\index.php on line 121
::1 - 2013-02-08 01:39:06 - 5 - PHP Notice: Constant PORT_DB already defined in D:\xampp\htdocs\galette074\install\index.php on line 122
::1 - 2013-02-08 01:39:06 - 5 - PHP Notice: Constant NAME_DB already defined in D:\xampp\htdocs\galette074\install\index.php on line 123
::1 - 2013-02-08 01:39:07 - 5 - PHP Notice: Constant PREFIX_DB already defined in D:\xampp\htdocs\galette074\install\index.php on line 1181
::1 - 2013-02-08 01:39:54 - 5 - PHP Notice: Constant TYPE_DB already defined in D:\xampp\htdocs\galette074\install\index.php on line 116
::1 - 2013-02-08 01:39:54 - 5 - PHP Notice: Constant USER_DB already defined in D:\xampp\htdocs\galette074\install\index.php on line 119
::1 - 2013-02-08 01:39:54 - 5 - PHP Notice: Constant PWD_DB already defined in D:\xampp\htdocs\galette074\install\index.php on line 120
::1 - 2013-02-08 01:39:54 - 5 - PHP Notice: Constant HOST_DB already defined in D:\xampp\htdocs\galette074\install\index.php on line 121
::1 - 2013-02-08 01:39:54 - 5 - PHP Notice: Constant PORT_DB already defined in D:\xampp\htdocs\galette074\install\index.php on line 122
::1 - 2013-02-08 01:39:54 - 5 - PHP Notice: Constant NAME_DB already defined in D:\xampp\htdocs\galette074\install\index.php on line 123

Le champ Titre est initialisé en anglais :

Merci ;)

Mis à jour par Johan Cwiklinski il y a environ 11 ans

  • % réalisé changé de 0 à 90
  • Statut changé de Nouveau à In Progress
  • Assigné à mis à Johan Cwiklinski

Roland Telle a écrit :

La nightly du 8.2.2013 corrige presque tout :

Un clic sur le bouton "Réessayer" corrige tout.

Chouette :-)

S'il s'agit d'une nouvelle installation ; il restait en effet une coquille que j'ai corrigée de mon côté, mais pas commité encore ;)

Le champ Titre est initialisé en anglais :

Gnierf, j'y ai pas pensé à celle là :-/

Il n'existe pas de système de traduction pour les titres actuellement (voir #505) ; il va donc falloir que je fasse en sorte qu'il soient dans la bonne langue à l'installation.

Merci :)

Mis à jour par Roland Telle il y a environ 11 ans

Après le commit f9815db360cdce4b08943fa735651ff4a2dbb676, l'installation se déroule sans difficulté particulière bien que les logs affichent encore une erreur :

::1 - 2013-02-08 07:56:14 - 5 - PHP Notice: Undefined offset: 3 in D:\xampp\htdocs\galette074\install\index.php on line 966
::1 - 2013-02-08 07:56:14 - 5 - PHP Notice: Undefined offset: 2 in D:\xampp\htdocs\galette074\install\index.php on line 966
::1 - 2013-02-08 07:56:15 - 5 - PHP Notice: Undefined offset: 3 in D:\xampp\htdocs\galette074\install\index.php on line 966
::1 - 2013-02-08 07:56:15 - 5 - PHP Notice: Undefined offset: 2 in D:\xampp\htdocs\galette074\install\index.php on line 966
::1 - 2013-02-08 07:56:36 - 3 - [Galette\Entity\FieldsConfig] An error occured trying to initialize fields configuration for table `galette_adherents`.SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`galette074`.`galette_fields_config`, CONSTRAINT `galette_fields_config_ibfk_1` FOREIGN KEY (`id_field_category`) REFERENCES `galette_fields_categories` (`id_field_category`))

Merci ;)

Mis à jour par Roland Telle il y a environ 11 ans

Une réinstallation avec la nightly du 9.2.2013 confirme le commentaire ci-dessus. Logs identiques.

Mis à jour par Roland Telle il y a environ 11 ans

En revanche, la page d' auto-inscription, la page Ajouter un adhérent et la page Réinitialiser la configuration des champs (Outils Admin) sont blanches.

::1 - 2013-02-09 03:08:26 - 5 - PHP Notice: Undefined variable: i18n in D:\xampp\htdocs\galette074\lib\Galette\Entity\Adherent.php on line 212

Une action sur le bouton Réinitialiser le contenu des emails (Outils Admin) ne déclenche aucune alerte excepté dans les logs :

::1 - 2013-02-09 03:09:23 - 4 - PHP Warning: Missing argument 1 for Galette\Entity\Texts::__construct(), called in D:\xampp\htdocs\galette074\plugins\AdminTools\admintools.php on line 69 and defined in D:\xampp\htdocs\galette074\lib\Galette\Entity\Texts.php on line 193
::1 - 2013-02-09 03:09:23 - 5 - PHP Notice: Undefined variable: preferences in D:\xampp\htdocs\galette074\lib\Galette\Entity\Texts.php on line 212
::1 - 2013-02-09 03:09:23 - 5 - PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\galette074\lib\Galette\Entity\Texts.php on line 212
::1 - 2013-02-09 03:09:23 - 5 - PHP Notice: Undefined variable: preferences in D:\xampp\htdocs\galette074\lib\Galette\Entity\Texts.php on line 213
::1 - 2013-02-09 03:09:23 - 5 - PHP Notice: Trying to get property of non-object in D:\xampp\htdocs\galette074\lib\Galette\Entity\Texts.php on line 213

Mis à jour par Johan Cwiklinski il y a environ 11 ans

Roland Telle a écrit :

En revanche, la page d' auto-inscription, la page Ajouter un adhérent et la page Réinitialiser la configuration des champs (Outils Admin) sont blanches.

Excès de zèle de ma part (et accessoirement, je devais avoir nettoyé mes lunettes avec un bout de gras de jambon...) :-/ Corrigé dans le develop.

Une action sur le bouton Réinitialiser le contenu des emails (Outils Admin) ne déclenche aucune alerte excepté dans les logs :

Héhé, ouais, je l'ai eue hier celle là ; mais je bossais sur autre chose, j'ai pas commité le correctif encore :)

Pour l'erreur qui persiste à l'installation, je vais essayer de reproduire.

Mis à jour par Roland Telle il y a environ 11 ans

Une réinstallation après le Commit ecea8fdf00f95e65cf40cd61846bdc02788063b2 de la v0.7.4dev et le Commit 2bb60739a83b34b4300487c55ccac0e5a8126c45 du plugin AdminTools règle tout excepté l'erreur à l'installation dans les logs :

::1 - 2013-02-09 10:45:02 - 3 - [Galette\Entity\FieldsConfig] An error occured trying to initialize fields configuration for table `galette_adherents`.SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`galette074`.`galette_fields_config`, CONSTRAINT `galette_fields_config_ibfk_1` FOREIGN KEY (`id_field_category`) REFERENCES `galette_fields_categories` (`id_field_category`))

Il restera à traiter dans ce ticket la traduction du champ Titre

Je passe à l'installation en ligne puis à la mise à jour en ligne d'une version précédente.

Merci ;)

Mis à jour par Johan Cwiklinski il y a environ 11 ans

  • Statut changé de In Progress à Résolu
  • % réalisé changé de 90 à 100

Mis à jour par Johan Cwiklinski il y a environ 11 ans

  • Statut changé de Résolu à Fermé
Actions

Formats disponibles : Atom PDF