Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2009, 04:39 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Mysql errors after 3.8.1 upgrade

Upgraded last night to 3.8.1 and now suddenly I'm getting emailed Mysql errors and have no idea what's causing it. I even uninstalled a few plugins last night after the upgrade too.


One:

Code:
Database error in vBulletin 3.8.1:

Invalid SQL:

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

MySQL Error   : Unknown column 'groupid' in 'where clause'
Error Number  : 1054
Request Date  : Friday, January 30th 2009 @ 12:00:47 PM
Error Date    : Friday, January 30th 2009 @ 12:00:49 PM
Script        : http://www.talkjesus.com/cron.php?rand=1233338446
Referrer      : http://www.talkjesus.com/polls/25291-abortion-ever-ok.html
IP Address    : xxxxx
Username      : Unregistered
Classname     : vB_Database
MySQL Version :
Code:
Database error in vBulletin 3.8.1:

Invalid SQL:

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

MySQL Error   : Unknown column 'groupid' in 'where clause'
Error Number  : 1054
Request Date  : Friday, January 30th 2009 @ 11:00:37 AM
Error Date    : Friday, January 30th 2009 @ 11:00:39 AM
Script        : http://www.talkjesus.com/cron.php?rand=1233334836
Referrer      : http://www.talkjesus.com/search.php?searchid=185672
IP Address    : xxxxx
Username      : Unregistered
Classname     : vB_Database
MySQL Version :
Appreciate any help on this.
Reply With Quote
  #2  
Old 01-30-2009, 05:45 PM
trickfly trickfly is offline
 
Join Date: Jan 2007
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error but I'm running 3.8 and have been for a week now and suddenly I've been getting this error:

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

Database error in vBulletin 3.8.0: Invalid SQL: SELECT * FROM rsslogWHERE uniquehash IN ('ed54e836c91813857dac7d2a3d4df3c4', '54b4ddf5510431de3f9222081578eb67', '3b08ba4f115eaa0f2572420f50720bf7', 'cac332a13a2584ec723e16ed7664f4fb', '78d1b613ec2297f7bdc84e2f76ea1b2c', 'cec1d40fd4659dba35b06a05f33a4d7b', '2d321b561e898ef860d3d5eb088b140b', 'f189bd37789de25dddbdf3963f53cedd', 'e5975fab882967c45c2bd9c47d3c2b03', '78d39bc2fc7fad05decaa7a6303f5217'); MySQL Error : MySQL server has gone awayError Number : 2006Request Date : Friday, January 30th 2009 @ 02:41:30 PMError Date : Friday, January 30th 2009 @ 02:42:29 PMScript : http://www.symbiangalaxy.org/cron.ph...344479Referrer : http://www.symbiangalaxy.org/IP Address : 218.186.8.245Username : UnregisteredClassname : vB_DatabaseMySQL Version :

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

Can anyone help too ?
Reply With Quote
  #3  
Old 01-30-2009, 06:08 PM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting more, different ones likely from the same cause or, bug.

Code:
    Database error in vBulletin 3.8.1:
   
  Invalid SQL:
   
                    SELECT count(*)as cnt,max(dateline) as lastupdate
                    FROM groupmessage
                    WHERE groupid='1';
   
  MySQL Error   : Unknown column 'groupid' in 'where clause'
  Error Number  : 1054
  Request Date  : Friday, January 30th 2009 @ 02:00:22 PM
  Error Date    : Friday, January 30th 2009 @ 02:00:25 PM
  Script        : http://www.talkjesus.com/cron.php?rand=1233345616
  Referrer      : http://www.talkjesus.com/
  IP Address    : xxxxx
  Username      : Unregistered
  Classname     : vB_Database
  MySQL Version :
Reply With Quote
  #4  
Old 01-30-2009, 10:31 PM
trickfly trickfly is offline
 
Join Date: Jan 2007
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any help anyone ?
Reply With Quote
  #5  
Old 01-31-2009, 12:45 AM
fattony69 fattony69 is offline
 
Join Date: Jun 2007
Location: Philly
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you use social groups mod for 3.7?
Reply With Quote
  #6  
Old 01-31-2009, 12:59 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only social group related mods I have installed are the ones I've been using w/o issues in 3.7

https://vborg.vbsupport.ru/showthread.php?t=165726
https://vborg.vbsupport.ru/showthread.php?t=179413

--------------- Added [DATE]1233373335[/DATE] at [TIME]1233373335[/TIME] ---------------

I noticed mine happens every one hour on the dot. I cannot trace the cron in scheduled task to anything that has rand=### in the cron path.

Code:
    Database error in vBulletin 3.8.1:
   
  Invalid SQL:
   
                    SELECT count(*)as cnt,max(dateline) as lastupdate
                    FROM groupmessage
                    WHERE groupid='1';
   
  MySQL Error   : Unknown column 'groupid' in 'where clause'
  Error Number  : 1054
  Request Date  : Friday, January 30th 2009 @ 09:01:42 PM
  Error Date    : Friday, January 30th 2009 @ 09:01:44 PM
  Script        : http://www.talkjesus.com/cron.php?rand=1233370898
  Referrer      : http://www.talkjesus.com/
  IP Address    : xxxxx
  Username      : Unregistered
  Classname     : vB_Database
  MySQL Version :
Reply With Quote
  #7  
Old 01-31-2009, 02:42 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chadi View Post
I noticed mine happens every one hour on the dot.
The query is definitely from a Scheduled Task, and it looks like it is from a modification. Why? Because the query is not written according to the vBulletin Coding Standards.

However, if your "groupmessage" table does not have a "groupid" column, you probably have more issues than this. Can you use group messages properly?
Quote:
Originally Posted by trickfly View Post
Can anyone help too ?
Your error is completely unrelated, in future, please start your own thread as it becomes hard to follow if there are two things going on in one thread.

See the manual for solutions to your error.
Reply With Quote
  #8  
Old 01-31-2009, 03:06 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got the error again just a minute ago.

What group messages are you referring to exactly? Social groups?

I don't see any tasks relating to social groups.

Here is a screen shot of all tasks. Also, I manually ran each task and never got the error, so it shows that it cannot come from them.
Attached Images
File Type: jpg 1.jpg (95.8 KB, 0 views)
File Type: jpg 2.jpg (93.0 KB, 0 views)
Reply With Quote
  #9  
Old 01-31-2009, 03:08 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chadi View Post
What group messages are you referring to exactly? Social groups?
Yep.
Quote:
Originally Posted by chadi View Post
Here is a screen shot of all tasks. Also, I manually ran each task and never got the error, so it shows that it cannot come from them.
The script definitely shows something about cron.php. Most likely, a plugin by a modification was placed into a hook inside cron.php.
Reply With Quote
  #10  
Old 01-31-2009, 03:31 AM
Chadi's Avatar
Chadi Chadi is offline
 
Join Date: May 2004
Location: USA
Posts: 2,043
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry but can you please explain exactly what you mean that the mod was placed 'inside' cron.php? I know cron.php is a vb default file. It is also not modified as well just to clarify.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:08 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.04036 seconds
  • Memory Usage 2,284KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete