Details
Description
I updated via cvs and now when I go to /admin I get this:
Notice: Use of undefined constant T_COMMENT - assumed 'T_COMMENT' in /srv/www/alphamoodle/moodle/admin/mnet/MethodTable.php on line 15
Fatal error: Call to undefined function token_get_all() in /srv/www/alphamoodle/moodle/admin/mnet/MethodTable.php on line 77
Just a FYI for you.
Apparently you don't have the PHP Tokenizer. Now, the tokenizer is bundled with PHP since v4.2 and ON by default with PHP since v 4.3. So questions follow:
To Donal - can we avoid running this code if the tokenizer isn't there?
- what version of PHP are you running, and where did you get it from?
- did you enable any Moodle Network functionality? (from your report I suspect no, but still)
To Donal - can we avoid running this code if the tokenizer isn't there?