DELETE-ME-NOW- Posted July 24, 2010 Posted July 24, 2010 What is the day cron for donator days? My members donator days dont seem to be going down at all :( Quote
Paddy Posted July 24, 2010 Posted July 24, 2010 if in not mistaken it should be $db->query("UPDATE users SET donatordays=donatordays-1 WHERE donatordays > 0"); Quote
ddgamedesign Posted July 24, 2010 Posted July 24, 2010 And that line goes into cron_day.php I believe as well. Quote
DELETE-ME-NOW- Posted July 25, 2010 Author Posted July 25, 2010 thanks. But it turns out thers a problem with my cron day :( QUERY 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 ''users' SET rates=1' at line 1 Query was UPDATE 'users' SET rates=1 How would i fix that? Quote
ddgamedesign Posted July 25, 2010 Posted July 25, 2010 Show us the whole line itself, and maybe we can see what could be up with it. Quote
Danny696 Posted July 25, 2010 Posted July 25, 2010 Nope, it can be fixed from that error line alone ;) Find: UPDATE 'users' SET rates=1 Replace with UPDATE `users` SET `rates` = 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.