Jump to content

Recommended Posts

Database error in vBulletin 3.8.1:

Invalid SQL:
INSERT INTO trackerhistory (`date` , `seeders`, `leechers`, `ulspeed`, `dlspeed`) VALUES (NOW(),0 , 0, , );

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, March 2nd 2009 @ 12:41:00 AM
Error Date : Monday, March 2nd 2009 @ 12:41:04 AM
Script : http://www.thegamingfiles.com/adminc...cron&cronid=89
Referrer : http://www.thegamingfiles.com/adminc....php?do=modify
IP Address : ********
Username : Berry05
Classname : vB_Database
MySQL Version : 5.0.67-log

 

 

what does this mean? I have the updated mySQL and everything!!

Link to comment
https://forums.phpfreaks.com/topic/147562-solved-cron-job-error-1064/
Share on other sites

i'll fill in the  `ulspeed`, `dlspeed` with 0 and see what happens from...i did ask vbulletin for help also and they told me to go to the person that made the modification but there's no help forum for the modification or anything. ill try filling in the values and see what happens :)

here's a snippet of the code that is the one that probably needs to be fixed...

 

$vbulletin->db->query_write("INSERT INTO ". TABLE_PREFIX ."trackerhistory (`date` , `seeders`, `leechers`, `ulspeed`, `dlspeed`) VALUES   (NOW(),".$row1["c"]." , ".$row1["d"].",".$row2["c"]." , ".$row2["d"].") ");	

 

could you fix that for me so the last 2 values are 0 ?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.