|
Joined: Jun 2006
Posts: 53
journeyman
|
journeyman
Joined: Jun 2006
Posts: 53 |
I tried searching on my site but I am constantly getting the same error. Script: /home/httpd/vhosts/nprime.net/httpdocs/scripts/dosearch.inc.php Line#: 565 SQL Error: You have an error in your SQL syntax near 'BOOLEAN MODE) OR MATCH t1.POST_BODY AGAINST ('aberrant' IN BOOLEA' at line 9 SQL Error #: 1064 Query: SELECT t1.POST_ID FROM ubbt_POSTS as t1, ubbt_TOPICS as t2 WHERE t1.POST_IS_APPROVED = '1' AND t2.TOPIC_STATUS <> 'M' AND t2.FORUM_ID IN ('1','2','3','4','5','6','7','8','9','10','12','13','14','15','17','19','23','24','25','26','27','30','31','33','34','35','36','37','38','39','40','41','42','43','46','47','48','49','50','51','52','53','54','55','56','57') AND t1.TOPIC_ID = t2.TOPIC_ID AND (MATCH t1.POST_SUBJECT AGAINST ('aberrant' IN BOOLEAN MODE) OR MATCH t1.POST_BODY AGAINST ('aberrant' IN BOOLEAN MODE)) AND t1.POST_POSTED_TIME > '1159911615' ORDER BY t1.POST_POSTED_TIME DESC LIMIT 200
Last edited by Rick; 10/10/2006 10:09 PM.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
What version of MySQL are you running? It almost looks like you might be running an earlier version that does not support boolean mode queries.
|
|
|
|
Joined: Jun 2006
Posts: 53
journeyman
|
journeyman
Joined: Jun 2006
Posts: 53 |
Yeah, I don't have an up to day version of MySQL. Thanks.
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
0 members (),
591
guests, and
147
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|