PHP went from version 5.5.9 to version 7.2 in the upgrade.
That's all I've got. Can I see your source code?
-Travis
On Sun, Mar 10, 2019 at 2:04 PM David Richfield <davidrichfield(a)gmail.com>
wrote:
Hi Travis,
That part of the tool is written in PHP, a language I don't speak
natively: I hacked it together from Brad Jorsch's oauth-hello-world (
https://tools.wmflabs.org/oauth-hello-world/index.php?action=download
)
Thanks
David
On Sun, 10 Mar 2019 at 21:55, Travis Briggs <audiodude(a)gmail.com> wrote:
Hi David,
What language is your tool running in? There are definitely major
differences in
versions on Stretch v Trusty. A library you were using on
Trusty may have been upgraded and is behaving differently.
That's about all I can think of from what you provided.
Hope this helps,
-Travis
On Sun, Mar 10, 2019 at 11:15 AM David Richfield <
davidrichfield(a)gmail.com>
wrote:
>
> Hi all,
>
> I moved my tool (parliamentdiagram) to Stretch today, and everything
> works, except direct upload to Wikimedia Commons. I get the following
> error:
>
> "Error: File upload parameter "file" is not a file upload; be sure to
> use "multipart/form-data" for your POST and include a filename in the
> "Content-Disposition" header."
>
> The request looks like this:
>
> action: upload
> uri:
/data/project/parliamentdiagram/public_html/svgfiles/2019-03-10-18-07-19-687399-18179320035893093241.svg
filename:
My_Parliament.svg
pagecontent: == {{int:filedesc}} ==
(and some more content that I'm snipping for brevity)
This works fine on Trusty, but neither on Gridengine or Kubernetes.
Where should I look for the cause?
For now, I'm going to keep the tool running on Trusty so that my users
still have this option.
--
David Richfield
+49 176 72663368
_______________________________________________
Wikimedia Cloud Services mailing list
Cloud(a)lists.wikimedia.org (formerly labs-l(a)lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud
_______________________________________________
Wikimedia Cloud Services mailing list
Cloud(a)lists.wikimedia.org (formerly labs-l(a)lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud
--
David Richfield
+49 176 72663368
_______________________________________________
Wikimedia Cloud Services mailing list
Cloud(a)lists.wikimedia.org (formerly labs-l(a)lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud
_______________________________________________
Wikimedia Cloud Services mailing list
Cloud(a)lists.wikimedia.org (formerly labs-l(a)lists.wikimedia.org)