Quote:
Originally Posted by dodgeboard.com
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:
Then you need to apply the fix.
Open the casino.php file (with Wordpad) that you uploaded (or still have on your PC) and make this change:
Find this (almost half way down):
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.
|
Still didn't work. When will the files be updated with the new code?
I try to run the cron and I get a blank screen:
Casino Lottery Draw
...and nothing.