Questionnaire
Maintained by
Mike Churchward
Custom Survey Creation
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
I do not understand your question.
We will using this plug in for teacher evaluation by the way
I installed this module without any problem. I wanted to ask whether we can use point system instead of percentage for sections? I am trying to buid a personality test and I want points to be shown after the test and not percentage.
I just installed this module on a Moodle 2.5 (running on a public LAMP stack) via the admin panel and everything went smoothly. However, when I created an instance to test it, clicked on "Save and display", I got a file permissions error, "A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again." The file permissions had been set to 711 throughout the package. I changed the /moodle/mod/questionnaire/ directory and all its contents (recursively) to 755 and everything worked fine after that.
This seems to happen with a few plugins in the Moodle.org repo.
Just so that you know
is it possible to change separator in txt exported file? I would like use a ; or a | or a § ... what have I to change? Can you help me please?
Thank you
Pierpaolo
Would it be OK to post the requirement here on this forum?
I've already listed a job in the jobs section at https://moodle.org/mod/data/view.php?d=54&rid=6493
And as mentioned above depending on cost I would be very willing to contribute if you thought it was a good idea.
Regards David
After creating a questionnaire and students responding, when checking 'All Responses' it says "Error reading from database". The debug info is as follows:
Debug info: SQLState: 42000
Error Code: 156
Message: [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near the keyword 'user'.
SELECT T.id, T.response, R.submitted AS submitted, R.username, U.username AS username, U.id AS user, U.lastname, U.firstname, R.survey_id, R.id AS rid FROM mdl_questionnaire_response_text T, mdl_questionnaire_response R, mdl_user U WHERE question_id=518 AND response_id IN (210) AND T.response_id = R.id AND U.id = CAST(R.username AS INT) ORDER BY U.lastname, U.firstname
[array (
)]
Error code: dmlreadexception
Stack trace:
line 423 of \lib\dml\moodle_database.php: dml_read_exception thrown
line 260 of \lib\dml\sqlsrv_native_moodle_database.php: call to moodle_database->query_end()
line 367 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->query_end()
line 788 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->do_query()
line 836 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->get_recordset_sql()
line 462 of \mod\questionnaire\questiontypes\questiontypes.class.php: call to sqlsrv_native_moodle_database->get_records_sql()
line 679 of \mod\questionnaire\questiontypes\questiontypes.class.php: call to questionnaire_question->get_response_text_results()
line 636 of \mod\questionnaire\questiontypes\questiontypes.class.php: call to questionnaire_question->display_response_text_results()
line 2561 of \mod\questionnaire\questionnaire.class.php: call to questionnaire_question->display_results()
line 552 of \mod\questionnaire\report.php: call to questionnaire->survey_results()
Clearly in the query 'U.id AS user' needs to be changed to 'U.id AS [user]'
We are using MS SQL 2012.
Thanks
Occasionally I see the following error in our logs:
PHP Fatal error: Class 'questionnaire' not found in /srv/www/mod/questionnaire/lib.php on line 892
This is defined in 'locallib.php', which is required at the start of lib.php. I suspect it is actually something to do with the way APC handles included and required files, because the error goes away for a while after I restart apache. But I notice you're using a mixture of relative and absolute paths for require_once calls. Since locallib.php is not a unique filename in Moodle, there's a danger APC will overwrite it. I think the relative paths should be made absolute by making reference to $CFG->dirroot in the paths.
To all Questionnaire users, please note : this is NOT the right place to ask questions about the Questionnaire plugin. Please use the moodle.org questionnaire forum!
Joseph
I must really commend you guys for this great plugin. Kudos!
I however have a slight issue. When the user completes the questionnaire and gets redirected to a page, if the user clicks back to on the questionnaire link, it displays a "You have already filled the questionnaire" i.e. the administrator set it to once response.My challenge is, if their is no navigation enabled or no block allowed for such user, the user cannot go back to the course page except he\/she goes through the browsers back button.
Can you tell me what code to edit. Thanks