#217 PEAR error on installation

Fechado
4 anos atrás foi aberto por xanathon · 7 comentários

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 comentado 4 anos atrás
Proprietário

Can you try applying this patch: 236929a166 ?

Can you try applying this patch: https://notabug.org/diogo/gnu-social/commit/236929a166c835e89a57f86f20ec0a0061178bb2 ?
xanathon comentado 4 anos atrás
Autor

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 comentado 4 anos atrás
Proprietário

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 comentado 4 anos atrás
Autor

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 comentado 4 anos atrás
Autor

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 comentado 3 anos atrás
Proprietário

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 comentado 3 anos atrás
Proprietário

Fixed with b6bcd3b8c0

Fixed with https://notabug.org/diogo/gnu-social/commit/b6bcd3b8c0d70b4252f46788dc37f1d9830739b0
diogo fechado em 3 anos atrás
Faça login para participar desta conversação.
Sem milestone
Não atribuída
2 participantes
Carregando...
Cancelar
Salvar
Ainda não há conteúdo.