Trying to use the Questionnaire module

Trying to use the Questionnaire module

by Scott Karren -
Number of replies: 19
I am trying to setup the questionnaire module.  It appeared to install just fine, but when I try to setup a new questionnaire I follow the steps on the first page, click on "continue" and then fill in the information on the next page and then stop.  I have five buttons on the bottom of this page, "general", "edit questions", "reorder questions", "preview", and "save and return"  The general and reorder questions buttons are greyed out, if I click save and return it takes me to a screen that tells me the survey does not exist.

I am using the following system:
Moodle 1.4.4+
Apache 1.3
PHP 5.03
MySQL 4.1
Win XP SP2

Any ideas on what is happening here?

Scott Karren
Average of ratings: -
In reply to Scott Karren

Re: Trying to use the Questionnaire module

by Mike Churchward -
Picture of Core developers Picture of Plugin developers Picture of Testers
Click on the 'edit questions' and create some questions for your questionnaire. Then use the save and return.

mike
In reply to Mike Churchward

Re: Trying to use the Questionnaire module

by Scott Karren -
My bad, I didn't specify that clicking on the "edit questions" button returns the "survey does not exist" error as well.
In reply to Scott Karren

Re: Trying to use the Questionnaire module

by Scott Karren -
I just noticed that when I get to the editing questions screen the owner is always this - courseid / [[]]

Scott Karren
In reply to Scott Karren

Re: Trying to use the Questionnaire module

by Mike Churchward -
Picture of Core developers Picture of Plugin developers Picture of Testers
Since you are using PHPV5, make sure you have the PHP directive 'register_long_arrays' set to 'on'. This is documented in the 'readme.txt' file. Is this done?

mike
In reply to Mike Churchward

Re: Trying to use the Questionnaire module

by Scott Karren -
Yes, this is one of the first things I have done.

Scott
In reply to Mike Churchward

Re: Trying to use the Questionnaire module

by Richard Ackland -

I am having the same problems... I am using moodle 1.5.2 PHPV4

I can create the survey fine.... as a template.. then when i go to copy from the template it says survey not found every time.

The same is true if I make the survey private and i copy the contents..

The surveys work fine however.. i just have to create them all individually... which is just not practcal..

help please

In reply to Richard Ackland

Re: Trying to use the Questionnaire module

by Mike Churchward -
Picture of Core developers Picture of Plugin developers Picture of Testers
How recent is your questionnaire module? There were a number of fixes checked in in the last week.

mike
In reply to Mike Churchward

Re: Trying to use the Questionnaire module

by Richard Ackland -

I downloaded it yesterday (Monday 18th), from the moodle downloads section.

I have since managed to "copy" the questionnaire from one place to another using the backup and restore feature... so all is not lost.

Apart from this, the questionnaire is brilliant - its just what we need. I am using moodle with 11-18 years olds at a UK school that is big on student feedback. Also the new Ofsted (school inspector) framework requires you to include student feedback as part of your school self evaluation - this tool is ideal... thanks smile

In reply to Richard Ackland

Re: Trying to use the Questionnaire module

by Christine Rosalia -
I am having a similiar problem. I create one questionnaire just fine and then when I want to add another it seems to delete the first one, telling me when I go back to it that "the survey is missing"- however as a choice it is listed when I go to add a new questionnaire. It is very frustrating.

I do not know what exact version of moodle I am using since this is a managed site which does not support the questionnaire module yet. sad It is definately 1.5, but I do not know how to check what exact version it is. Can you tell me how to check?

Is there something I should be changing in my cpanel configurations to make the questionnaire module work better, such as an upgrade to 1.5.2PHPV4?
In reply to Christine Rosalia

Setting length and precision for question types

by Christine Rosalia -
This may be a dumb question, but when setting essay type length and precision should I type "columns" and "rows" or actually put in numbers? Similiarly for text or radio button type questions should I be typing exactly what you have in the help me chart (orange question mark that links to the online moodle manual) or should I be putting in numbers?

Thanks for any help you might give. I really want to use this questionnaire module. It suits me much more than the quiz module, as I do not want to grade I just want a survey.
In reply to Christine Rosalia

Re: Setting length and precision for question types

