I'm a bit confused. This module worked fine, but after upgrading nothing works. Is it possible to get older version of questionnaire module? Where can I find it?
desperate ari
I had a working questionnaire before the update.
After the update the module sees my old questionnaires, but like YOU...
I get on that page a death button Next and a button Finish, which closes Moodle
Paths? Configs?
I must be up and running on monday, so consider a role back, but HOW??
I have three different moodle installations on the same server.
The first is Moodle 1.4.3 (2004083130) and the questionnaire mod behaves just like yours after upgrade. Of course this is the one in production!
I made a clean installation from scratch incl. database with version Moodle 1.4.3 + (2004083134) and the questionnaire upgrade works.
The third installation is Moodle 1.4.2 nearly (2004083122) and the questionnaire upgrade works normally!
Do we have a problem with 2004083130?
Looking at your answer I tried a new thing (real server, so 1.4.3) :
- I made a MySQL backup of the questionnaire tables
- I removed the questionaire from the modules list
- I inserted a fresh copie form CVS
- NOP.. same button
- Import the mysql dump (without creating new tables)
- NOP.. same next button
To be able to start the questionnaire the day after tomorrow (with 200 teachers ) I can use the old backdoor to enter the manager:
../mod/questionnaire/phpESP/admin/manage.php
And past the created test as a normal weblink, without the moodle management of taking it only once, etc..
When you upgraded, did you see any errors? Can you post the current table structures of your '_questionnaire_*' tables?
mike
mdl_modules
mdl_questionnaire
mdl_questionnaire_access
mdl_questionnaire_attempts
mdl_questionnaire_designer
mdl_questionnaire_question
mdl_questionnaire_question_choice
mdl_questionnaire_question_type
mdl_questionnaire_realm
mdl_questionnaire_respondent
mdl_questionnaire_response
mdl_questionnaire_response_bool
mdl_questionnaire_response_date
mdl_questionnaire_response_multiple
mdl_questionnaire_response_other
mdl_questionnaire_response_rank
mdl_questionnaire_response_single
mdl_questionnaire_response_text
mdl_questionnaire_survey
mdl_quiz
I have
* deleted these tables from the database
* deleted questionnaire module from mdl_modules
* deleted questionnaire directory and all subdirectories and files
* installed the module again.
There are no errors when I installed the questionnaire module again and all 18 tables exist. I compared the tables and settings with my other working installation and found no differences.
There must be an error in my moodle installation. Maybe I have to upgrade it.
PHP is 4.0.20
PHP is 4.3.10. and mySQL 4.0.20
Unfortunately, your links won't work for me. Can I see the structure (maybe use a screen dump) of your 'mdl_questionnaire' table, and your 'mdl_modules' table?
Also, 'mdl_quiz' is unrelated to these.
mike
I zipped three snapshots of the structures.
Thank You for your patience Mike
Re: Vast: Re: Vast: Re: Vast: Re: Can't create new survey
Unfortunately, everything looks fine there...
Is there a way you can give me access to your site so that I can try creating a questionnaire? You can isolate a course somewhere and just give me access to that.
If you can, send me the details via email.
mike
You say "I get on that page a death button Next and a button Finish, which closes Moodle". This sounds like you are accessing the phpESP management function directly. Why?
mike
When I try to add a new questionnaire I get the editing window normally. Finally I define new content by choosing create new because I don't have any existing. When I click the continue button I jump to preview page and there is nothing but Next page button and Close this window button and the text "this is how the survey will look..." (except there isn't any survey). I know that I should get the window where I give the name to the survey and define questions but for some reason I jump to this page that doesn't lead anywhere. The two buttons don't work.
As I mentioned before this problem occur with Moodle 1.4.3 (2004083130) installation but not with 1.4.3+ and 1.4.2 nearly. Strange.
No I went to the course, pasted a questionairre saw my old questinnaires, could choose and fill the settings and then arrived at that screen, instead of getting a kind of in-line quest.-menu..
Running out of time, after trying anything on 1.4.3, I had to fall back to the previous release of questionnaire because after upgrading - without accessing the old phpESP admin menu - I only get this next button and the "kill the session" button on the right. (it sees and shows me my old questionnaires, tanatalyzing )
Tomorrow people start to fill-in the questionnaire.
On March 8 the researcher wants to do the cross-table analysis. Would be great to have the new version ready on that moment so the owner of the questionnaire could do it from his own Moodle-course.
It also seems that the admin-menu has a little Altzheimer: You open the page and the fields are filled-in, when you close it again he forgots the titekl and the owner, you fill it again then you close it again and then it seems OK..
I just installed the questionnaire module from CVS in 1.4.3 (2004083130), and it worked like it should.
Steps I took:
1) Added questionnaire from activity drop-down.
2) Entered name 'Q1', summary, checked 'Create New' and clicked on the 'Continue' button. I left the other defaults (respond many, fullname, all, private).
3) At the General screen, gave it a title and clicked 'Edit Questions'.
4) Entered two questions, clicked 'Reorder Questions'.
5) Clicked 'Save & Return'.
6) Clicked 'Save Changes'.
It all worked.
I can't really tell what you are doing, but it sounds like you are closing windows without saving?
When you mention that you got to the screen that allowed you to select a template or create a new questionnaire, what did you do next?
In either case, you need to make a selection (eg. Create New Questionnaire), and them select the 'Continue' button at the bottom of the screen. That will take you to the next portion of the questionnaire creation.
If you click on a questionnaire link, you will open a preview window for that questionnaire. You cannot do any actions in a preview window.
Please confirm that this is what you are doing.
'register_long_arrays' set to 'on'. phpESP uses older global constructs, and requires this.
But, you're previous version wouldn't have worked either if this was the case.
I have reworked the code to get around this and commited it to CVS. If you are in a hurry, I have attached the file you need to update. Just copy the attached file into your '/mod/questionnaire' directory.
Thanks to Ari Ranta for giving me access to his site to debug this.
mike
New version works now also on my website, thanks Mike and Ari.
(so teachers cannow create their own questionnaires, only the analysis stays separate in the phpESP area?)
I have problems too creating a new survey.
The problem is preciselly the same described by Ari Ranta.
My configuration:
moodle 1.4.3+
apache 1.3.33 - php 4.3.10 - mysql 4.1.9 - phpmyadmin 2.6.1
xp sp2
I have uninstalled the module, moved elsewhere the questionnaire directory, added the new manage_survey.php file, moved again the questionnaire directory into /mod.
Everything seems to work fine, but I can't create a new survey.
I'm a newbi Moodle user, maybe I'm missing some obvious step...
Any help appreciated
Francesco Caviglia
mike
I installed version 1.2 and just added the new manage_survey.php file.
Probably I should have used all the most recent files in the CVS (it's something new to me).
Sorry for bothering you all.
Re: Can't create new survey - Problem Resolved!
It's a GREAT module, thanks for developing it!
Francesco