First let me apologize to all of you who have had a problem with this. That's what happens when I try to work too quickly.
There were two problems causing this - one a PHP5 problem; the other a stupid mistake (mine).
Please update your '/mod/questionnaire' directory with the files in the attached zip. This should fix everything.
mike
I've updated the version in CVS with the posted fixes and some others. I've also added a cron task that will periodically run and clean up any orphaned questionnaires.
mike
mike
Mike,
No need to apologize....without you , we wouldn't have this
These patches fixed both the library and ownserhip errors for me.
10,000 thanks.
Ken
I updated the questionnaire mod from CVS and now I'm getting these errors
(of course "our_server" is our server, changed just for privacy, but the path is correct)
I then applied the patches from the .zip file attached in your post above, with the same results.
I love the questionnaire! I appreciate your work!
Sincerely,
MC
After updating survey from mod.php recieve : Warning: Invalid argument supplied for foreach() in "our_server"\mod\questionnaire\locallib.php on line 915 on manage_survey.php After clicking "Edit Questions" on page manage_survey.php Fatal error: Call to undefined function _() in "our_server"\mod\questionnaire\questions.inc on line 153 This error appears below the New Field button and the Field Name box on manage_survey.php |
(of course "our_server" is our server, changed just for privacy, but the path is correct)
I then applied the patches from the .zip file attached in your post above, with the same results.
I love the questionnaire! I appreciate your work!
Sincerely,
MC
After updating the questionnaire today (15.02) I'm getting the same errors as Matt.
In detail you can see the errors after clicking "Edit Questions" in the appended picture.
In detail you can see the errors after clicking "Edit Questions" in the appended picture.
If you updated from CVS, don't apply the patch. You may undo some things.
I have just commited more fixes to CVS to get rid of the error. I'll look into the warnings.
mike
I have just commited more fixes to CVS to get rid of the error. I'll look into the warnings.
mike
To reiterate how I fixed the errors I was having,
- Downloaded the questionnaire module (zipped)
- copied/Unzipped that to in my moodle "mod" directory on server
- Download the patch zip file from above post
- upzipped that patch file locally
- Copy those two patched php files into my mod/questionaire directory on server
- Good as Beans no more errors
Thanks again Mike.