google-code-backups / 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