Quick question about an error message after upgrade

Quick question about an error message after upgrade

Wen Hao Chuang
Vastuste arv 6

Hi Justin and other PoodLL gurus,

Originally our system was running Moodle 2.3.3 with the previous version of PoodLL (using PoodLL Recording Question feature). It was working perfectly similar to a TOEFL test. Recently I upgraded the site to 2.3.11, then upgrade the PoodLL to the latest version (PoodLL Kaboodle 2.6.3M23 - 2014020500) as well. However, after the upgrade, after we click on the Next button in the "speaking" test part (which use PoodLL recording question), we will get this Fatal error:

Fatal error: Undefined class constant 'PARAM_RAW_FILES' in /var/www/vhosts/ip-xxx-xxx-xxx-110.ip.secureserver.net/httpdocs/pilot/question/type/poodllrecording/question.php on line 65

I have looked at the file permission in that folder but didn't find anything wrong with them. Any idea what might be the issue? Many thanks!
Wen

Keskmine hinnang: -
Vastuses Wen Hao Chuang

Re: Quick question about an error message after upgrade

Tim Hunt
Core developers pilt Documentation writers pilt Particularly helpful Moodlers pilt Peer reviewers pilt Plugin developers pilt

It looks like MDL-37896 is related to the problem you are seeing.

However, the change seem to contradict the error you are seeing. It seem the error should happen wiht versions older than 2.3.5, and be fine in newer versions.

Vastuses Wen Hao Chuang

Re: Quick question about an error message after upgrade

Justin Hunt
Particularly helpful Moodlers pilt Plugin developers pilt

Sorry, I missed this Wen.

There was a change in the  API around that version and the PARAM_CLEANHTML_FILES constant was replaced with PARAM_RAW_FILES .

I made a little branch in the code to use the correct constant for the version of Moodle hosting the question type. When I look at that code now, and I am pretty sure I messed it up. I will fix it today and report back.

Justin

Vastuses Justin Hunt

Re: Quick question about an error message after upgrade

Wen Hao Chuang

Hi Justin,

No problem. Glad that my bug report helped. Thanks for your wonderful work with PoodLL. I know a LOT of language teachers LOVE it and use it everyday!! Thanks again!

Wen

Vastuses Wen Hao Chuang

Re: Quick question about an error message after upgrade

Justin Hunt
Particularly helpful Moodlers pilt Plugin developers pilt

Sorry I could not get it done sooner. But it should be fixed now. The new version is available here:

https://moodle.org/plugins/pluginversion.php?id=5748

And will be available via the git repository shortly.

Vastuses Justin Hunt

Re: Quick question about an error message after upgrade

Wen Hao Chuang

Hi Justin, I just upgraded and did some more test. I think you fixed it! Good job and thanks! naeratus

By the way just curious, is there a way that I can avoid clicking the "Allow" button again and again at the beginning of each question? See the screenshot:

Thanks!

Wen

Vastuses Wen Hao Chuang

Re: Quick question about an error message after upgrade

Justin Hunt
Particularly helpful Moodlers pilt Plugin developers pilt

That is good news. And also good news, is that Flash will remember your permissions settings if you

i) right click the recorder

ii) choose "settings"

iii) set your settings and click the "remember" checkbox as in the attached screenshot

Justin

Manus What_Happened___A_PoodLL_Database_Activity.png