vfremaux / moodle-block_use_stats

Time based use stats block
6 stars 6 forks source link

Moodle 2.4.1 issue. #3

Closed vaughany closed 11 years ago

vaughany commented 11 years ago

I realise you may not be concerned with Moodle 2.4 yet, however when installing block_use_stats to test it on our freshly-installed 2.4.1 installation, I received the following error directly after install (where it says 'block_use_stats success'):

Capability "block/use_stats:view" was not found! This has to be fixed in code.
line 377 of /lib/accesslib.php: call to debugging()
line 15 of /blocks/use_stats/block_use_stats.php: call to has_capability()
line 118 of /blocks/moodleblock.class.php: call to block_use_stats->init()
line 735 of /lib/upgradelib.php: call to block_base->__construct()
line 362 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
line 1544 of /lib/upgradelib.php: call to upgrade_plugins()
line 349 of /admin/index.php: call to upgrade_noncore()

Invalid get_string() identifier: 'blocknameforstudents' or component 'block_use_stats'. Perhaps you are missing $string['blocknameforstudents'] = ''; in /var/www/moodle/blocks/use_stats/lang/en/block_use_stats.php?
line 6730 of /lib/moodlelib.php: call to debugging()
line 7391 of /lib/moodlelib.php: call to core_string_manager->get_string()
line 18 of /blocks/use_stats/block_use_stats.php: call to get_string()
line 118 of /blocks/moodleblock.class.php: call to block_use_stats->init()
line 735 of /lib/upgradelib.php: call to block_base->__construct()
line 362 of /lib/upgradelib.php: call to upgrade_plugins_blocks()
line 1544 of /lib/upgradelib.php: call to upgrade_plugins()
line 349 of /admin/index.php: call to upgrade_noncore()

Regards,

Paul.

vfremaux commented 11 years ago

Hi Paul, yes i start being as new migration project will focus 2.4. I check

vaughany commented 11 years ago

Great, thanks. :)