#217 PEAR error on installation

Fermé
Créé il y a 4 ans par xanathon · 7 commentaires
xanathon a commenté il y a 4 ans

Hello,

I am trying to install 1.20.9 on hosting with ssh access. I rememeber that I was able to install an earlier version in that environment. But now I get the following error:

Fatal error: Call to undefined method PEAR::getVersion() in /usr/share/php/PEAR.php on line 218

Help, please?

Thanks in advance.

Hello, I am trying to install 1.20.9 on hosting with ssh access. I rememeber that I was able to install an earlier version in that environment. But now I get the following error: ```Fatal error: Call to undefined method PEAR::getVersion() in /usr/share/php/PEAR.php on line 218``` Help, please? Thanks in advance.
Diogo Cordeiro a commenté il y a 4 ans
Propriétaire

Can you try applying this patch: 236929a166 ?

Can you try applying this patch: https://notabug.org/diogo/gnu-social/commit/236929a166c835e89a57f86f20ec0a0061178bb2 ?
xanathon a commenté il y a 4 ans
Publier

Thanks for the quick reply.

I added that in line 86 but unfortunately still get the same error.

Thanks for the quick reply. I added that in line 86 but unfortunately still get the same error.
Diogo Cordeiro a commenté il y a 4 ans
Propriétaire

I would guess you probably have php-pear packaged installed in your host then...

I would guess you probably have php-pear packaged installed in your host then...
xanathon a commenté il y a 4 ans
Publier

PEAR is installed at my hosting server. See image, result of "pear list"

Is 1.10.12 sufficient or too old?

Edit: nope, 1.10.12 is actually the latest package according to pear.php.net

PEAR is installed at my hosting server. See image, result of "pear list" Is 1.10.12 sufficient or too old? *Edit:* nope, 1.10.12 is actually the latest package according to pear.php.net
xanathon a commenté il y a 4 ans
Publier

Any other ideas? This worked with an earlier version of Gnu.social, all,kinds of pear packages are installed on the server, you can get a complete list if you neeed it?

Any other ideas? This worked with an earlier version of Gnu.social, all,kinds of pear packages are installed on the server, you can get a complete list if you neeed it?
Diogo Cordeiro a commenté il y a 3 ans
Propriétaire

My suggestion was actually to disable your host's pear, so that gnu social could emulate it...

My suggestion was actually to disable your host's pear, so that gnu social could emulate it...
Diogo Cordeiro a commenté il y a 3 ans
Propriétaire

Fixed with b6bcd3b8c0

Fixed with https://notabug.org/diogo/gnu-social/commit/b6bcd3b8c0d70b4252f46788dc37f1d9830739b0
Connectez-vous pour rejoindre cette conversation.
Aucun jalon
Pas d'assignataire
2 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.