You might want to use `is_object` rather then `isset` in `response.php`.
You should probablu do similar checks in `doUpload`.
And probably check what you get from `curl_exec` because the API call
probably fails.
Not sure why that would kill the webservice though.
Good luck ;-),
Nux.
David
Please create a ticket on Phabricator and assign it to me. I will log all
my findings there.
YiFei Zhu
On Fri, Jan 31, 2020 at 3:23 PM David Richfield
wrote:
> OK, this tool is still crashing, and I need help understanding what to
> debug. Is it the PHP script? I don't know enough PHP to debug
OK, this tool is still crashing, and I need help understanding what to
debug. Is it the PHP script? I don't know enough PHP to debug this
properly, so I'll need help if so. Or can the whole service go down
because a Python CGI script crashes?
I've taken a look through the logs, and until late Dece
This tool is still crashing, and it's not clear why. I think I've fixed
the Python issues that were causing the errors in the log that Arturo
noticed, but it crashed again today.
tools.parliamentdiagram@tools-sgebastion-07:~$ webservice status
Your webservice is not running
tools.parliamentdiagram
Thanks a million! I'll take a look this evening.
On 22/01/2020, Arturo Borrero Gonzalez wrote:
> On 1/22/20 11:32 AM, David Richfield wrote:
>> Hi all,
>>
>> The parliament diagram tool (
>> https://tools.wmflabs.org/parliamentdiagram/parlitest.php ) is down.
>> Last time it happened was a week a
On 1/22/20 11:32 AM, David Richfield wrote:
> Hi all,
>
> The parliament diagram tool (
> https://tools.wmflabs.org/parliamentdiagram/parlitest.php ) is down.
> Last time it happened was a week ago: I just restarted the webservice
> like Alex did, but now it's down again and I'm at work, so I can'
Hi all,
The parliament diagram tool (
https://tools.wmflabs.org/parliamentdiagram/parlitest.php ) is down.
Last time it happened was a week ago: I just restarted the webservice
like Alex did, but now it's down again and I'm at work, so I can't log
in for the next six hours or so. Can someone resta