Merci à toi d'être là, à 50 piges, j'y ai passé la nuit
Alors, j'ai fait un
tail /var/log/nginx/rutorrent-error.log
et j'obtiens ceci :
2016/08/20 06:06:26 [error] 28997#28997: *21 FastCGI sent in stderr: "PHP message: PHP Warning: fopen(/var/www/rutorrent/share/users/manon123/settings/uisettings.json): failed to open stream: No such file or directory in /var/www/rutorrent/php/getsettings.php on line 7" while reading response header from upstream, client: 109.89.227.61, server: _, request: "POST /rutorrent/php/getsettings.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "62.210.85.211", referrer: "https://62.210.85.211/rutorrent/"
Et j'ai édité /var/www/rutorrent/phpgetsettings.php :
<?php
require_once( 'util.php' );
$s = '{}';
$fname = getSettingsPath()."/uisettings.json";
$fo = fopen($fname, 'r');
if($fo!==false)
{
if(flock($fo, LOCK_SH))
{
$s = @file_get_contents($fname);
if($s==false)
$s = '{}';
flock($fo, LOCK_UN);
}
fclose($fo);
}
Mais là, désolé, j'y pige que dalle