Problems after installation

Problems after installation

дэргэд Pedro Azevedo -
Хариу нийтлэлийн тоо: 4

Hi after on of the administrators installed the HotPot our moodle begin to show some problems.


When we click in Site Admin menu a popup with json error appear:


JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
File: http://moodle.../theme/yui_combo.php?rollup/3.13.0/yui-moodlesimple.js Line: 37340
The stacktrace is attached.

In Report > Log we got the error:
Parse error: syntax error, unexpected '[' in /moodle/mod/hotpot/lib.php on line 2340

Үнэлгээний дундаж:Useful (1)
Pedro Azevedo-н хариуд

Re: Problems after installation

дэргэд Pedro Azevedo -

Sorry forgot to add some info:

Moodle: 2.6.4 (Build: 20140714)

PHP 5.3

Pedro Azevedo-н хариуд

Re: Problems after installation

дэргэд Gordon Bateson -
Core developers зураг Peer reviewers зураг Plugin developers зураг

Hello Pedro,
It seems that the PHP code in the latest version of that file, "mod/hotpot/lib.php", was not compatible with PHP 5.3. Sorry about that улайх

I have fixed the code now and confirmed that it runs OK on Moodle 2.6 + PHP 5.3.

Please arrange for the HotPot module on your Moodle site to be updated at the next convenient opportunity.

Many thanks for bringing this issue to my attention зөвшөөрөх
Gordon

Gordon Bateson-н хариуд

Re: Problems after installation

дэргэд Pedro Azevedo -

Thanks for the kindly and quick support.

Sorry for bother you again, but to apply the fix should I extract the 'mod_hotpot_moodle35_2018062622.zip' and paste the hotpot folder into moodle/mod folder?