Quote:
Originally Posted by Danny Boy
Hi Andrew,
Thank you for the excellent mod. I just installed it and did a conversion from the Casino script. I'm receiving an error when I manually run the cron job via scheduled tasks.
Code:
Fatal error: Call to a member function query_read() on a non-object in /home/xxxxxx/public_html/gameroom/class_settings.php on line 55
The only reason I'm trying to run it manually is because I created a test account to make sure the referral credit is working. I suspect if it won't run manually it will also fail when running automated. Any thoughts as to why?
Thank you in advance,
Dan
|
I'm getting this same error when running manually. I assume this Task cleans up all the chat logs, etc in the database. if not how do you clean up all the old stuff that will just keep building up the database with garbage?
Here is line 55 of the Class_Settings.php file. Not sure if I need to edit anything.
$result = $db->query_read("
SHOW COLUMNS
FROM $this->userTable
LIKE 'gameroom_cash'
Thanks for any help