Choose a question type to add field is empty

Choose a question type to add field is empty

by Fatema Siddiqua -
Number of replies: 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

Average of ratings: -
In reply to Fatema Siddiqua

Re: Choose a question type to add field is empty

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of 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

Average of ratings: Useful (1)
In reply to Tim Hunt

Re: Choose a question type to add field is empty

by 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...

In reply to Fatema Siddiqua

Re: Choose a question type to add field is empty

by 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)

Average of ratings: Useful (1)
In reply to Jean-Michel Védrine

Re: Choose a question type to add field is empty

by 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..

In reply to Fatema Siddiqua

Re: Choose a question type to add field is empty

by 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.
Average of ratings: Useful (1)
In reply to Jean-Michel Védrine

Re: Choose a question type to add field is empty

by Joseph Rézeau -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of 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

Average of ratings: Useful (1)
In reply to Joseph Rézeau

Re: Choose a question type to add field is empty

by 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...