Opened 15 years ago

Last modified 15 years ago

#52 assigned defect

Call-time pass-by-reference has been deprecated in

Reported by: Lennard Owned by: Gabor Hudiczius
Priority: lowest Milestone: airborn
Component: rTWi Version: 0.3.4
Severity: major Keywords:
Cc:

Description

Every time I add a torrent via a http I get a line reading:

Call-time pass-by-reference has been deprecated in /var/www/rtwi/input.php on line 295, referer: <URL>

The only thing I notice that doesn't work is the checkmark for 'autostart' (the torrent has to be started manually even if marked as such)

Change History (2)

comment:1 by Gabor Hudiczius, 15 years ago

for some reason I'm using a call-time pass-by-reference, when the function is already defined to do this (so it's not needed at call-time)

you must have a more recent PHP version, since i never got this warning

it will be fixed in the next release, but if it annoys you, you can fix it for yourself too in line 295 remove the & character, to change

$xmlrpc->set_type( &$torrent, "base64" );

to

$xmlrpc->set_type( $torrent, "base64" );

the load_start bug will be fixed in the next release too

comment:2 by Gabor Hudiczius, 15 years ago

Milestone: airborn
Status: newassigned
Note: See TracTickets for help on using tickets.