Your message dated Thu, 05 Apr 2012 14:51:18 +0000
with message-id <e1sfo1u-0003uc...@franck.debian.org>
and subject line Bug#666941: fixed in rtgui 0.2.81-4
has caused the Debian Bug report #666941,
regarding rtgui: broken with PHP 5.4
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
666941: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666941
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: rtgui
Version: 0.2.81-3
Severity: grave
Hello Dario,
with the update of PHP 5.4 (in wheezy) rtgui stopped working. In apache's log
it said:
PHP Fatal error: Call to undefined function import_request_variables() in
/usr/share/rtgui/www/index.php on line 23
Upstream's issue tracker mentions the problem [1] and a hackish solution.
I replaced every:
import_request_variables("gp","r_");
with:
foreach ($_POST as $key => $val) { $v = "r_$key"; $$v = $val; }
foreach ($_GET as $key => $val) { $v = "r_$key"; $$v = $val; }
foreach ($_FILES as $key => $val) { $v = "r_$key"; $$v = $val; }
and rtgui started working again. I'm not a developer so I don't know if that
solution is appropiate or not, but I can confirm it does work.
Thanks for your time. Regards,
Sebastian Cruz
[1] http://code.google.com/p/rtgui/issues/detail?id=117
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages rtgui depends on:
ii apache2 2.2.22-2
ii apache2-mpm-prefork [httpd] 2.2.22-2
ii libapache2-mod-scgi 1.13-1+b2
ii php5 5.4.0-3
ii php5-xmlrpc 5.4.0-3
ii rtorrent 0.8.9-2
rtgui recommends no packages.
rtgui suggests no packages.
-- Configuration Files:
/etc/rtgui/apache.conf changed:
Alias /rtgui /usr/share/rtgui/www
SCGIMount /RPC2 127.0.0.1:5000
<Directory /usr/share/rtgui/www>
Options +FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
AuthType Digest
AuthName "Restricted Zone"
AuthUserFile /var/www/passwords
Require valid-user
DirectoryIndex index.php
</Directory>
/etc/rtgui/config.php changed:
<?php
//
// This file is part of rtGui. http://rtgui.googlecode.com/
// Copyright (C) 2007-2008 Simon Hall.
//
// rtGui is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// rtGui is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with rtGui. If not, see <http://www.gnu.org/licenses/>.
// Connect string for your local RPC/rTorrent connection:
$rpc_connect="http://localhost/RPC2";
// rtorrent 'watch' directory (used for upload torrent)
$watchdir="";
// Path to report disk usage
$downloaddir="/mnt/data/nfs4/extra/bittorrent";
// Threshold for disk usage alert (%)
$alertthresh=5;
// Time between ajax calls - default 5000 (5 secs). Disable with 0
$defaultrefresh=2000;
// Display tracker URL for each torrent on main page - you might want to
disable this if you run lots (ie 30+ ?)
// torrents - To get the tracker URL requires another RPC call for every
torrent displayed.
// If it's disabled, it only requires one RPC call to list all the torrents.
$displaytrackerurl=TRUE;
// URL to your rtGui installation (used in RSS feed). Include trailing slash.
$rtguiurl="http://macumba.macumba-net.com.ar/rtgui/";
// Speeds for the download cap settings dialog.
$defspeeds=array(5,10,15,20,30,40,50,60,70,80,90,100,125,150,200,250,300,400,500,600,700,800,900,1000,1500,2000,5000,10000);
// Start download immediately after loading torrent
$load_start=TRUE;
// Enable debug tabs
$debugtab=FALSE;
// Tracker colour hilighting...
// Format is array(hexcolour, URL, URL, ...) The URL is a string to match
identifiy tracker URL
// Add as many arrays as needed.
$tracker_hilite_default="#900"; // Default colour
$tracker_hilite[]=array("#990000","ibiblio.org","etree.org");
$tracker_hilite[]=array("#006699","another.com","tracker.mytracker.net","mytracker.com");
$tracker_hilite[]=array("#996600","moretrackers.com");
// Define your RSS feeds here - you can have as many as you like. Used in the
feedreader
// Feed name, feed URL, Direct download links? (0/1)
$feeds[]=array("ibiblio.org","http://torrent.ibiblio.org/feed.php?blockid=3",0);
$feeds[]=array("etree","http://bt.etree.org/rss/bt_etree_org.rdf",0);
$feeds[]=array("Utwente","http://borft.student.utwente.nl/%7Emike/oo/bt.rss",1);
?>
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: rtgui
Source-Version: 0.2.81-4
We believe that the bug you reported is fixed in the latest version of
rtgui, which is due to be installed in the Debian FTP archive:
rtgui_0.2.81-4.debian.tar.gz
to main/r/rtgui/rtgui_0.2.81-4.debian.tar.gz
rtgui_0.2.81-4.dsc
to main/r/rtgui/rtgui_0.2.81-4.dsc
rtgui_0.2.81-4_i386.deb
to main/r/rtgui/rtgui_0.2.81-4_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 666...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dario Minnucci <mid...@debian.org> (supplier of updated rtgui package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 05 Apr 2012 15:43:46 +0200
Source: rtgui
Binary: rtgui
Architecture: source i386
Version: 0.2.81-4
Distribution: unstable
Urgency: high
Maintainer: Dario Minnucci <mid...@debian.org>
Changed-By: Dario Minnucci <mid...@debian.org>
Description:
rtgui - Web based front-end for rTorrent
Closes: 666941
Changes:
rtgui (0.2.81-4) unstable; urgency=high
.
* Urgency high because the software does not run at all under
PHP 5.4 due it calls PHP DEPRECATED functions.
* debian/patches:
+ Added 02-fixes-to-update-code-to-run-under-PHP-5.4.diff.
Fixes to update code to run under PHP 5.4. (Closes: #666941)
ie: Call to undefined function import_request_variables()
* debian/control:
+ Bump Standards-Version to 3.9.3
+ Update debhelper build dependency to use >= 9
* debian/copyright:
- Updates to comply with current DEP5 directives.
- Copyright years updated
Checksums-Sha1:
d7f409c942188e2695b5bfe40e1054a4500e481a 1792 rtgui_0.2.81-4.dsc
ff37b095ac7eca75c3eb730b90aa5986acffcdc2 16115 rtgui_0.2.81-4.debian.tar.gz
882c7f038374cfa71dd4ee35aa17b56a504c276f 48960 rtgui_0.2.81-4_i386.deb
Checksums-Sha256:
5c483d4ce0cd7de85325da811dfd5e0aad82ec0d426d99cb26e769383fac93c3 1792
rtgui_0.2.81-4.dsc
b3daa1e1332d45a95e6d3117e3624c468d45cfd8baab94ee8d2ed000e5848cc4 16115
rtgui_0.2.81-4.debian.tar.gz
5b2e82188b32dd9b0636e5ba49b04785c500d0e35aa1e9589b5ed1ce63615d98 48960
rtgui_0.2.81-4_i386.deb
Files:
d073dfa7e8ad9b02fa41df607ed05b50 1792 web extra rtgui_0.2.81-4.dsc
e8e5adc0353d188493dd5cc8da44d957 16115 web extra rtgui_0.2.81-4.debian.tar.gz
61554e7daa1d3363d7929271373cc1b9 48960 web extra rtgui_0.2.81-4_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJPfaXxAAoJEKgvu4Pz1XAz+MoP/3QMCW1VZp6FsPg0Vphd1pGb
dyTCoEVKfPCMERTIjHIA0VjoZopskoaOBLhL2mVjC3ZkKWiteMgPHy5w0ludR1JC
drNd6NKfBhMJL6s2cx3KFGnZXQZTjzN9K12pLSZCSyerE+08VnH60UgWEjGzhjcW
UvfpGoJARw6GVRSBKvQsaLfZpxBiCVxyb842XJ5nkgZZSb2r7lrS7g4mpawIxo8n
nnUT8TzEwbcou5b+BqCAsQ1t+VWPADVNL7ZKXkmyohyB3FHLzZCN9GipGiqgUINr
a376Q7lxZM4uGAdekPm0MNWTSDRYOR3vMMa3y9S0ZdzT0QzbRp97uHlWEDcShB/N
D/CcCBF7PGfM++E3DQIlxPVQBJYRM8MiABNVze6JvTjkjcgzlWrQfX8h2lCZ2Hi0
8ga0nJ7aDZToocTUMOY3h1gdimln1glxRe9pEgMEeXA+1N4+FW4mSJAdG4OrlxZn
MxnXCuayLH8fsfFlyud80s2U1jUSqcACbrrbzOGrF5YINATFpEE2hkUQDA+JJnT1
WP+ykLcCjL53xqXxeIcWJAPIJkC9vsPeaV86RCHJY0gCEZUw8RBr/tQufOOa7mLn
nQKVoL37oqcx3HcfYODWCLZSJTiJM1SsOjFUMcB920Q4wx7xqynEzv6XzGpBP6fe
54HverLnSx2Gq/KBYSfW
=hEKl
-----END PGP SIGNATURE-----
--- End Message ---