Feedback:A required parameter (sesskey) was missing

Feedback:A required parameter (sesskey) was missing

av 景東 王 -
Antal svar: 5

Hi,

  I have installed  the feedback module 1.9.x (2007121802) for moodle 1.9 + (Build: 20080324)

  I setup a feedback-activity in the course,and if I logged in using "guest" account to complete the feedback,the webpage  will display  "A required parameter (sesskey) was missing" after submitting the answer,but if a authenticated user complete the feedback,there is no error.

  Is there something wrong ? Or is this  a bug ? Can  anybody help me? 

I have a another question ,when I installed the feedback module 1.8 for moodle 1.9,I exported the data to excel using unicode,the excel can display the right "chinese character",after I installed the feedback module 1.9, the excel only display blank but number,what is wrong?

Thank you very much.

Genomsnitt av betyg: -
Som svar till 景東 王

Re: Feedback:A required parameter (sesskey) was missing

av Andreas Grabs -
Bild på Core developers Bild på Peer reviewers Bild på Plugin developers Bild på Translators
Hi,

thank you for this tip. I fixed this issue. Currently i dont have permissions to checkin feedback for 1.9 in the cvs. But you can download the current version here: http://www.grabs-edv.de/referenzen/moodle/feedback-Modul/download.php

To the excel-export I can't say what is wrong. I tested it with cource-setting of chinese an it is ok (have a look at the screenshot). Sorry for the senseless text on the screenshot but I have not the smallest knowledge about chinese blinkning.

Andreas
Bilaga excel-chinese.gif
Som svar till Andreas Grabs

回應: Re: Feedback:A required parameter (sesskey) was missing

av 景東 王 -

Hi  Andreas,

  Thank you for solving the missing parameter problem.

  After trying for long time ,I have upgrade moodle to Moodle 1.9.1+ (Build: 20080528) and feedback module to 1.9(version 2008050105),but the excel-export is still wrong.

 The language which you used is simplified chinese(zh_cn),but I use traditional chinese(zh_tw),maybe there are some different problems.

 I have attached the excel export file which Excel encoding is set to unicode,the excel display blank still,could you give me some advices?

Thank you very much

                                                                                     Jing-Dong Wang

                                                                                     

Som svar till 景東 王

Re: 回應: Re: Feedback:A required parameter (sesskey) was missing

av Andreas Grabs -
Bild på Core developers Bild på Peer reviewers Bild på Plugin developers Bild på Translators
Hi Jing-Dong,

I'm sorry ledsen. On my mashine it runs correct (look at the attachement). Now I used chinese(zh_tw).
May be there is some configuration on your server wrong. I'm not sure what components have to be installed so that converting runs without problems.
Can you export to excel from the quiz-module?

Andreas
Bilaga exceloutput.jpg
Som svar till Andreas Grabs

回應: Re: 回應: Re: Feedback:A required parameter (sesskey) was missing

av 景東 王 -

Hi Andreas,

  I have found a solution for the character problem from this webpage :

  http://plog.ptes.tp.edu.tw/rss/atom/

In this webpage ,the character problem  resulted from no definition of  the string "UTF-16LE" .

 If I modify the function feedback_convert_to_win in easy_excel.php ,this problem is solved.

 The old code:

 if(!isset($newwincharset)) {
        if(!isset($CFG->latinexcelexport) || !$CFG->latinexcelexport) {
            $newwincharset = get_string('UTF-16LE');            
        }else {
            $newwincharset = get_string('localewincharset');
            if($newwincharset == '') {
                $newwincharset = 'windows-1252';
            }

The new code:

if(!isset($newwincharset)) {
        if(!isset($CFG->latinexcelexport) || !$CFG->latinexcelexport) {
            $newwincharset = 'UTF-16LE';            
        }else {
            $newwincharset = get_string('localewincharset');
            if($newwincharset == '') {
                $newwincharset = 'windows-1252';
            }
I have a question ,why is there no problem in your server ?

Thank you very much for your help.

                                                                                        Jing-Dong Wang

 

Som svar till 景東 王

Re: 回應: Re: 回應: Re: Feedback:A required parameter (sesskey) was missing

av Andreas Grabs -
Bild på Core developers Bild på Peer reviewers Bild på Plugin developers Bild på Translators
Hi Jing-Dong,

thank you very much! That's realy curious. On all my installations no error was thrown.
I just fixed it and updated the download files.

Best regards
Andreas