No announcement yet.

Keep getting these errors

  • Filter
  • Time
  • Show
Clear All
new posts

  • Keep getting these errors

    Database error in vBulletin 3.8.0 Beta 1:

    Invalid SQL:

    SELECT count(*)as cnt,max(dateline) as lastupdate
    FROM vb_groupmessage
    WHERE groupid='1';

    MySQL Error : Unknown column 'groupid' in 'where clause'
    Error Number : 1054
    Request Date : Monday, November 17th 2008 @ 02:09:20 AM
    Error Date : Monday, November 17th 2008 @ 02:09:20 AM
    Script :
    Referrer :
    IP Address :
    Username : Unregistered
    Classname : vB_Database
    MySQL Version :

    These sort of messages began after we upgraded to 3.8.0 beta 1. Any ideas on how to make them go away?

  • #2
    Errors such as this are usually caused by editing files, corrupt files or addons. Please follow these steps to diagnose the issue.

    Please follow these instructions:

    1 - Re-upload all the original vB non-image files (except install.php). These files include all files with the extensions of PHP, JS and CSS. Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version:

    Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

    [Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

    2 - If that didn't solve the problem, then please disable all plugins.

    Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

    define('DISABLE_HOOKS', true);

    3 - If you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it. Now check again.

    If you still have the same problem please let me know.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.


    • #3
      I had the same issue and it's come from your vbseo sitemap addon :

      In file : /vbseo_sitemap/vbseo_sitemap_functions.php

      find :

      PHP Code:
                   $tcount $db->query_first("
                       SELECT count(*)as cnt,max(dateline) as lastupdate
                       FROM " 
      TABLE_PREFIX "groupmessage
                       WHERE groupid='
      replace with

      PHP Code:
                   $tcount $db->query_first("
                       SELECT count(*)as cnt,max(dateline) as lastupdate
                       FROM " 
      TABLE_PREFIX "groupmessage AS groupmessage
                       LEFT JOIN " 
      TABLE_PREFIX "discussion AS discussion ON (groupmessage.discussionid = discussion.discussionid)
                       WHERE discussion.groupid='
      Source thread :


      • #4
        vBSEO is not supported by Jelsoft. That is a third-party addon.
        No...No...Meester vBulletin, he no work right.


        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.