I was looking through my admin mails and came across the below database error. This error seems to be cleared when I disable this mod. I remember it working ok in the past although I have recently upgraded to VB4.22 and am on mySQL 5.5.34/PHP 5.5.3-1
When the mod is enabled the error is generated when a guest tries to use the Contact Us form and the process fails for them. The Contact Us form works however for members logged into the forum.
Has anyone else come across this?
Subject: vBulletin Database Error!
Database error in vBulletin 4.2.2:
Invalid SQL:
SELECT * FROM user 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 : Monday, October 28th 2013 @ 10:00:13 AM
Error Date : Monday, October 28th 2013 @ 10:00:13 AM
Script :
http://www.xxx.com/sendmessage.php?do=contactus
Referrer :
http://www.xxx.com/sendmessage.php
IP Address : x.x.x.x
Username : Contact Us Form
Classname : vB_Database_MySQLi
MySQL Version :