PDA

View Full Version : Just When You Thought...


eshrink
11-15-2011, 06:06 PM
No changes to my site today.

Then several minutes ago, a series of these arrived

Any input as to cause and cure would be much appreciated:

________________________________________________

Database error in vBulletin 4.1.7:

Invalid SQL:

SELECT reason, liftdate
FROM userban
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 3
Error Number : 1064
Request Date : Tuesday, November 15th 2011 @ 01:02:53 PM
Error Date : Tuesday, November 15th 2011 @ 01:02:53 PM
Script : http://www.____.com/forums/usercp.php
Referrer : http://www.______.com/forums/usercp.php
IP Address : 58.97.228.22
Username :
Classname : vB_Database
MySQL Version :

Lynne
11-15-2011, 06:31 PM
Not sure why that would suddenly happen. That is from the function print_no_permission and basically if a user is banned, it grabs the ban message to show them.

You can try disabling your plugins and then see if you still have the same problem.

eshrink
11-15-2011, 07:44 PM
Lynne,

That is from the function print_no_permission and basically if a user is banned, it grabs the ban message to show them.


Does that mean that I was sent the message because a banned user attempted to post a message and was then shown a message to remind them that they are banned?

Lynne
11-15-2011, 07:50 PM
I don't know what they were trying to do. The message says they were doing something in the usercp