TrenxT / rutorrent

Automatically exported from code.google.com/p/rutorrent
0 stars 0 forks source link

Undefined offset in php/settings.php #335

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. running ruTorrent with lighttpd on Synology NAS box

What is the expected output? What do you see instead?
no visual errors on GUI.

What environment are you using?
1. My ruTorrent version is 3.0
2. My rTorrent version is 0.86
3. I use web-server lighttpd it version is... on Linux DiskStation 2.6.24
#1139 Thu Mar 4 11:27:49 CST 2010 armv5tejl GNU/Linux
3. I use browser Firefox

Are some errors present in the web-server log?
Lighttpd error.log shouts:
2010-03-14 13:38:29: (mod_fastcgi.c.2711) FastCGI-stderr: PHP Notice: 
Undefined offset:  0 in /opt/share/w                              
ww/rutorrent/php/settings.php on line 83
PHP Notice:  Undefined offset:  1 in
/opt/share/www/rutorrent/php/settings.php on line 84
PHP Notice:  Undefined offset:  2 in
/opt/share/www/rutorrent/php/settings.php on line 85
PHP Notice:  Undefined offset:  3 in
/opt/share/www/rutorrent/php/settings.php on line 86

Are some errors present in the browser error console?
no

Please provide any additional information below.
default php configuration is giving notices, therefore you should add
existance checks for array variables in rutorrent/php/setting.php (lines
83-86).

Hope this helps.

Original issue reported on code.google.com by zilvinas...@gmail.com on 14 Mar 2010 at 11:51

GoogleCodeExporter commented 9 years ago
Additional comment - notices show up in error.log if lighttpd SCGI socket does 
not
return response (timeout).

Original comment by zilvinas...@gmail.com on 14 Mar 2010 at 1:21

GoogleCodeExporter commented 9 years ago

Original comment by novik65 on 16 Mar 2010 at 9:06

GoogleCodeExporter commented 9 years ago

Original comment by novik65 on 16 Mar 2010 at 10:35