by Mike Churchward -
Picture of Core developers Picture of Plugin developers Picture of Testers
If you have the latest module, there is a link to a help file that describes how those settings work for each question type. The link should be on the question edit page.

mike
In reply to Christine Rosalia

Re: Trying to use the Questionnaire module

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
You can see your Moodle version on the admin page (down the bottom).

Sorry I don't know about the Questionnaire problem, though.
In reply to Richard Ackland

Re: Trying to use the Questionnaire module

by James Depow -

Hi,

I am having similiar problems.

I had used the Questionnaire Module in a previous installation (I installed php, mysql, and appache using EasyPHP (http://www.easyphp.org/)). Everything worked fine and it is a great module.

We moved our Moodle site to a new server and I am unable to get the module working properly. There are questionnaires on the site but I am unable to edit them. Even when I copy them, I am unable to edit either the original or copy version. I have changed the php.ini file to long_arrays on, and restarted the apache server, which increased my ability to do some things.

When I go into the Management Interface (moodle/mod/questionnaire/phpESP/admin/manage.php) I cannot edit a survey as there are no surveys displayed (but the surveys are there if I copy them or change the status)

I am using the following:

Moodle Moodle 1.5.2 + (2005060223)

PHP Version 5.0.4

Apache ( Apache for Windows 95/NT ) /1.3.33 (Win32) PHP/5.0.4

Mysql

I did get the following error when attempting to do something (but I can't remember what I was doing sad black eye):

Warning: Invalid argument supplied for foreach() in c:\program files\apache group\Apache\htdocs\moodle\mod\questionnaire\phpESP\admin\include\function\survey_copy.inc on line 58

Any help or suggestions would be appreciated.

Thanks,

Jim

ps: I installed Moodle on my laptop and the Questionnaire works fine.  The difference between my laptop and the production site is the version of php (laptop is using vesion 4.3.10) so I am assuming the problem in with the version of php on the production server.

In reply to James Depow

Re: Trying to use the Questionnaire module

by James Depow -
I have attached my php.ini file from the production server, if anyone wants to look at it and see if this is the cause of my problem.

Thanks,

Jim
In reply to James Depow

Re: Trying to use the Questionnaire module

by Mike Churchward -
Picture of Core developers Picture of Plugin developers Picture of Testers
Hi Jim -
 
I just reread your post. I think your problem is that you are trying to edit your surveys in the wrong place. You shouldn't be using the phpESP interface (moodle/mod/questionnaire/phpESP/admin/manage.php) any more. Instead, use the standard moodle update module interface.
 
When you are there, you will see a 'continue' button. This takes you to the edit questions section.
 
mike
In reply to Mike Churchward

Re: Trying to use the Questionnaire module

by James Depow -

Mea culpa, mea culpa, mea maxima culpa black eye

The questionnaire module is working fine! big grin

I did have to modify the php.ini file, and stop and re-start the Apache server.  The problems after that were the user (me) and not the module itself.

Big thanks to Mike Churchward for helping me!!!

Regards,

Jim

In reply to Mike Churchward

Re: Trying to use the Questionnaire module

by Peter Brown -
I have what appears to be the same problem as Scott (can't create a new questionnaire--everything appears to be working until I try to edit questions, at which point it tells me "questionnaire does not exist").  Like him, I do have 'register_long_arrays' set to 'On'.

Moodle 1.5.2+ (2005060222)
Apache 2.0.54
PHP 5.0.4
MySQL 4.1.12
Fedora Core 4

questionnaire.zip dated 3 Aug 2005 on the download page

Any ideas?  Any more info I should provide?

Thanks!

Peace
--Peter
In reply to Peter Brown

Re: Trying to use the Questionnaire module

by tracy zh -

I had the same problem. I guess the reason is that  php5.0.4 is not compatible. When I installed the questionnaire modal under php4.4.0 at home, is worked fine. However, when I run it under php5.0.4 at my work place, it did show  the survey does not exist. I really dont want to reinstall php since I have to negotiate with my system analysist at my work. Can any one fix it ?

In reply to tracy zh

Re: Trying to use the Questionnaire module

by tracy zh -
Hi, I just figured it out!! I am still using php5 , I changed " register_long_arrays" to on in Php.ini . However, the key thing is to stop your apache server and restart it again, otherwise , it won't work!