MyBB Community Forums

Full Version: Stats Graphs not working, debug messages..
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Admin > Tools > Statistic not working correctly. Graphs are not drawn and the typical little icon for wrong images is shown.

To see what is wrong I activated PHP debugging in admin/modules/tools/statistics.php with

Quote:ini_set('display_startup_errors',1);
ini_set('display_errors',1);
error_reporting(-1);


as per https://stackoverflow.com/questions/8450...ges-in-php


This is what I get on top of the page:


Quote:Notice: Undefined index: from_year in admin/modules/tools/statistics.php on line 61

Notice: Undefined index: from_year in admin/modules/tools/statistics.php on line 69

Notice: Undefined index: page in admin/modules/tools/statistics.php on line 82

Notice: Undefined property: MyLanguage::$myfbconnect in inc/plugins/MyFacebookConnect/class_update.php on line 23

Notice: Undefined index: update in inc/plugins/MyFacebookConnect/class_update.php on line 31


This is what I get exactly where the three graphs (Users, Threads, Posts) should be drawn:


Quote:Notice: Undefined index: change_users in admin/modules/tools/statistics.php on line 154

Notice: Undefined index: change_threads in admin/modules/tools/statistics.php on line 155

Notice: Undefined index: change_posts in admin/modules/tools/statistics.php on line 156


Anyone's got a clue?
Thanks.
PHP Notices can be ignored (at least as a user Wink), they are probably not the cause for your problem.