Hi all together,
I'm using my own local instance of mediawiki NEW-UPLOAD Branch, but it seems that the action=upload feature of the API didn't work.
By trying to upload a image form a url I got allways the same error: <error code="An HTTP error occured: " info="fetchfileerror"/> The error EVEN occures if I use the example from the api.php: api.php?action=upload&filename=Wiki.png&url=http%3A//upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png&ignorewarnings
Of course I appened the token and the format=xml at the end of the request and I'm using POST to submit. The LocalSettings.php has the Values: I don't know whats the problem or if it's just don't works in that version. Has someone else that problem or has someone else succsessfully managed to upload a file through the API? Note: I don't need it but the manuel file upload via Special:Upload page also don't works (the source filename field is empty after clicking on upload file but nothing else happens) maybe there is a relation between the problems? $wgEnableUploads = true; $wgAllowCopyUploads = true;