Topic on Project:Support desk


Summary by Frchdel4

Success by adding bcmat and php version upgrade!

Frchdel4 (talkcontribs)


I have a problem with my files uploading via VisualEditor. I can upload files from normal way (Special:Import), but when I want to upload from VisualEditor, this warning appears :

"Impossible to stock upload in the (Uploadstashbadpathexception) : "the key XXX.jpg" is not in a correct file format".

I have sometimes another error : "one of parameter Filekey, File and url is mandatory".

(I am traducing from French, maybe it is not the specific words in english version).

Do you have any idea? I checked this topic, but maybe there is another way to modify this, because it was working before (I don't see what I changed before this error).

My Wiki version is 1.31.0.

Thank you for your support,

MarkAHershberger (talkcontribs)

I assume you mean Special:Upload which is used for uploading jpegs and the like, not Special:Import which is used for importing wikitext.

What you provide as "'the key XXX.jpg' is not in a correct file format" sounds like uploadstash-bad-path-bad-format which, in French, would be "La clé « XXX.jpg » n’est pas dans un format correct." Is that the message you're seeing?

MarkAHershberger (talkcontribs)

Upgrading to 1.31.2 should be easy, though, so you should do that.

Frchdel4 (talkcontribs)


yes it is "la clé". Sorry for late reply. I will try to upgrade, and see if it changes the issue. I hoped there was something else to do, because I don't understand why it is happening now, but upgrade seems the best solution.

Thank you for your support \o/ !

Frchdel4 (talkcontribs)

Dear all,

I eventually did an upgrading to MW 1.33.1, with Parsoid 0.11. We had the same problem, and we had an error. We downloaded Bcmat, which upgraded php version. And now the "modify" tab and the pictures upload is working. Hope it will help someone!