I'm struggling to get this running. If I enable it, I get SQL errors on the forum home page. I can't seem to uninstall it as it reports missing tables.
I then manually deleted all the "casino_" prefixed tables, plus the casino_cash field in USER and tried to reinstall - no luck. There is no error when installing, but it doesn't run and there are no "casino_" tables in the DB.
For fun, using mysqladmin, I tried running this code:
$query = "ALTER TABLE ". TABLE_PREFIX . "user ADD casino_cash integer default 250";
Result: Error
SQL query:
$query = "ALTER TABLE ".TABLE_PREFIX. "user ADD casino_cash integer default 250"
MySQL said:
#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 '$query = "ALTER TABLE ". TABLE_PREFIX . "user ADD casino_cash integer default 25' at line 1
|