Message d'erreur lors d'une recherche
Help me please two !
Support Général
cdmfifa Membre non connecté
Booster Fronde
-
Booster Fronde
- Voir le profil du membre cdmfifa
- Inscrit le : 20/09/2009
- Site internet
Je reçois un message d'erreur lorsque j'utilise le moteur de recherche sur mon site : http://cdmfifa.free.fr/.
Quelqu'un a déjà eu le problème (note mon site est hébergé chez Free).
Merci par avance.
Sébastien.
Le Message :
Erreur fatale : invalid while request
(SELECT
90 AS id_search,
a.id AS id_content,
a.title AS title,
( 2 * MATCH(a.title) AGAINST('barthez') + MATCH(a.contents) AGAINST('barthez') ) / 3 * 1 AS relevance, CONCAT(CONCAT(CONCAT('../articles/articles.php?id=',a.id),'&cat='),a.idcat) AS link
FROM phpboost_articles a
LEFT JOIN phpboost_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('barthez') OR MATCH(a.contents) AGAINST('barthez'))
ORDER BY relevance DESC LIMIT 0, 20) UNION (SELECT 91 AS id_search,
d.id AS id_content,
d.title AS title,
( 3 * MATCH(d.title) AGAINST('barthez') + 2 * MATCH(d.short_contents) AGAINST('barthez') + MATCH(d.contents) AGAINST('barthez') ) / 6 * 1 AS relevance, CONCAT('../download/download.php?id=',d.id) AS link
FROM phpboost_download d
WHERE ( MATCH(d.title) AGAINST('barthez') OR MATCH(d.short_contents) AGAINST('barthez') OR MATCH(d.contents) AGAINST('barthez') ) ORDER BY relevance DESC LIMIT 0, 100) UNION (SELECT 92 AS id_search,
f.id AS id_content,
f.question AS title,
( 2 * MATCH(f.question) AGAINST('barthez') + MATCH(f.answer) AGAINST('barthez') ) / 3 * 1 AS relevance, CONCAT(CONCAT(CONCAT(CONCAT(CONCAT('../faq/faq.php?id=',f.idcat),'&question='),f.id),'#q'),f.id) AS link
FROM phpboost_faq f
WHERE ( MATCH(f.question) AGAINST('barthez') OR MATCH(f.answer) AGAINST('barthez') ) AND f.idcat IN (2,1) ORDER BY relevance DESC LIMIT 0, 100) UNION (SELECT 93 AS `id_search`,
msg.id AS `id_content`,
t.title AS `title`,
MATCH(t.title) AGAINST('barthez') * 1 AS `relevance`,
CONCAT(CONCAT(CONCAT(CONCAT('..','/forum/topic.php?id='),t.id),'#m'),msg.id) AS `link`
FROM phpboost_forum_msg msg
JOIN phpboost_forum_topics t ON t.id = msg.idtopic
JOIN phpboost_forum_cats c ON c.level != 0 AND c.aprob = 1 AND c.id = t.idcat
WHERE MATCH(t.title) AGAINST('barthez')
GROUP BY t.id
ORDER BY relevance DESC LIMIT 0, 50) UNION (SELECT 94 AS id_search,
f.id AS id_content,
f.name AS title,
( 2 * MATCH(f.name) AGAINST('barthez') + MATCH(f.contents) AGAINST('barthez') ) / 3 * 1 AS relevance, CONCAT(CONCAT(CONCAT('../media/media.php?id=',f.id),'&cat='),f.idcat) AS link
FROM phpboost_media f
WHERE ( MATCH(f.name) AGAINST('barthez') OR MATCH(f.contents) AGAINST('barthez') ) AND f.idcat IN (1,2) ORDER BY relevance DESC LIMIT 0, 100) UNION (SELECT 95 AS id_search,
n.id AS id_content,
n.title AS title,
( 2 * MATCH(n.title) AGAINST('barthez') + (MATCH(n.contents) AGAINST('barthez') + MATCH(n.extend_contents) AGAINST('barthez')) / 2 ) / 3 * 1 AS relevance, CONCAT('../news/news.php?id=',n.id) AS link
FROM phpboost_news n
WHERE ( MATCH(n.title) AGAINST('barthez') OR MATCH(n.contents) AGAINST('barthez') OR MATCH(n.extend_contents) AGAINST('barthez') )
AND visible = 1 AND ('1253547575' > start AND ( end = 0 OR '1253547575' < end ) )
ORDER BY relevance DESC LIMIT 0, 100) UNION (SELECT 97 AS `id_search`,
`id` AS `id_content`,
`title` AS `title`,
((MATCH(title) AGAINST('barthez') )* 1) AS `relevance`,
CONCAT('../wiki/wiki.php?title=',encoded_title) AS `link`
FROM phpboost_wiki_articles
WHERE MATCH(title) AGAINST('barthez'))
Illegal mix of collations for operation 'UNION'
Ligne 337 : search.class.php
Qui trébuche mais ne tombe pas avance son chemin
KONA Membre non connecté
Booster Fusée
-
Booster Fusée
- Voir le profil du membre KONA
- Inscrit le : 21/05/2006
- Site internet
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie
