PDA

View Full Version : Getting a Weird Error


natecoupons
11-24-2009, 10:30 PM
Database error in vBulletin 3.7.2:

Invalid SQL:
SELECT COUNT(postid) AS posts FROM post WHERE userid =;

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 '' at line 1
Error Number : 1064
Request Date : Tuesday, November 24th 2009 @ 07:28:00 PM
Error Date : Tuesday, November 24th 2009 @ 07:28:00 PM
Script : http://www.weusecoupons.com/upload/showthread.php?p=6
Referrer : http://www.weusecoupons.com/upload/walgreens/
IP Address : 200.205.57.1
Username : MaxxMe
Classname : vB_Database
MySQL Version : 5.0.85-community



I'm getting these all over the place, and I haven't done anything recently. Any thoughts?

I had a user private message me with an issue earlier. But it seems to be affecting random threads

Lynne
11-24-2009, 10:51 PM
Looks like it is from a mod. Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

natecoupons
11-24-2009, 11:20 PM
ok i will

--------------- Added 1259112230 at 1259112230 ---------------

okay got that one....i have one more....

this was is a little different


Database error in vBulletin 3.7.2:

Invalid SQL:
SELECT COUNT(postid) AS posts FROM post WHERE userid =;

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 '' at line 1
Error Number : 1064
Request Date : Tuesday, November 24th 2009 @ 08:22:52 PM
Error Date : Tuesday, November 24th 2009 @ 08:22:52 PM
Script : http://www.weusecoupons.com/upload/showthread.php?t=35186
Referrer :
IP Address : 74.140.100.57
Username : MrCoupon
Classname : vB_Database
MySQL Version : 5.0.85-community


--------------- Added 1259118601 at 1259118601 ---------------

okay when i disabled the modifications....the thread simply didn't exist.

It must be indexed with google or something