{"id":114,"date":"2009-09-11T09:58:06","date_gmt":"2009-09-11T09:58:06","guid":{"rendered":"http:\/\/danmarsden.com\/blog\/?p=114"},"modified":"2009-09-11T09:58:06","modified_gmt":"2009-09-11T09:58:06","slug":"moodle-networking-bugs","status":"publish","type":"post","link":"https:\/\/danmarsden.com\/blog\/2009\/09\/11\/moodle-networking-bugs\/","title":{"rendered":"Moodle Networking bugs"},"content":{"rendered":"<p>I&#8217;ve been battling with a couple of issues with Moodle Networking over the past week!<\/p>\n<p>The first was an issue where the configuration of Mnet between a Moodle and Mahara site on the same server worked fine, it obtained the various keys as necessary, but when an Mnet call was made like a Single Sign on call from a Moodle user accessing Mahara, it would fail &#8211; with no useable error message anywhere to be found! &#8211; I eventually traced it down to a call to xml_parse &#8211; turns out that libxml in <a href=\"http:\/\/bugs.php.net\/bug.php?id=45996\">certain versions of PHP<\/a> is quite buggy &#8211; and this is actually a known issue with other areas of Moodle. <a title=\"Spoiled ancoding in 1.9.3\" href=\"http:\/\/tracker.moodle.org\/browse\/MDL-17136\"> MDL-17136<\/a> <a title=\"After Course Restoration HTML entities get broken\" href=\"http:\/\/tracker.moodle.org\/browse\/MDL-16759\">MDL-16759 <\/a><\/p>\n<p>IMO we should really notify administrators that they are potentially running buggy code so I&#8217;ve created <a href=\"http:\/\/tracker.moodle.org\/browse\/MDL-20220\">MDL-20220<\/a> to add such a notification!<\/p>\n<p>The other issue I&#8217;ve been battling with is related to Moodle and Mahara not generating any keys at all &#8211; this is centered around the installation not being able to locate an openssl.cnf file on the server, and it appears in my testing that adding an environment var on the server didn&#8217;t reliably work! &#8211; also I needed to get this to work on a XAMPP install or an <a href=\"http:\/\/www.chsoftware.net\/en\/useware\/mowes\/mowes.htm\">MoWeS<\/a> install, so setting an environment var wasn&#8217;t really an option! I&#8217;ve got an incoming\u00a0 <a href=\"http:\/\/tracker.moodle.org\/browse\/MDL-13503\">patch<\/a> for 1.9Stable and Head that fixes this &#8211; I also have a patch for Mahara which will go upstream very soon!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been battling with a couple of issues with Moodle Networking over the past week! The first was an issue where the configuration of Mnet between a Moodle and Mahara site on the same server worked fine, it obtained the various keys as necessary, but when an Mnet call was made like a Single Sign [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,11],"tags":[],"class_list":["post-114","post","type-post","status-publish","format-standard","hentry","category-mahara","category-moodle"],"_links":{"self":[{"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/posts\/114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":1,"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions"}],"predecessor-version":[{"id":115,"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions\/115"}],"wp:attachment":[{"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/media?parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/categories?post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/danmarsden.com\/blog\/wp-json\/wp\/v2\/tags?post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}