Choose a question type to add field is empty

Choose a question type to add field is empty

Fatema Siddiqua -
回帖数:7

Hello experts,

I am using Moodle 2.2 on CentOS 6.3 Server. When i try to add question in question bank to create a quiz, the "Choose a question type" field shows blank line only as  shown below. and I am unable to create a question because it displays " You must select a question type" .

As per my understanding, there must be some default question types with moodle. Please guide me about any possible setting or method to rectify this problem. I had tried other options also, i.e created category, checked the boxes also, but question types dont appear.

The URL of LMS is: elearning.sol.du.ac.in

I will ever be grateful to you..


Question type error

回复Fatema Siddiqua

Re: Choose a question type to add field is empty

Tim Hunt -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像

Can you check the page Settings > Site administration > Plugins > Question types > Manage question typeshttps://docs.moodle.org/22/en/Managing_questions#Managing_question_types

回复Tim Hunt

Re: Choose a question type to add field is empty

Fatema Siddiqua -

Thanks Tim Hunt Sir,

I checked and it shows blank page when i go to Settings > Site administration > Plugins > Question types > Manage question types

What should i do now?

Please help...

回复Fatema Siddiqua

Re: Choose a question type to add field is empty

Jean-Michel Védrine -

Hello fatema,

The next step is to go to Site administration > Development > Debugging and set debugging messages level to DEVELOPER (see doc here : https://docs.moodle.org/27/en/Debugging)

Then return to Site administration > Plugins > Question types > Manage question types

and most probably you will see an error message pointing to the question type that is causing the problem

My suspicion is that you have a question type installed that is not compatible with your Moodle 2.2 version (all question types done for Moodle version 2.1, 2.0, 1.9, ... can't be used with Moodle 2.2 and ulterior and are causing this blank page syndrome)

回复Jean-Michel Védrine

Re: Choose a question type to add field is empty

Fatema Siddiqua -

Hello Jean-Michel Sir,

Thanks for your guidance. I got the following error message:

PHP Fatal error:  Access level to qtype_regexp::questionid_column_name() must be public (as in class question_type) in questiontype.php on line 237, referer: http://elearning.sol.du.ac.in/

Please guide me further to resolve this issue...

With Thanks & Regards..

回复Fatema Siddiqua

Re: Choose a question type to add field is empty

Jean-Michel Védrine -

This message clearly indicate that your regexp question type is not compatible with your Moodle version

Unfortunately as you say you are using Moodle 2.2 (are you sure of that ? this is a rather old version !) I am unsure of the right version you should download from https://moodle.org/plugins/pluginversions.php?plugin=qtype_regexp
I hope Joseph can give you more advice as he is qtype_regexp author.
回复Jean-Michel Védrine

Re: Choose a question type to add field is empty

Joseph Rézeau -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像 Translators的头像

As Jean-Michel says, Moodle 2.2 is a really old version, and I strongly advise updating to a more recent version.

The correct version of my regexp question type to use with a Moodle 2.2 site is Build 2011102001
Moodle 2.1, 2.2 Release date: Sunday, 23 October 2011, 7:32 PM. But I cannot guarantee that it will work and I cannot test it because I no longer maintain such an old version.

Joseph

回复Joseph Rézeau

Re: Choose a question type to add field is empty

Fatema Siddiqua -

I am extremely thankful to you Sir, Really Moodle community is great. I had successfully installed the correct regexp question type for Moodle 2.2 suggested by you and its working in my Local Server.

Bur still its not working at Production server. Permissions are 775.    

The reason for using old version is because, we are using some third party plugins like TTS, External Media plugin for you tube videos and Book Module etc. 

These plugins are not compatible with latest Moodle releases and forcing us not to upgrade...