Keep getting these errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Big Island
    Senior Member
    • Mar 2007
    • 102
    • 3.6.x

    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 : http://www.mysite.com/forum/cron.php?rand=1226855355
    Referrer : http://www.mysite.com/forum/working-...-business.html
    IP Address : 212.3.111.77
    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?
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74132

    #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

    Comment

    • Nzo
      New Member
      • Mar 2003
      • 22
      • 3.8.x

      #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='
      $rrow[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='
      $rrow[groupid]'
                   "
      ); 
      Source thread : http://www.vbseo.com/f77/links-not-w...87/#post176693

      Comment

      • jmurrayhead
        Senior Member
        • Sep 2006
        • 1642

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

        Comment

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