Previous Thread
Next Thread
Print Thread
Hop To
#168432 11/17/2006 4:53 AM
Joined: Sep 2006
Posts: 18
stranger
stranger
Joined: Sep 2006
Posts: 18
I get this when I search my board. My skills are limited, and some community help would be appreciated.
Quote
Script: g:\home\admax.net\users\saabklubben.com\ubbthreads7\scripts\dosearch.inc.php
Line#: 565
SQL Error: You have an error in your SQL syntax near 'BOOLEAN MODE) AND t1.USER_ID = '' AND t1.POST_POSTED_TIME > '116366665' 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') AND t1.TOPIC_ID = t2.TOPIC_ID AND MATCH t1.POST_SUBJECT AGAINST ('saab' IN BOOLEAN MODE) AND t1.USER_ID = '' AND t1.POST_POSTED_TIME > '1163666656' ORDER BY t1.POST_POSTED_TIME DESC LIMIT 200

Last edited by Rick; 11/22/2006 6:27 PM.
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
Hi - You will need to be running MySQL version 4 at the minimum - my guess is you are running 3.x

Ian #168436 11/17/2006 5:31 AM
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
BTW - the minimum versions of PHP and MySQl are:-

Minimum version of PHP: 4.3
Minimum version of MySQL: 4.0

You might want to check with your host as to your version, and get them to upgrade smile

If you are on version 4.0+ of MySQL let us know smile

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
That was my guess at:

Originally Posted by MartinBe
Script: g:\home\admax.net\users\saabklubben.com\ubbthreads7\scripts\dosearch.inc.php
Line#: 565
SQL Error: You have an error in your SQL syntax near 'BOOLEAN MODE)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #168490 11/17/2006 6:27 PM
Joined: Sep 2006
Posts: 18
stranger
stranger
Joined: Sep 2006
Posts: 18
PHP is 4.3.4.
AFAIK, My SQL Client API version 3.23.49

I´ll adress the host

Thanks!

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
no problem - whilst many features will work under 3.x - the search is one that requires 4.x smile

Ian #168686 11/21/2006 9:38 AM
Joined: Sep 2006
Posts: 18
stranger
stranger
Joined: Sep 2006
Posts: 18
OK, thanks for the response. Here comes my final(?) question.

I am running the live board on UBBT 6.5.5.
The host also runs Mysql 5.0.15

Will a change to Mysql 5.0.15 affect UBBT 6.5.5?
(I know it´s a bit OT, but it affects my upgrade to 7.0.x)

If so, I will wait until 7.02 is up and running before we do the Mysql switch.

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
I am not sure if 6.5x is compatable with MySQL 5 - I would guess that it is not - you may get some errors.

Ian #168692 11/21/2006 11:37 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
You'll want to wait. 6.5 does not play nicely with MySQL 5.

Rick #168709 11/21/2006 3:05 PM
Joined: Sep 2006
Posts: 18
stranger
stranger
Joined: Sep 2006
Posts: 18
OK, thanks for the assistance! smile

Joined: Sep 2006
Posts: 18
stranger
stranger
Joined: Sep 2006
Posts: 18
After upgrading to 7.02 and appropriate MySql, I get:
Code
Script: g:\home\admax.net\users\saabklubben.com\ubbthreads\scripts\dosearch.inc.php
Line#: 565
SQL Error: You have an error in your SQL syntax near 'BOOLEAN MODE) OR MATCH t1.POST_DEFAULT_BODY AGAINST ('martin' IN' 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 ('12') AND t1.TOPIC_ID = t2.TOPIC_ID AND (MATCH t1.POST_SUBJECT AGAINST ('martin' IN BOOLEAN MODE) OR MATCH t1.POST_DEFAULT_BODY AGAINST ('martin' IN BOOLEAN MODE)) AND t1.POST_POSTED_TIME > '1165240557' ORDER BY t1.POST_POSTED_TIME DESC LIMIT 200

Any ideas appreciated.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
It's still not liking the BOOLEAN MODE portion. Are you sure that MySQL is version 4 or 5 now?

Joined: Sep 2006
Posts: 18
stranger
stranger
Joined: Sep 2006
Posts: 18
Hello
At least according to the Web provider, I will double check.

Joined: Jul 2007
Posts: 103
member
member
Joined: Jul 2007
Posts: 103
Same problem I have on my new installed board. It's MySQL 3.23.58 on an ensim box, so I cannot upgrade to 4.x frown. Any patches / changes I can do in making it work?

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Unfortunately, the minimum supported version is MySQL4; this is listed on the feature listing.

As far as mysql in Ensim, I've seen MySQL4.1 on Ensim before; so it's not impossible, likely it's just a webhost not wanting to preform upgrades wink...

Last edited by Gizmo; 07/09/2007 7:49 PM.

I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 872 guests, and 248 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)