Letractively / eude

Automatically exported from code.google.com/p/eude
0 stars 0 forks source link

Problème à la creation d'un nouveau compte sur la 1.4.5 svn #258

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
= Description du bogue =
You have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near ')' at line 1

File: class/dataengine.class.php (Line: 99)
Function: parse_backtrace
Args: 

File: class/dataengine.class.php (Line: 653)
Function: sql
Args: INSERT INTO `SQL_PREFIX_Membres` (`Joueur`,`Points`,`Date`,`Grade`) 
VALUES('test','0',now(),)

File: register.php (Line: 37)
Function: NewUser
Args: test, 098f6bcd4621d373cade4e832627b4f6, 0, 0,

= Étapes pour reproduire =
1. Cliquer sur le bouton Créer un nouveau compte
2. Après enregistrer

Par contre le compte se crée bien dans User, mais pas visible dans la liste 
des membres

= Version / Lien de votre Data Engine =
Empire Universe 2: Data Engine (1.4.5) / http://testcarto.eu2empire.fr/

= Système d'exploitation / Navigateur =

= Nom/Caractéristiques hébergeur =

= Fichier(s) concerné/Correctif ? =

= Informations complémentaire =

** Inclure des copies de ce qui marche pas copier/coller/screenshot **

Original issue reported on code.google.com by jckubiac...@gmail.com on 20 Jul 2010 at 1:20

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r521.

Original comment by Alex10336@gmail.com on 20 Jul 2010 at 2:36

GoogleCodeExporter commented 8 years ago
Toujours la même erreur (copie des 3 fichier de la r521 réalise

You have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near ')' at line 1

File: class/dataengine.class.php (Line: 99)
Function: parse_backtrace
Args: 

File: class/dataengine.class.php (Line: 653)
Function: sql
Args: INSERT INTO `SQL_PREFIX_Membres` (`Joueur`,`Points`,`Date`,`Grade`) 
VALUES('test','0',now(),)

File: register.php (Line: 37)
Function: NewUser
Args: test, 098f6bcd4621d373cade4e832627b4f6, 0, 0, 

Original comment by jckubiac...@gmail.com on 20 Jul 2010 at 2:51

GoogleCodeExporter commented 8 years ago
Revalide la page Admin\Configuration ;)

Original comment by Alex10336@gmail.com on 20 Jul 2010 at 3:20

GoogleCodeExporter commented 8 years ago

Original comment by Alex10336@gmail.com on 20 Jul 2010 at 3:20

GoogleCodeExporter commented 8 years ago
Et penser a voir les orphelin que sa a généré dans la bdd :-/

Original comment by Alex10336@gmail.com on 20 Jul 2010 at 3:22

GoogleCodeExporter commented 8 years ago
OK Trouvé

Donc dans le fichier install.sql

a:9:{s:7:"version";s:0:"";s:9:"ForumLink";s:26:"https://code.google.com/p/eude/"
;s:11:"CanRegister";s:1:"0";s:12:"DefaultGrade";i:3;s:8:"MyEmpire";s:19:"";s:17:
"Parcours_Max_Time";i:0;s:16:"Parcours_Nearest";i:0;s:8:"eude_srv";s:11:"";s:6:"
closed";s:1:"0";}

Original comment by jckubiac...@gmail.com on 20 Jul 2010 at 3:28

GoogleCodeExporter commented 8 years ago
DefaultGrade qui posé problème

Original comment by jckubiac...@gmail.com on 20 Jul 2010 at 3:29

GoogleCodeExporter commented 8 years ago
nope, pas directement,

http://code.google.com/p/eude/source/diff?spec=svn521&old=512&r=521&format=unidi
ff&path=/branches/1.4.5/EAdmin.php

ligne 462

Original comment by Alex10336@gmail.com on 20 Jul 2010 at 3:56

GoogleCodeExporter commented 8 years ago
Si je peux me permettre, j'ai moi aussi un souci :
J'ai fait les corrections comme indiqué en r521
Le nouvel utilisateur est bien ajouté dans la bdd.
Seulement son "Accès" est sur "non-validé" et plus sur "invité" comme sur la 
version 1.4.2.3
Seulement, quand on clic sur "enregistrer", le dataengine essaye de se loger 
automatiquement mais n'y arrive pas, ce qui affiche un message "Session 
invalide !"
Si possible, ce serait bien que lorsqu'on clic sur "enregistrer" on soit 
rediriger vers une page indiquant "votre compte a bien été créé, il est en 
attente de validation par un administrateur" ou un truc dans le genre...

En tout cas Alex, cette nouvelle version du data déchire, super boulot ;)

Original comment by jorisgou...@gmail.com on 20 Jul 2010 at 4:33

GoogleCodeExporter commented 8 years ago
Je prend note :)

Et merci, mais je suis plus tout seul ;)

Original comment by Alex10336@gmail.com on 20 Jul 2010 at 4:42

GoogleCodeExporter commented 8 years ago
Issue 272 has been merged into this issue.

Original comment by Alex10336@gmail.com on 23 Jul 2010 at 2:12

GoogleCodeExporter commented 8 years ago
Issue 275 has been merged into this issue.

Original comment by Alex10336@gmail.com on 23 Jul 2010 at 12:29