Erika,
Try running your lottery draws manually:
- Login to Admincp
- Go to Scheduled tasks, Scheduled task Manager
- Find Casino Lottery Draw, click run now.
Check to see if your lottery is working now.
If it is still not working, or you get this error (or something like it) when running the task:
Quote:
Fatal error: Call to a member function on a non-object in /****/****/includes/cron/casino_lotto.php on line 127
|
Then you need to apply the fix.
Open the casino_lotto.php file (with Wordpad) that you uploaded (or still have on your PC) and make this change:
Find this
Code:
$settings = $db->query_read($query);
$setting = $db->fetch_array($settings);
and change to this:
Code:
$settings = $vbulletin->db->query_read($query);
$setting = $vbulletin->db->fetch_array($settings);
After correcting the file, UPLOAD THE NEWLY CORRECTED FILE back to the Forums directory (overwriting the old one).
Then go back into the admincp and rerun the Casino Lottery Draw Scheduled task (steps 1-3 above).
That should fix it.
Andrew said he is going to fix it in the next release. Holler if you need help.
EDIT: added modified casino_lotto.php file