Code: Select all
PHP Fatal error: Cannot instantiate non-existent class: pear_command_remote-init in /usr/share/pear/PEAR/Command.php on line 271
This made pear work again. Will this fix be included in the next php-pear release?joe at joestump dot net wrote:I've found and fixed the problem. 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)) {
Notice the strpos() call. If the file has a dash in it then
don't try loading it. I can only assume Auth and the other
classes include their init files on their own.