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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org