Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 15 Sep 2008, 17:10
ehsanix ehsanix is offline
 
Join Date: Oct 2003
Wink BAD error! plz help me

How can I fix this error:

Database error in vBulletin 3.7.2:

Invalid SQL:
SELECT
u.username,
u.userid,
u.joindate,
u.reputation,
u.usergroupid,
u.ipoints, u.post_thanks_user_amount,
u.posts
FROM user as u
WHERE xperience_done=0 AND userid NOT 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 : Monday, September 15th 2008 @ 09:51:27 PM
Error Date : Monday, September 15th 2008 @ 09:51:28 PM
Script : http://www.****.com/cron.php?rand=396652
Referrer : http://www.****.com/forumdisplay.php?f=125
IP Address : 78.109.204.180
Username : unregister
Classname : vB_Database
MySQL Version :
Reply With Quote
  #2  
Old 15 Sep 2008, 17:27
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
This is an error from a modification you have installed. Default vbulletin does not have a field called "xperience_done" You'll need to find out which modification it is and then post in the modification thread for help fixing the error.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 15 Sep 2008, 17:46
ehsanix ehsanix is offline
 
Join Date: Oct 2003
thanx dude
Reply With Quote
  #4  
Old 16 Sep 2008, 00:25
Eikinskjaldi's Avatar
Eikinskjaldi Eikinskjaldi is offline
 
Join Date: Feb 2006
Location: Hell, never looked better
The actual error is the "user not in ()"
Reply With Quote
  #5  
Old 16 Sep 2008, 02:00
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by Eikinskjaldi View Post
The actual error is the "user not in ()"
Sure, but none of that query exists in default vb. That whole query is from a modification, so he needs to talk to the author and get it fixed.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 23:32.

Layout Options | Width: Wide Color: