Cant add question into bank???

Cant add question into bank???

by Kent Baker -
Number of replies: 25

Hi guys,

I'm having difficulty adding a question into my question bank. I recently installed Moodle 2 and for some reason I'm I can access the Question bank, create a category, but when I go to add a question this is all I see (see image below).

I'm certainly not new to Moodle, but I wouldnt consider myself as an OVER advanced user.

Would this be an IT issue involving PHP formatting or something??? I hope not.

 

Any help would be GGGGRREEEEAAATTT smile

 

Attachment Moodle Quiz Help.jpg
Average of ratings: -
In reply to Kent Baker

Re: Cant add question into bank???

by Jean-Michel Védrine -

Hello,

You need to set debugging messages to DEVELOPPER level.

This will most probably display an error message on the pages where you are having this problem and this will permit us to help you.

Maybe you have some question  type(s) installed wich is (are) not compatible with your Moodle version ?

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

Re: Cant add question into bank???

by Kent Baker -

Hi Jean-Michael,

thanks for the advice. I've done what you have suggested and I dont get any error message whatsoever. Could this mean that I dont have a quiz 'plug-in' installed?? This is the first time that I've been trying to add a question into the question bank so perhaps I havent installed a quiz 'plugin' yet.

Could this be a possibility?? Could you recommend a stable quiz plugin??

Thanks again!

In reply to Kent Baker

Re: Cant add question into bank???

by Kent Baker -

I also forgot to mention that I've tried accessing

Sie Admin \ Advanced Features \ Question Types

and all I get is 'the website cannot be displayed' IE page. This is why I thought that I have to install a quix plugin??

thanks

Kent

In reply to Kent Baker

Re: Cant add question into bank???

by Jean-Michel Védrine -

Hello Kent,

I am quite puzzled by the fact no error message is displayed surprise, and in fact I just can't beleive it thoughtful so just in case I am posting a step by step instruction of what you should verify, please forgive me if this is exactly what you have done.

  1. Login as Administrator on your Moodle website
  2. Go to "Site Administration" -> "Development" -> "Debugging"
  3. In the dropdown menu for "Debug messages" choose "DEVELOPER extra Moodle debug messages for developers"
  4. Click on "Save changes"
  5. Go to the question bank page (the same page where you did the screenshots) and see if you get anything different from what was previously displayed.

Maybe my message was unclear but I was not suggesting that you install any plugin, I was suggesting that you REMOVE any non core question type that you have installed. To verify if you have any non core question type installed or not look at the question/type/ subdirectory, you should only have calculated, calculatedmulti, calculatedsimple, description, essay, match, missingtype, multianswer, multichoice, numerical, random, randomsamatch, shortanswer, simpletest, truefalse subfolders.

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

Re: Cant add question into bank???

by Kent Baker -

Hi Jean,

thanks for getting back to me. I made a quick video of my site and did the steps you suggested and still no error came up. Maybe I'm doing something wrong still

 

Thanks very much again for your help !!

In reply to Kent Baker

Re: Cant add question into bank???

by Joseph Rézeau -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Kent,

Thanks for the video. I personally always prefer screenshots to videos, as they give a clearer picture of what is on the screen. For instance, on your Site administration ► Development ► Debugging page, I can't see whether the Display debug messages setting is set to ON or OFF. Obviously, if it's set to OFF you won't see error messages.

Joseph

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

Re: Cant add question into bank???

by Jean-Michel Védrine -

Well spotted Joseph ! Display debug messages should be ON or error messages will most probably be written in a file on the server depending on PHP settings !

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

Re: Cant add question into bank???

by Kent Baker -

I've finally figured out how to get the error message ! Thanks again Jean.

Here is what I've got. The first one is from the Question Bank front page, the second is when I try and add a question (I had to print this out as a pdf, otherwise the image would be blurred) - see pdf attachment. The third is what I get from Manage Question Types.

1. Question Bank front page

 

 

In reply to Kent Baker

Re: Cant add question into bank???

by Kent Baker -

This is what I get when I try and add a question (see attachment)

In reply to Kent Baker

Re: Cant add question into bank???

by Kent Baker -

And this is what I get when I try and access the Question Types (in plugins)

In reply to Kent Baker

Re: Cant add question into bank???

by Kent Baker -

thanks again for all your help Jean & Joseph ! !

In reply to Kent Baker

Re: Cant add question into bank???

by Jean-Michel Védrine -

With the error message the situation is a lot more easy to understand : you have installed the ddimageortext but this question type require that you install the gapselect questiontype too.

Just install the gapselect question type and your question  bank will work again.

There is also a message about a missing language string healthcenter but this is not a fatal error, it's just a warning so it will not prevent your Moodle from running.

