Page 1 of 1

Rewards Error for Activity Mod

PostPosted: Tue Dec 12, 2006 2:54 am
Author: LtGen.UnderOth.FtL
I get this messege whenever i try to play a game.


Failed to subtract rewards

DEBUG MODE

SQL Error : 1064 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 '2 = 2 - 0 WHERE user_id = 2' at line 2

UPDATE phpbb_users SET 2 = 2 - 0 WHERE user_id = 2

Line : 55
File : rewards_api.php

PostPosted: Thu Dec 14, 2006 1:33 pm
Author: computerz
sounds like one or more lines isn't escaped properly in the file. Any recent edits to rewards_api.php?

PostPosted: Tue Dec 19, 2006 10:19 pm
Author: LtGen.UnderOth.FtL
nope.

PostPosted: Thu Dec 21, 2006 12:48 pm
Author: shedt_v
i had similar problems woth it before, after i switched to Arcade Mod. seems much better IMHO.

BTW

there is 2.1.4 but i would stay with 2.1.2 right now again IMHO seems better

Re: Rewards Error for Activity Mod

PostPosted: Thu Dec 21, 2006 4:21 pm
Author: DjPorkchop
I would double and triple check all edits. I have installed Activity Mod 1.1.0 MANY times and never had a problem like that. I allways found when I got stuff like that to upload a new constants.php it likes to corrupt oh so easily. BUT Im no php specialty man either. Just a thought. <img> Have a nice day.