![]() |
Help with a database error please
When I click on my forum page I get a database error that read.
Database error in vBulletin 4.2.1 Invalid SQL: SELECT COUNT(post.dateline) AS postcount, post.userid, user.userid, user.username, user.lastpostid, user.posts, user.usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, NOT ISNULL(customprofilepic.userid) AS haspic, customprofilepic.width, customprofilepic.height FROM post AS post LEFT JOIN user AS user ON (post.userid = user.userid) LEFT JOIN customprofilepic AS customprofilepic ON (customprofilepic.userid = user.userid) AND user.userid NOT IN (5","6) WHERE post.dateline > 1382567113 GROUP BY post.userid ORDER BY postcount DESC LIMIT 3; MySQL Error : 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 '","6) WHERE post.dateline > 1382567113 GROUP BY post.userid ORDER BY post' at line 10 Error Number : 1064 Request Date : Thursday, October 24th 2013 @ 05:25:13 PM Error Date : Thursday, October 24th 2013 @ 05:25:13 PM Script : http://cafe-flirt.com/forum.php?tabid=11 Referrer : http://cafe-flirt.com/forum.php?tabid=11 IP Address : 68.179.255.156 Username : Babygirl Classname : vB_Database MySQL Version : 5.5.23-55 I'm pretty sure that it was a bad modification but I have to knowledge of the syntax if speaks of. Any help you can give is appreciated . Thanks in advance! |
I would start by disabling your mods one by one, till you no longer see the error, then you will know which mod it is.
|
at anytime did you edit your functions_databuild.php long shot but need to ask
|
Quote:
Force I didnt intentionally on my own, no but I had accidentally attempted to install this mod https://vborg.vbsupport.ru/showthrea...read+filtering (thinking it was another that I had downloaded earlier) and that was when the problem started so I figure that there are Db changes. Ughhhh I feel so stupid doing this! :( --------------- Added [DATE]1382661521[/DATE] at [TIME]1382661521[/TIME] --------------- Quote:
|
Stuff happens sometimes, if you find out which mod it is, let us know.
|
That mod https://vborg.vbsupport.ru/showthrea...read+filtering does not have the above info don't seeing it being this one but if removing it helps
|
Is it possible you installed it, then uninstalled and the changes to the DB stayed, along with the template modifications?
Mod says it does the following: DB Changes Auto-Template Code Changes |
Quote:
--------------- Added [DATE]1382663812[/DATE] at [TIME]1382663812[/TIME] --------------- Quote:
WHERE post.dateline > 1382567113 (this should identify that post in the table, but then what do I know! LOL) Im just taking a shot in the dark here . GROUP BY post.userid ORDER BY postcount DESC LIMIT 3; Its possible I can miss anything .. |
Did the errors start after you uninstalled the Mod?
|
Quote:
--------------- Added [DATE]1382720939[/DATE] at [TIME]1382720939[/TIME] --------------- This has been resolved. I ended up reloading all the orginal vb files then turning my plugins back on one by one and it is resolved is seems. Thanks for the help. |
All times are GMT. The time now is 11:23 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|