API talk:Import

2013-09-19
 
 * Is this really only for Version 1.15?
 * How would an import via API work in 1.20 or up?
 * How to handle the following error?

workaround
in import.php: static function newFromUpload( $fieldname = "xmlimport" ) { // instead of: $upload =& $_FILES[$fieldname]; $upload= reset($_FILES); somehow the $_FILES array does not have it's index by name any more at this point. $_FILES["xml"] is not found. With a dummy api.php it can be shown that $_FILES has the correct setting in the POST initially: 