Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
4 registered (PianoWorld, theskyking, WebMagic, 1 invisible), 13 Guests and 22 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 01/30/08
Posts: 22
Top Posters (30 Days)
Ruben Rocha 165
Rick 116
Gizmo 105
Thelockman 61
driv 50
AllenAyres 35
ScriptKeeper 34
Mark S 30
Ian 30
phoebe 25
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#213101 - 05/21/08 02:46 AM 6.5.5. Search function doesn´t work
storck Offline
stranger

Registered: 03/14/08
Posts: 13
Hi!

After the Upgrade to 6.5.5. the search doesn´t work.

This is the Error message:

Script: /www/htdocs/w0093949/gefahrgutforen/ubbthreads/dosearch.php
Line#: 572
SQL Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 13
SQL Error #: 1064
Query: SELECT B_Number FROM w3t_Posts WHERE B_Approved = 'yes' AND B_Status <> 'M' AND B_Board IN ('imdgdeutsch','adrrid','praxis','austria','kontroll','Werbung','Luft','test','technik','familie','events','abfall') AND B_Posted > '1210757920' AND ( (B_Subject LIKE '%adr%' OR B_Body LIKE '%adr%')) ORDER BY B_Posted DESC LIMIT


It´s an issue with the database but I do not really understand what is exactly wrong.... frown

Top
#213170 - 05/21/08 09:42 AM Re: 6.5.5. Search function doesn´t work [Re: storck]
AllenAyres Moderator Offline

****

Registered: 12/29/03
Posts: 1628
Loc: Texas
It sounds like either a corrupted file (you might try and re-upload search-related /scripts and /templates) or your version of MySQL - is your MySQL at at least version 4?
_________________________
- Allen
- ThreadsDev | PraiseCafe

Top
#213215 - 05/22/08 01:34 AM Re: 6.5.5. Search function doesn´t work [Re: AllenAyres]
storck Offline
stranger

Registered: 03/14/08
Posts: 13
Yes, the Version of the Server is 4.0.25 - so it should be work.
You mean the script "dosearch.php" is corrupt and also the "dosearch.tmpl" ???? Or should be some more related files??

Top
#213417 - 05/26/08 08:17 AM Re: 6.5.5. Search function doesn´t work [Re: storck]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7883
Loc: Aberdeen, WA
It looks like the limit is missing, the query ends with:

ORDER BY B_Posted DESC LIMIT

You should check the Search settings in the control panel and make sure there is a maximum results per search setting.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#213418 - 05/26/08 08:35 AM Re: 6.5.5. Search function doesn´t work [Re: Rick]
storck Offline
stranger

Registered: 03/14/08
Posts: 13
Great!!!! Now it works!!!! A small setting with a big effect.

Thanks! smile

Top


Shout Box

Today's Birthdays
Eric Flyxe, mark_l_88@yahoo.com
Recent Topics
restricting a media tag to a single forum...
by bakerzdosen
Yesterday at 12:52 PM
Recover topics??
by femistyle
Yesterday at 12:22 PM
duplicate entries in viewmessage.php lang file (7.4.1)
by alnadabi
Yesterday at 05:54 AM
Order of variables in language files should be permanent
by alnadabi
Yesterday at 05:12 AM
How do I set Moderation Queue for an individual user?
by luket
11/20/08 11:28 AM
Forum Stats
4249 Members
33 Forums
30488 Topics
154661 Posts

Max Online: 978 @ 06/24/07 08:19 PM