Open gardon opened 12 years ago
Where can I post a patch? This line must be edited, or whichever simplexml_load_xxx calls are there:
<?php
$xml = simplexml_load_string($response, 'SimpleXMLElement', LIBXML_NOCDATA);
?>
Hi gardon, Note that the prescribed method for importing courses to SCORM Cloud is now to import directly to SCORM Cloud instead of doing an upload and then an import. The API listing is here: http://cloud.scorm.com/doc/web-services/api.html#rustici.course.importCourse The PHP lib use of that API call is to direct an file upload form to the URL returned from CourseService->GetImportCourseUrl. An example is in the samples/ImportSample.php.
That said, we don't want the upload functionalities to not work, so I'll note this to take a look at later. If you have gotten it to work, feel free to fork our repo and submit a pull request.
Thanks.
I investigated a service call that was apparently successful but returned an empty location. Turns out the XML comes with CDATA so you need to add a parameter do simpleXML