erreur fatale lors d une recherche
Erreur fatale : invalid while request
Support des Modules
Chris Membre non connecté
Booster Fronde
-
Booster Fronde
- Voir le profil du membre Chris
- Inscrit le : 29/07/2009
Quelqu'un peut il m'aider ?
Merci a vous
erreur:
Erreur fatale : invalid while request
(SELECT
9 AS id_search,
a.id AS id_content,
a.title AS title,
( 2 * MATCH(a.title) AGAINST('iohkj') + MATCH(a.contents) AGAINST('iohkj') ) / 3 * 1 AS relevance, CONCAT(CONCAT(CONCAT('../articles/articles.php?id=',a.id),'&cat='),a.idcat) AS link
FROM php_b_articles a
LEFT JOIN php_b_articles_cats ac ON ac.id = a.idcat
WHERE
a.visible = 1 AND ((ac.aprob = 1 AND ac.auth LIKE '%s:3:"r-1";i:1;%') OR a.idcat = 0)
AND (MATCH(a.title) AGAINST('iohkj') OR MATCH(a.contents) AGAINST('iohkj'))
ORDER BY relevance DESC LIMIT 0, 10) UNION (SELECT 10 AS id_search,
d.id AS id_content,
d.title AS title,
( 3 * MATCH(d.title) AGAINST('iohkj') + 2 * MATCH(d.short_contents) AGAINST('iohkj') + MATCH(d.contents) AGAINST('iohkj') ) / 6 * 1 AS relevance, CONCAT('../download/download.php?id=',d.id) AS link
FROM php_b_download d
WHERE ( MATCH(d.title) AGAINST('iohkj') OR MATCH(d.short_contents) AGAINST('iohkj') OR MATCH(d.contents) AGAINST('iohkj') ) AND d.idcat IN (1) ORDER BY relevance DESC LIMIT 0, 100) UNION (SELECT 11 AS id_search,
f.id AS id_content,
f.question AS title,
( 2 * MATCH(f.question) AGAINST('iohkj') + MATCH(f.answer) AGAINST('iohkj') ) / 3 * 1 AS relevance, CONCAT(CONCAT(CONCAT(CONCAT(CONCAT('../faq/faq.php?id=',f.idcat),'&question='),f.id),'#q'),f.id) AS link
FROM php_b_faq f
WHERE ( MATCH(f.question) AGAINST('iohkj') OR MATCH(f.answer) AGAINST('iohkj') ) AND f.idcat IN (1,2) ORDER BY relevance DESC LIMIT 0, 100) UNION (SELECT 12 AS `id_search`,
msg.id AS `id_content`,
t.title AS `title`,
MATCH(t.title) AGAINST('iohkj') * 1 AS `relevance`,
CONCAT(CONCAT(CONCAT(CONCAT('..','/forum/topic.php?id='),t.id),'#m'),msg.id) AS `link`
FROM php_b_forum_msg msg
JOIN php_b_forum_topics t ON t.id = msg.idtopic
JOIN php_b_forum_cats c ON c.level != 0 AND c.aprob = 1 AND c.id = t.idcat
WHERE MATCH(t.title) AGAINST('iohkj')
GROUP BY t.id
ORDER BY relevance DESC LIMIT 0, 50) UNION (SELECT 13 AS id_search,
f.id AS id_content,
f.name AS title,
( 2 * MATCH(f.name) AGAINST('iohkj') + MATCH(f.contents) AGAINST('iohkj') ) / 3 * 1 AS relevance, CONCAT(CONCAT(CONCAT('../media/media.php?id=',f.id),'&cat='),f.idcat) AS link
FROM php_b_media f
WHERE ( MATCH(f.name) AGAINST('iohkj') OR MATCH(f.contents) AGAINST('iohkj') ) ORDER BY relevance DESC LIMIT 0, 100) UNION (SELECT 14 AS id_search,
n.id AS id_content,
n.title AS title,
( 2 * MATCH(n.title) AGAINST('iohkj') + (MATCH(n.contents) AGAINST('iohkj') + MATCH(n.extend_contents) AGAINST('iohkj')) / 2 ) / 3 * 1 AS relevance, CONCAT('../news/news.php?id=',n.id) AS link
FROM php_b_news n
WHERE ( MATCH(n.title) AGAINST('iohkj') OR MATCH(n.contents) AGAINST('iohkj') OR MATCH(n.extend_contents) AGAINST('iohkj') )
AND visible = 1 AND ('1257285322' > start AND ( end = 0 OR '1257285322' < end ) )
ORDER BY relevance DESC LIMIT 0, 100) UNION (SELECT 16 AS `id_search`,
`id` AS `id_content`,
`title` AS `title`,
((MATCH(title) AGAINST('iohkj') )* 1) AS `relevance`,
CONCAT('../wiki/wiki.php?title=',encoded_title) AS `link`
FROM php_b_wiki_articles
WHERE MATCH(title) AGAINST('iohkj'))
Illegal mix of collations for operation 'UNION'
Ligne 337 : search.class.php
horn Membre non connecté
-
Modérateur
- Voir le profil du membre horn
- Inscrit le : 31/12/2007
- Site internet
- Groupes :
-
Equipe Historique
J'ai déplacé de vieux sujets (créés avant le sous-forum recherche) dans ce sous-forum.
Tu y trouveras ton bonheur (plus particulièrement ici)
Soyez polis, pas de langage SMS et soignez votre orthographe, merci.
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie