Rebuild Similar Threads Failing with Syntax Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SkyStryder
    Member
    • Oct 2007
    • 50

    Rebuild Similar Threads Failing with Syntax Error

    I have tried to rebuild similar threads in a beta site on 4.2.5 beta 4 and 4.2.5 RC1 and get the same failure.
    Update: I tried this on the original production system it was copied from running 4.2.3pl2 and it has the same error.

    When it crashed, the last console message was Processing: 45111
    Could that mean that my problem is with thread 45111 ?
    /showthread.php?4511 displays just fine.

    Does anybody have a clue as to what this might be? Note the mysterious message in the AGAINST
    Any Clues would be greatly appreciated. The database has no crashed tables.
    Thank you in advance!

    Rebuild Similar Threads beta/vbfs
    Database error in vBulletin 4.2.5 Beta 4:

    Invalid SQL:

    SELECT searchgroup.groupid, MATCH(searchgroup_text.title) AGAINST ('* * Does anyone know what this is for? * *') AS score
    FROM searchgroup AS searchgroup JOIN searchgroup_text AS searchgroup_text ON
    (searchgroup.searchgroupid = searchgroup_text.searchgroupid)

    WHERE MATCH(searchgroup_text.title) AGAINST ('* * Does anyone know what this is for? * *') AND
    searchgroup.contenttypeid = 2
    AND searchgroup.groupid <> 45112

    HAVING score > 4
    LIMIT 5;

    MySQL Error : syntax error, unexpected $end, expecting FTS_TERM or FTS_NUMB or '*'
    Error Number : 1064
    Request Date : Thursday, April 6th 2017 @ 02:27:28 PM
    Error Date : Thursday, April 6th 2017 @ 02:27:29 PM
    Script : http://beta.domain.com/vbfs/admincp/...t=45043&pp=100
    Referrer : https://beta.domain.com/vbfs/admincp...t=44943&pp=100
    IP Address :
    Username : rick
    Classname : vB_Database_MySQLi
    MySQL Version : 10.1.21-MariaDB
    Server :
    User Agent :
    Last edited by SkyStryder; Thu 6 Apr '17, 1:33pm.
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73427
    • 6.0.X

    #2
    From your (or your partner's) MySQL Bug Report, it appears that you're using INNODB and FULLTEXT with MySQL 5.6. This hasn't been tested with vBulletin 4.X so the query probably needs to be adjusted. I don't know if that will happen. Do you have the same issue on MYISAM tables?

    Here is another bug that is similar to yours: https://bugs.mysql.com/bug.php?id=78485

    It suggests that the '*' is the culprit.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • SkyStryder
      Member
      • Oct 2007
      • 50

      #3
      Good information. Thank you!
      We absolutely have to have INNODB because of table locking issues.
      We took MYISAM as far as it could go and then some. If anybody has
      any suggestions, they are greatly appreciated!

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73427
        • 6.0.X

        #4
        I will bring it up with the developers at the next status meeting and see if they have any ideas.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • SkyStryder
          Member
          • Oct 2007
          • 50

          #5
          Hahaha I checked the next record and guess what?
          The title of the thread is '* * Does anyone know what this is for? * *'

          Right now, I am going to remove the *'s and carry on....

          There's a lot more of them than I thought....

          We have very exuberant visitors!
          Last edited by SkyStryder; Thu 6 Apr '17, 2:41pm.

          Comment

          • SkyStryder
            Member
            • Oct 2007
            • 50

            #6
            Arrrggghhhh, there are 3,152 of them...

            Comment

            • Wayne Luke
              vBulletin Technical Support Lead
              • Aug 2000
              • 73427
              • 6.0.X

              #7
              Might be easier to go into /admincp/misc.php and update the function to remove the * before feeding the title into the query..
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment

              Related Topics

              Collapse

              Working...
              😀
              😂
              🥰
              😘
              🤢
              😎
              😞
              😡
              👍
              👎