Package: ampache
Version: 3.5.4-9
Severity: normal

As reported in bug #593794, the whole directory
/usr/share/ampache/www/modules/pearxmlrpc is missing.
As a bugfix, this line in /usr/share/ampache/www/lib/init.php

require_once $prefix . '/modules/pearxmlrpc/rpc.php';

was comment out.

This renders the whole XML-RPC functionallity in ampache 
broken.

As a workaround, I've replaced in /usr/share/ampache/www/lib/init.php
the line 

  require_once $prefix . '/modules/pearxmlrpc/rpc.php';

by 

  require_once '/usr/share/php/XML/RPC.php';

and (for the XML-RPC server) in 
/usr/share/ampache/www/server/xmlrpc.server.php

the lines
  require_once Config::get('prefix') .  "/modules/pearxmlrpc/rpc.php";
  require_once Config::get('prefix') .  "/modules/pearxmlrpc/server.php";
by 
  require_once '/usr/share/php/XML/RPC.php';
  require_once '/usr/share/php/XML/RPC/Server.php';


This is a fairly untested workaround, but im my case it seems to fix the
issue completely. 
Perhaps, php-xml-rpc has to be added as a dependency, too.

Best regards

Bertram Lindner


-- System Information:
Debian Release: 6.0.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ampache depends on:
ii  debconf [debconf-2.0]   1.5.36.1         Debian configuration management sy
ii  libapache2-mod-php5     5.3.3-7+squeeze1 server-side, HTML-embedded scripti
ii  libjs-prototype         1.6.1-1          JavaScript Framework for dynamic w
ii  libnusoap-php           0.7.3-4          SOAP toolkit for PHP
ii  libphp-snoopy           1.2.4-2          Snoopy is a PHP class that simulat
ii  php5                    5.3.3-7+squeeze1 server-side, HTML-embedded scripti
ii  php5-auth-pam           0.4-10+b1        A PHP5 extension for PAM authentic
ii  php5-cli                5.3.3-7+squeeze1 command-line interpreter for the p
ii  php5-mysql              5.3.3-7+squeeze1 MySQL module for php5
ii  php5-xmlrpc             5.3.3-7+squeeze1 XML-RPC module for php5
ii  ttf-freefont            20090104-7       Freefont Serif, Sans and Mono True

Versions of packages ampache recommends:
ii  ampache-themes         3.5.0+repack-1    Themes for Ampache
ii  apache2-mpm-prefork    2.2.16-6+squeeze1 Apache HTTP Server - traditional n
ii  eyed3                  0.6.17-1          Display and manipulate id3-tags on

Versions of packages ampache suggests:
ii  mysql-server            5.1.49-3         MySQL database server (metapackage
ii  mysql-server-5.1 [mysql 5.1.49-3         MySQL database server binaries and
ii  php5-gd                 5.3.3-7+squeeze1 GD module for php5
pn  phpmyadmin              <none>           (no description available)

-- Configuration Files:
/etc/ampache/lighttpd_ampache.conf [Errno 2] No such file or directory: 
u'/etc/ampache/lighttpd_ampache.conf'

-- debconf information excluded

-- debsums errors found:
debsums: changed file /usr/share/ampache/www/lib/init.php (from ampache package)
debsums: changed file /usr/share/ampache/www/server/xmlrpc.server.php (from 
ampache package)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to