self20 / avalanche-rt

Automatically exported from code.google.com/p/avalanche-rt
Other
0 stars 0 forks source link

Notices: "Undefined index: https" & "Undefined variable: params" #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install and configure avalanche-rt.

Error parsing remote.php

parsererror

Invalid JSON: <br />
<b>Notice</b>:  Undefined index: https in
<b>/var/www/localhost/htdocs/avalanchert/lib/rtorrent.php</b> on line
<b>47</b><br />
<br />
<b>Notice</b>:  Undefined variable: params in
<b>/var/www/localhost/htdocs/avalanchert/lib/rtorrent.php</b> on line
<b>72</b><br />

On:
lighttpd 1.4.25
php 5.3.2 (error_reporting = E_ALL | E_STRICT)
avalanche 0.9-rc1

It's a little strange that it dies on notices, instead of simply notify
them. A suggestion: make the error dialog bigger, it's a pain to read the
text into it.
Anyway, I solved the first one adding "https"=>FALSE to $configuration. For
the other one, I commented the lines from 72 to 75 into lib/rtorrent.php
and now it works, since I'm not using HTTPS and trust certificates. But
obviously that $params shouldn't be there.
I hope to see this solved soon, as I think this is one of the most
promising rtorrent front ends. ;)

Original issue reported on code.google.com by Hiero...@gmail.com on 13 Apr 2010 at 11:37

GoogleCodeExporter commented 9 years ago
Sorry that is my own lazy self: I hide E_NOTICE...

Thanks for the report, I'll make sure to get that fixed as a priority as soon 
as I get a 
moment to work on Avalanche. For now I recommend you just change your error 
reporting level, 
if you could please!

Original comment by keitha...@gmail.com on 19 Apr 2010 at 6:42

GoogleCodeExporter commented 9 years ago
Fixed in R47, if you're running on SVN please update. If you're running the RC 
0.9 then 
please wait until 0.9 Final!

Original comment by keitha...@gmail.com on 3 May 2010 at 9:26