Last modified: 2005-01-29 04:42:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1357 - searching for 1-3 letter query or 'help' gives mysql error 1.4beta5
searching for 1-3 letter query or 'help' gives mysql error 1.4beta5
Status: RESOLVED DUPLICATE of bug 1368
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-01-18 21:23 UTC by Jason Trost
Modified: 2005-01-29 04:42 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Jason Trost 2005-01-18 21:23:26 UTC
If you search for a 1 to 3 letter query, or 'help', I get this error:

 A database query syntax error has occurred. This may indicate a bug in the
software. The last attempted database query was:

    SELECT cur_id, cur_namespace, cur_title, cur_text FROM `cur`,`searchindex`
WHERE cur_id=si_page AND AND cur_namespace IN (0) LIMIT 0,20 

from within function "". MySQL returned error "1064: You have an error in your
SQL syntax near 'AND cur_namespace IN (0) LIMIT 0,20 ' at line 1 (localhost)

I'm using php-mysql-5.0.2-7, php-5.0.2-7, php-pear-5.0.2-7, php-devel-5.0.2-7,
php-ldap-5.0.2-7, mysql-devel-, mysql-server-3.23.58-14 on fedora core 3.

Comment 1 Zigger 2005-01-29 04:42:34 UTC

*** This bug has been marked as a duplicate of 1368 ***

Note You need to log in before you can comment on or make changes to this bug.