Don't forget to set the debugging message level back to none when you have installed gapselect or this warning will be displayed on each page of your Moodle.

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

Re: Cant add question into bank???

by Kent Baker -

Thanks Jean ! I've just downloaded the gapselect file from https://github.com/timhunt/moodle-qtype_gapselect/#readme

Sorry for the novice question, but I'm not sure how to install it. From what I've read on other posts it requires access to the Question Type - however I cant seem to access that webpage - as in one of my images I had in my last email (I believe it is the 3rd one).

I know I'm taking up your time on this but I really appreciate it!

Kent

In reply to Kent Baker

Re: Cant add question into bank???

by Joseph Rézeau -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators
 download the zip from
    https://github.com/moodleou/moodle-qtype_gapselect/zipball/master
unzip it into the question/type folder, and then rename the new folder to gapselect.
In reply to Joseph Rézeau

Re: Cant add question into bank???

by Kent Baker -

Hi Joseph,

thanks for this. Can you tell me if what I'm thinking is right. From what youve said, I think I should be uploading the zip file into the following path:

site admin / plugin / question types / manage question types

If so, my problem now is that I cannot access the 'manage question types' screen. My browser is simply not accessing anything (as in the attached image)

Im used to Moodle 1.9 where I can access the file structure and upload files & unzip. I dont think it works this way anymore - unless I have missed something.

Is there any documents that I can read to help me figure this out - or better still, a youtube clip??

Thanks again

Attachment Question types.jpg
In reply to Kent Baker

Re: Cant add question into bank???

by Joseph Rézeau -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

@Kent,

I'm afraid you've got it all wrong. The gapselect question type can only be installed by the admin of your site. Do you have that capacity? Can you log into your Moodle site as Admin? If you can't, then you'll have to ask your admin to do it for you.

Joseph

In reply to Kent Baker

Re: Cant add question into bank???

by Joseph Rézeau -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Kent "... I recently installed Moodle 2 ..."

Which exact version? 2.0, 2.1, 2.2, 2.3(still in development)? I hope not 2.0, which is now obsolete, especially as regards the Question engine.

Joseph

In reply to Joseph Rézeau

Re: Cant add question into bank???

by Kent Baker -

Hi Joseph,

I'm using version 2.2.3 (Build: 20120514).

I hope this doesnt impact the functionality of the quiz engine

regards

Kent

In reply to Kent Baker

Re: Cant add question into bank???

by Joseph Rézeau -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

@Kent,

On the contrary, this version is the current best version for using the Quiz engine.

Joseph

In reply to Joseph Rézeau

Re: Cant add question into bank???

by Kent Baker -

I have no idea why I'm haing so much difficulty with it then. Its a clean install and this is the first activity I've included. Perphaps our IT didnt install it correctly??

From what Jean has noted, the quiz module shouldbe working fine as it is an existing component of the Moodle version.

Kent

In reply to Kent Baker

Re: Cant add question into bank???

by Joseph Rézeau -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

@Kent, you can't really call this a "clean install" since you have added non-standard question types to your installation.

Joseph

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

Re: Cant add question into bank???

by Kent Baker -

This might be the answer, I asked out IT department to install the following Plugins and this is what might have messed the whole thing up. Do you think that's right??

Plugins

1. Drag & Drop into Text - http://moodle.org/plugins/view.php?plugin=qtype_ddwtos

2. Drag & Drop into Image - http://moodle.org/plugins/view.php?plugin=qtype_ddimageortext

 

In reply to Kent Baker

Re: Cant add question into bank???

by JM Ferring -

Yes, this is the answer.

I had the same problems when I tried these new question types on my local moodle.

Uninstall them and everything is fine.

In reply to JM Ferring

Re: Cant add question into bank???

by Joseph Rézeau -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

JM Ferring "Uninstall them and everything is fine."

No, the new question types can be installed and work fine on a local Moodle site (2.2.x), but you have to follow strictly the installation procedure (see below).

Joseph

In reply to Kent Baker

Re: Cant add question into bank???

by Joseph Rézeau -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

It might be easier to discuss the situation if your IT people (who are admin on your Moodle site) entered this discussion... if you can persuade them to do so.

The reason for your problem and the way to solve it have been very well explained by jean-michel vedrine - in his post dated Tuesday, 12 June 2012, 08:34 AM.

Actually, I do not understand how your IT people (admin of your Moodle site) could have messed things up, since, if you try to install a plugin (A) which requires another plugin (B), an error message is displayed which prevents you from installing A until B has been installed. See attached screenshot.

Joseph

Attachment 12-06-2012 13-53-15.jpg