#217 PEAR error on installation

Closed
opened 3 years ago by xanathon · 7 comments
xanathon commented 3 years ago

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 commented 3 years ago
Owner

Can you try applying this patch: 236929a166 ?

Can you try applying this patch: https://notabug.org/diogo/gnu-social/commit/236929a166c835e89a57f86f20ec0a0061178bb2 ?
xanathon commented 3 years ago
Poster

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 commented 3 years ago
Owner

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 commented 3 years ago
Poster

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 commented 3 years ago
Poster

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 commented 3 years ago
Owner

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 commented 2 years ago
Owner

Fixed with b6bcd3b8c0

Fixed with https://notabug.org/diogo/gnu-social/commit/b6bcd3b8c0d70b4252f46788dc37f1d9830739b0
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.