Log in

View Full Version : Unusual Error Message - Invalid SQL SELECT


screengold
02-29-2012, 07:03 AM
Well, I've never had this one before. This happened last night while I was asleep and logged out, so I know it's nothing I did!

I'm always on the look out for bad guys - does this look like someone doing something they shouldn't have?

Cheers.



******

Database error in vBulletin 3.8.7:

Invalid SQL:

SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
IF(user.displaygroupid=0, user.usergroupid, user.displaygroupid) AS displaygroupid,
language.phrasegroup_global AS phrasegroup_global,
language.phrasegroup_holiday AS phrasegroup_holiday,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))

WHERE user.userid = 1341;

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Wednesday, February 29th 2012 @ 01:19:22 AM
Error Date : Wednesday, February 29th 2012 @ 01:19:24 AM
Script : http://www.MYSITE.com/forum/
Referrer :
IP Address : 72.21.153.154
Username :
Classname : vB_Database
MySQL Version :

kh99
02-29-2012, 01:36 PM
That's an actual query from the vb code so it doesn't look to me like anyone doing anything they shouldn't (not that I'm an expert on that). But I don't know why you'd get that - I suppose if you just got that one it's possible the database server really did go away, like maybe someone restarted it or there was a network issue (if it's on a different server).