Erreur requête mysql

Here you can find plenty of help with your general coding needs and projects
If it is about a specific program, use the corresponding forum
DO NOT ask basic questions such as "How do I print a variable", use Google for that

Erreur requête mysql

Postby hepha » Fri Feb 29, 2008 5:03 pm

Bonjour,

Je ne parle pas un seul mot d'anglais malheureusement,
et suis donc obligé de vous demander de l'aide en français.

j'ai installé roster, et j'ai une énorme erreur de requête mysql lors de l'affichage en bas de la page.

Si quelqu'un pouvais m'aider à résoudre ce problème.

Code: Select all
This page was created in 0.29 seconds with 18 queries executed

      
   SQL Queries    
   
SELECT `config_name`, `config_value` FROM `roster_config` ORDER BY `id` ASC;
SELECT * FROM `roster_guild` WHERE `guild_name` = 'Hope wind' AND `server` = 'Throk\'Feroth'
SELECT `guild_id`, `guild_dateupdatedutc` FROM `roster_guild` WHERE `guild_name` = 'Hope wind' AND `server` ='Throk\'Feroth'
SELECT IF(`note` LIKE '%alt%',1,0) AS 'isalt',
FLOOR(`level`/10) AS levelgroup,
COUNT(`level`) AS amount,
SUM(`level`) AS sum
FROM `roster_members`
GROUP BY isalt, levelgroup
ORDER BY isalt ASC, levelgroup DESC
SELECT `name`, `lifetimeRankName` FROM `roster_players` ORDER BY `lifetimeHighestRank`DESC, `lifetimeHK` DESC LIMIT 0 , 1
SELECT `name`, `lifetimeHK` FROM `roster_players` ORDER BY `lifetimeHK` DESC, `lifetimeHighestRank` DESC LIMIT 0 , 1
SELECT `name`, `honorpoints` FROM `roster_players` ORDER BY `honorpoints` DESC LIMIT 0 , 1
SELECT `name`, `arenapoints` FROM `roster_players` ORDER BY `arenapoints` DESC LIMIT 0 , 1
SELECT `guild`, COUNT(`guild`) AS countg FROM `roster_pvp2` WHERE `win` = '1' AND `enemy` = '1' GROUP BY `guild` ORDER BY countg DESC
SELECT `guild`, COUNT(`guild`) AS countg FROM `roster_pvp2` WHERE `win` = '0' AND `enemy` = '1' GROUP BY `guild` ORDER BY countg DESC
SELECT `name`, COUNT(`name`) AS countg FROM `roster_pvp2` WHERE `win` = '1' AND `enemy` = '1' GROUP BY `name` ORDER BY countg DESC
SELECT `name`, COUNT(`name`) AS countg FROM `roster_pvp2` WHERE `win` = '0' AND `enemy` = '1' GROUP BY `name` ORDER BY countg DESC
SELECT pvp2.member_id, members.name AS gn, COUNT(pvp2.member_id) AS countg FROM `roster_pvp2` pvp2 LEFT JOIN `roster_members` members ON members.member_id = pvp2.member_id WHERE win = '1' AND enemy = '1' GROUP BY pvp2.member_id ORDER BY countg DESC
SELECT pvp2.member_id, members.name AS gn, COUNT(pvp2.member_id) as countg FROM `roster_pvp2` pvp2 LEFT JOIN `roster_members` members ON members.member_id = pvp2.member_id WHERE win = '0' AND enemy = '1' GROUP BY pvp2.member_id ORDER BY countg DESC
SELECT pvp2.member_id, members.name as gn, AVG(pvp2.`leveldiff`) as ave, COUNT(pvp2.member_id) as countg FROM `roster_pvp2` pvp2 LEFT JOIN `roster_members` members ON members.member_id = pvp2.member_id WHERE win = '1' AND enemy = '1' GROUP BY pvp2.member_id ORDER BY ave DESC
SELECT pvp2.member_id, members.name as gn, AVG(pvp2.`leveldiff`) as ave, COUNT(pvp2.member_id) as countg FROM `roster_pvp2` pvp2 LEFT JOIN `roster_members` members ON members.member_id = pvp2.member_id WHERE win = '0' AND enemy = '1' GROUP BY pvp2.member_id ORDER BY ave DESC
SELECT `members`.`member_id`, `members`.`name`, `members`.`class`, `members`.`note`, IF( `members`.`note` IS NULL OR `members`.`note` = '', 1, 0 ) AS 'nisnull', `members`.`level`, `members`.`guild_rank`, `members`.`guild_title`, `members`.`zone`, DATE_FORMAT( `members`.`last_online`, '%d/%m/%Y %H:%i:%s' ) AS 'last_online', `players`.`race`, `players`.`lifetimeRankName`, `players`.`lifetimeHighestRank`, IF( `players`.`lifetimeHighestRank` IS NULL OR `players`.`lifetimeHighestRank` = '0', 1, 0 ) AS 'risnull', `players`.`exp`, `players`.`server`, `players`.`clientLocale` , `players`.`hearth`, IF( `players`.`hearth` IS NULL OR `players`.`hearth` = '', 1, 0 ) AS 'hisnull', `players`.`dateupdatedutc` AS 'last_update', IF( `players`.`dateupdatedutc` IS NULL OR `players`.`dateupdatedutc` = '', 1, 0 ) AS 'luisnull' FROM `roster_members` AS members LEFT JOIN `roster_players` AS players ON `members`.`member_id` = `players`.`member_id` AND `members`.`guild_id` = '1' ORDER BY `members`.`level` DESC, `members`.`name` ASC
SELECT * FROM `roster_skills` WHERE `member_id` = '17' AND (`skill_type` = 'Métiers' OR `skill_type` = 'Compétences secondaires') ORDER BY `skill_order` ASC


merçi de votre aide à tous
hepha
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Fri Feb 29, 2008 4:57 pm

Erreur requête mysql

Postby PleegWat » Fri Feb 29, 2008 5:28 pm

English translation: He doesn't speak a word of english, and he thinks those are sql error messages. Anyone know enough french to tell him they aren't?
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: Erreur requête mysql

Postby tuigii » Fri Feb 29, 2008 5:40 pm

PleegWat wrote:... Anyone know enough french to tell him they aren't?

Ok, je m'occupe :wink:

Hepha,

L'exemple que tu montre n'est pas une erreur, mais simplement les requêtes SQL, qui sont utilisé pour questionner la base des données.
Très utile pour voir si des problèmes arrive, car WoWRoster 1.9.9.1665 est toujours en mode Beta.

Ces requêtes SQL sont affichées par défaut, mais probablement inutile pour toi :wink:

Depuis peu, nous avons la possibilité de ne plus les afficher.... ça tombe bien pour toi je pense ^^.

Alors, on peut les cacher : va vers la section Utilitaires => PC Roster et dans la fenêtre qui s'affiche, coche No pour 'SQL Windows'.
Valide en bas de la page.
Fini.
Last edited by tuigii on Fri Feb 29, 2008 5:41 pm, edited 1 time in total.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Erreur requête mysql

Postby hepha » Fri Feb 29, 2008 9:32 pm

un grand merçi pour votre aide c'est gentil :)
hepha
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Fri Feb 29, 2008 4:57 pm


Return to General Code Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron