vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Can't find FULLTEXT index matching the column list (https://vborg.vbsupport.ru/showthread.php?t=154706)

jgommel 08-08-2007 09:10 PM

Can't find FULLTEXT index matching the column list
 
Hello all! I recently ported my vBulletin site from 3.6.5 to 3.6.8, but have started to get a few database errors like the one below. My question is, which column am I to be concerned with? Which one do I need to add FULLTEXT to? I can do this thru phpmyadmin, but just want to make sure I'm adding it to the right one. I was thinking it would be 'threadid', but just not sure. I don't want to start changing all my columns to FULLTEXT if I don't need to.

I'm assuming these sudden database errors are the result of a recent mod installed. Short of disabling the mods and troubleshooting each individual install... yikes.

----------------------------------------------------------------------------

Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT
DISTINCT thread.threadid
FROM vb_thread AS thread
INNER JOIN vb_post AS post ON(thread.threadid = post.threadid )
WHERE MATCH(post.title, post.pagetext) AGAINST ('TET Offensive') AND thread.forumid NOT IN (0,61,75,21,20,57,41,86,52,87,108,121,122,123,126, 84,85,28,90,29,30,31,88,89,111 ,109,62,63,64) AND post.visible = 1
LIMIT 500;

MySQL Error : Can't find FULLTEXT index matching the column list
Error Number : 1191
Date : Wednesday, August 8th 2007 @ 06:08:14 AM

----------------------------------------------------------------------------

Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT
DISTINCT thread.threadid
FROM vb_thread AS thread
INNER JOIN vb_post AS post ON(thread.threadid = post.threadid )
WHERE MATCH(post.title, post.pagetext) AGAINST ('Team Application') AND thread.forumid NOT IN (0,86,28,62) AND post.visible = 1
LIMIT 500;

MySQL Error : Can't find FULLTEXT index matching the column list
Error Number : 1191
Date : Wednesday, August 8th 2007 @ 02:07:10 PM

----------------------------------------------------------------------------

Thanks in advance!

Marco van Herwaarden 08-09-2007 01:09 PM

Add the following index to your post table:

Code:

FULLTEXT KEY `title` (`title`,`pagetext`)

jgommel 08-09-2007 09:10 PM

Thanks for the response. I forgot to jump back into this thread to report that I resolved the issue. I had to run the query you mentioned, and one other one to get FULLTEXT to work correctly on my site. For some reason the whole time I was running v3.6.x I've been using vBulletin's internal search... After migrating to 3.6.8, apparently FULLTEXT search is default, so naturally if my database wasn't prepped for FULLTEXT... well it wouldn't work :-)

It's all good now. I see a change in speed and hope to benefit from this change even more as time goes on.

Dismounted 08-10-2007 10:30 AM

Hey! You stole my avatar :p.

medo9971 03-30-2008 12:28 AM

hello

I have same proplame how can I add this code


Code:

FULLTEXT KEY `title` (`title`,`pagetext`)

snakes1100 03-30-2008 12:59 AM

You can use phpmyadmin to execute that, then restart mysql.

By_OkT@Y 02-03-2010 06:40 PM

Database error in vBulletin 3.8.4:

Invalid SQL:

SELECT
DISTINCT thread.threadid
FROM thread AS thread

INNER JOIN post AS post ON(thread.threadid = post.threadid )
WHERE MATCH(post.title, post.pagetext) AGAINST ('nokia') AND thread.forumid NOT IN (0,482) AND post.visible = 1
LIMIT 500;

MySQL Error : Can't find FULLTEXT index matching the column list
Error Number : 1191
Request Date : Wednesday, February 3rd 2010 @ 10:35:25 PM
Error Date : Wednesday, February 3rd 2010 @ 10:35:25 PM

Classname : vB_Database
MySQL Version :

??

ChopSuey 02-04-2010 05:05 AM

You can read the second post by Marco :)

By_OkT@Y 02-07-2010 08:29 PM

Hata

SQL sorgusu:

FULLTEXT KEY `title` ( `title` , `pagetext` )

MySQL çıktısı: Belgeler
#1064 - 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 'FULLTEXT KEY `title` (`title`,`pagetext`)' at line 1

ChopSuey 02-08-2010 02:30 AM

Again you too, read the second post by Marco.


All times are GMT. The time now is 07:53 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01046 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete