The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Strange Database Error Today...Not Sure Why.
I had a random vBulletin database error today on my forum. It seems to have occurred when someone was using the search feature.
Here is the error: Code:
Database error in vBulletin 4.2.1: Invalid SQL: SELECT post.*,userfield.*, usertextfield.*, user.*, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS width, customavatar.height AS height, customavatar.height_thumb AS height_thumb, customavatar.width_thumb AS width_thumb, customavatar.filedata_thumb FROM post AS post LEFT JOIN user AS user ON (user.userid = post.userid) LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid) LEFT JOIN usertextfield AS usertextfield ON (user.userid = usertextfield.userid) LEFT JOIN avatar AS avatar ON (avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON (customavatar.userid = post.userid) WHERE post.postid IN (.); 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 10 Error Number : 1064 Request Date : Wednesday, November 6th 2013 @ 05:45:50 AM Error Date : Wednesday, November 6th 2013 @ 05:45:50 AM Script : http://mydomain.com/search.php?searchid=103436&pp=&page=16 Referrer : http://mydomain.com/search.php?searchid=103436&pp=&page=16 IP Address : 175.110.xxx.xxx Username : Unregistered Classname : vB_Database MySQL Version : Thank you. |
#2
|
||||
|
||||
Do you allow guests to use the search feature?
|
#3
|
||||
|
||||
Yes I do.
|
#4
|
||||
|
||||
If it was just a one time thing, then I wouldn't worry about it. If you can repeat it, then you can try to work on the issue, but if it's non-repeatable then it's going to be hard to work on.
|
#5
|
||||
|
||||
Thanks Lynne, the error message showed up twice within a period of 5 minutes and didn't happen after that. Does the error message shed any light on what's going on or what's causing the issue?
|
#6
|
||||
|
||||
It looks like he did a search and it said there were 16 pages of results but when he went to page 16, there were actually 0 posts and so it threw an error. I suppose you could Rebuild Thread Information.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|