Moodle 2.02 https causes some failures

Moodle 2.02 https causes some failures

by Tom Cummings -
Number of replies: 1

Our Moodle sits behind a Novell ichain box. One of the features of this box is the secure exchange option.  The automtaically changes urls from http to https. This has worked well for Moodle 1.9.  We are now testing Moodle 2.02. (2.0.2+ (Build: 20110303)). The secure exchange option is causing Moodle 2.02 to throw up errors.  The main one we have found thus far is the file upload. If our secure exhange is turned on and the moodle url is changed to https then attmpting to upload a file such as a profile picture (other others) thrown up the folllowing:  "ERROR: Invalid JSON string"

This is directly related to the change from http to https.  This doesn't occur with Moodle 1.9

Other than us turning off our secure exchange (which I would rather not do) is there something I can configure in Moodle to get around this? Is it a bug?

Tom

Average of ratings: -
In reply to Tom Cummings

Re: Moodle 2.02 https causes some failures

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Have you got $CFG->wwwroot set correctly in config.php (It should contain the https).