Quote:
Originally Posted by ry215
Plz help, Andrew. I just upgraded 0.7 and once in a few times when I go to the casino, it says this:
Database error in vBulletin 3.6.6:
Invalid SQL:
SELECT sum(bet) AS bet, sum(won) AS won, cs1.switch2
FROM casino_settings AS cs1
LEFT JOIN casino_settings AS cs2 ON cs1.switch1 = cs2.switch1
LEFT JOIN casino_bet_stats ON cs1.switch1 = gameid
WHERE cs1.settingname = 'gamename'
AND cs2.settingname = 'gameactive'
AND cs2.switch2 = '1'
GROUP BY gameid;
MySQL Error : The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay
Error Number : 1104
It also says that when I click on More Stats.
|
You need to make a table in your db, it is pretty easy. I had the same problem.
https://vborg.vbsupport.ru/showpost....postcount=1304