Package: php-pear
Version: 5.0.5-3
Severity: grave
Tags: patch
Justification: renders package unusable
When I run the following command:
only4clans:~# pear upgrade-all
Fatal error: Cannot instantiate non-existent class:
pear_command_auth-init in /usr/share/php/PEAR/Command.php on line 271
it gives that error..
I've searched and fixed mine problem.. but hopefully this can be fixed for
other people aswell
In the PEAR/Command directory there are files like "Auth-init.php" that
should
not be automatically included by Command::registerCommands(). The fix
for me was to alter line 263 to look like this:
if ($entry{0} == '.' || substr($entry, -4) != '.php' || $entry ==
'Common.php' || (strpos($entry,'-') !== false)) {
Hopefully this can help some people!
Sincerely
Paul
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-speakup
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages php-pear depends on:
ii php4-cli 4:4.4.0-4 command-line interpreter for the p
ii php5-common 5.0.5-3 Common files for packages built fr
Versions of packages php-pear recommends:
ii gnupg 1.4.2-2 GNU privacy guard - a free PGP rep
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]