Thanks
Joseph
Hello Joseph
I get the same issue.
I'm using IIS7 and MSSQL 2008
Here is the debuging code
The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator.
SELECT response, COUNT(response_id) AS num FROM mdl_questionnaire_response_text WHERE question_id=12 AND response_id IN (50, 57, 58, 60, 100, 102, 119, 123, 126, 127, 131, 132, 306, 310, 315, 396, 452, 507, 534, 539, 591, 729, 799, 873) GROUP BY response
· line 686 of lib\dmllib.php: call to debugging()
· line 966 of lib\dmllib.php: call to get_recordset_sql()
· line 447 of mod\questionnaire\questiontypes\questiontypes.class.php: call to get_records_sql()
· line 626 of mod\questionnaire\questiontypes\questiontypes.class.php: call to questionnaire_question->get_response_text_results()
· line 581 of mod\questionnaire\questiontypes\questiontypes.class.php: call to questionnaire_question->display_response_text_results()
· line 2317 of mod\questionnaire\locallib.php: call to questionnaire_question->display_results()
· line 597 of mod\questionnaire\report.php: call to questionnaire->survey_results()
Thanks
Paulo Lima
Joseph gave me help to face this issue, but I do not say the first information... Our installation is on IIS and MSSQL database. Sorry Joseph
I will look on this way... and as Paulo, will test our moodle installation with the debug mode (when a non tech do the job of a tech... it happen).
JF
So, is it possible that there is an issue with the questionnaire module on IIS server and MS SQL Server DB (like Mike report previously)? Is there some plans to work on this problem?
I must look now for an other solution for my project, but the questionnaire module was my first choice...
JF
Can you comment in the CONTRIB-1692 issue?
mike
mike
I take a look at the error message, but I'm not a programmer and I could not figure out what does it mean.
Hope that sound easy for somebody else!!
JF
I am having trouble with the Questionnaire module as well. We are running MS SQL with apache in Windows server 2003 (Moodle 1.9.5+ (Build: 20090603))
I set up a test questionnaire with all the different types of questions.
After some testing this is what I found when trying to view ALL responses together:
checkboxes - No responses for this question.
Date - works
dropdown box - No responses for this question.
Essay - works
Radio buttons - No responses for this question.
Text box - works
yes/no - works
So it appears to be when there are multiple choices that MSSQL fails.
Would really love to get this working with MSSQL.
Thanks for your consideration.
mike
You have knocked over most of the bugs now. Just a couple more....
Here are the results from the 02 Mar 2010 version:
Checkboxes ............Response shows but no average (blank), no total
Date ............works as expected
Dropdown ............works as expected
Essay ............works as expected
Numeric ............works as expected and calculates correctly
Radio buttons ............works as expected
Rate ............No responses for this question.
Text ............works as expected
yes/no ............works as expected
Hope that helps.
regards
Ted
(The essay and text responses recall the text but some of the formatting is removed e.g. *everything* is lowercase and the cr/lf are converted to a single space.)
mike
Report in the bug tracker
Thanks again.
Ted
BTW Thanks for your help Mike... I really appreciate it!
JF
(Edited by Joseph Rézeau - original submission Tuesday, 2 March 2010, 03:45 PM) Added correct reference to the bug id.
Could it be possible?
JF
Thank you for your answer... Here is some precisions.
I have attach a screenshot of the page of the "All responses" tab in the "View all responses".
2 persons have answer this questionnaire and I could not see what are the stats for one question. I got for each question the note "No responses for this question.".
Is it normal??
Thanks