Raised This Month: $51 Target: $400
 12% 

SourceBans sql error since today


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
freddy333
Junior Member
Join Date: Feb 2013
Location: Germany
Old 02-09-2013 , 07:00   SourceBans sql error since today
Reply With Quote #1

Hey guys,

since today I'm having some trouble with my SourceBans and I can't find out how to solve this.

Details
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AS srv_g7' AND (length = 0 OR ends > UNIX_TIMESTAMP()) AND RemovedBy IS NULL A' at line 1

Query: SELECT count(bid) as count FROM `sb_bans` WHERE authid = 'OM sb_srvgroups WHERE name = srv_group AND flags != ') AS srv_g7' AND (length = 0 OR ends > UNIX_TIMESTAMP()) AND RemovedBy IS NULL AND type = 0;

Parent Function
/***/includes/adodb/adodb.inc.php - 916
/***/includes/adodb/adodb.inc.php - 891
/***/pages/page.banlist.php - 464
/***/includes/page-builder.php - 102
/***/index.php - 23

Query String
p=banlist

You can see the error - even though the debug mode is not enabled and also as a guest - when you open up the banlist page here:

http://bans.blackdivision.de/index.php?p=banlist

If you need more information, just tell me!

I hope anybody got an answer for me,

Greetings,
Freddy
freddy333 is offline
Faks
Junior Member
Join Date: Feb 2009
Old 02-09-2013 , 07:50   Re: SourceBans sql error since today
Reply With Quote #2

as far i see problems is with unix time stamp(mysql) but i don't encounter any way by what i see there seems to be problem with servers groups best advice don't use for some while best solutions would be make fresh dabase and import all bans to be sure there aren't any bugs left.
by what i see seems there is error in mysql server version seems maybe it's out off date and that's why you encounter it ...
__________________
Visit Us ....
Gamer Ludus

Track Me
From Other Country's
From Latvia
Faks is offline
freddy333
Junior Member
Join Date: Feb 2013
Location: Germany
Old 02-09-2013 , 08:28   Re: SourceBans sql error since today
Reply With Quote #3

Well, I have found out, what the problem was, but i really have no idea, how this could happen....

Look at this screenshot, it explains everything:




To me it seems like SMAC is a bit buggy... I'll watch that.

Nevertheless, thank you, Faks, for giving me an answer

Topic may be closed

Greetings
freddy333 is offline
Faks
Junior Member
Join Date: Feb 2009
Old 02-09-2013 , 16:41   Re: SourceBans sql error since today
Reply With Quote #4

judging from what i see i could say this is steamid sql inject attempt ...
__________________
Visit Us ....
Gamer Ludus

Track Me
From Other Country's
From Latvia

Last edited by Faks; 02-09-2013 at 16:41.
Faks is offline
DrunkenBombers
SourceMod Donor
Join Date: Feb 2013
Old 02-14-2013 , 14:28   Re: SourceBans sql error since today
Reply With Quote #5

We've had this recently too and it just started as of a day or two ago.
DrunkenBombers is offline
island55
Senior Member
Join Date: Aug 2010
Location: charleston
Old 04-13-2013 , 16:10   Re: SourceBans sql error since today
Reply With Quote #6

freddy333,

can you please post how you resolved it? i just encountered this same problem and i have no idea how to resolve it. thanks!


edit: nevermind i found the issue.

Last edited by island55; 04-13-2013 at 16:22.
island55 is offline
DrunkenBombers
SourceMod Donor
Join Date: Feb 2013
Old 04-18-2013 , 12:51   Re: SourceBans sql error since today
Reply With Quote #7

Quote:
Originally Posted by island55 View Post
freddy333,

can you please post how you resolved it? i just encountered this same problem and i have no idea how to resolve it. thanks!


edit: nevermind i found the issue.
So you expected him to post about how he resolved it and then when you resolve it, you don't post about it. Nice.
DrunkenBombers is offline
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 -4. The time now is 09:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode