Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad response from server: (500 [error,getplugins]) Internal Server Error #1836

Closed
cbrace opened this issue Feb 19, 2019 · 2 comments
Closed

Comments

@cbrace
Copy link

cbrace commented Feb 19, 2019

Hi all,

I am seeing this error message in the webGUI:

Bad response from server: (500 [error,getplugins]) Internal Server Error

I see this in the nginx error log:

2019/02/19 10:59:23 [error] 48155#101476: *12 FastCGI sent in stderr: "PHP Fatal error: Uncaught Error: Call to undefined function json_encode() in /usr/local/www/ruTorrent-master/php/util.php:239
Stack trace:
#0 /usr/local/www/ruTorrent-master/plugins/lookat/lookat.php(60): safe_json_encode(Array)
#1 /usr/local/www/ruTorrent-master/plugins/lookat/init.php(9): rLook->get()
#2 /usr/local/www/ruTorrent-master/php/getplugins.php(495): require_once('/usr/local/www/...')
#3 {main}
thrown in /usr/local/www/ruTorrent-master/php/util.php on line 239" while reading response header from upstream, client: 192.168.2.37, server: localhost, request: "GET /rutorrent/php/getplugins.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "pluto", referrer: "http://pluto/rutorrent/"

Any ideas about what is going wrong here?

I am running
freebsd v11.2
rtorrent v0.9.7_3
rutorrent v3.8
nginx v1.14.2_3,2

TIA

@Novik
Copy link
Owner

Novik commented Feb 19, 2019

Try to install JSON php extension.
On the normal systems this extension is a part of PHP core - http://php.net/manual/en/json.installation.php
May be FreeBSD is not a normal system, or you use too old PHP version.

@Novik Novik closed this as completed Feb 19, 2019
@cbrace
Copy link
Author

cbrace commented Feb 19, 2019

Fixed, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants