Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.6.3
-
Component/s: Administration
-
Labels:None
-
Environment:Debian Linux with PHP Version 5.1.2-1+b1, Apache 2.0, MySQL 5.0.21
-
Database:MySQL
-
Affected Branches:MOODLE_16_STABLE
-
Fixed Branches:MOODLE_17_STABLE, MOODLE_18_STABLE
Description
Stats don't run, they never had (tables are empty)
Tried about all combinations of settings in the config variables page.
Current settings:
Wijzigen Verwijderen 225 enablestats 1
Wijzigen Verwijderen 237 statsfirstrun all
Wijzigen Verwijderen 238 statsmaxruntime 21600
Wijzigen Verwijderen 239 statsuserthreshold 0
Wijzigen Verwijderen 248 statsruntimestarthour 1
Wijzigen Verwijderen 249 statsruntimestartminute 0
Wijzigen Verwijderen 271 statsfirstrunlock 0
Wijzigen Verwijderen 272 statsrunning 0
Wijzigen Verwijderen 273 statslastdaily 1162886404
Nothing about stats appears in cron.php
Read http://moodle.org/mod/forum/discuss.php?d=56262 and linked treads.
Issue Links
| This issue has a non-specific relationship to: | ||||
| MDL-6795 | Stats never runs. stats_monthly table gets very full |
|
|
|
HI Koen,
check to see if you have any modules installed that "don't exist" - I had an issue with statslib.php - function stats_cron_daily
require_once($CFG->dirroot.'/mod/'.$mod->name.'/lib.php');
this won't work if there are modules installed with no lib.php!
Dan