Quote:
Originally posted by AZone
Also I have another mistake after end of lottery:
<!--
Updating user, set storeaction to offline and delete lottery and lotteryusers...
'User' is rewarded with 20 points.
'User' is pm'ed with the winner's message.
Lottery action on the store is set to offline.
Lottery and his users are deleted.
Done!
Updating user, set storeaction to offline and delete lottery and lotteryusers...
Database error in vBulletin Control Panel 2.2.8:
Invalid SQL: UPDATE user SET storep=storep+ WHERE userid='1'
mysql error: You have an error in your SQL syntax near 'WHERE userid='1'' at line 1
mysql error number: 1064
--!>
|
I got exactly the same error, and i've made the changes to storeadmin.php as you advised so that it will only pick a user who has bought a ticket. Seems users can't get the initial amount in the jackpot as well