#217 PEAR error on installation

已關閉
xanathon4 年之前創建 · 7 條評論
xanathon commented 4 年之前

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 4 年之前
所有者

Can you try applying this patch: 236929a166 ?

Can you try applying this patch: https://notabug.org/diogo/gnu-social/commit/236929a166c835e89a57f86f20ec0a0061178bb2 ?
xanathon commented 4 年之前
發佈者

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 4 年之前
所有者

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 4 年之前
發佈者

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 4 年之前
發佈者

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 年之前
所有者

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 3 年之前
所有者

Fixed with b6bcd3b8c0

Fixed with https://notabug.org/diogo/gnu-social/commit/b6bcd3b8c0d70b4252f46788dc37f1d9830739b0
diogo3 年之前 關閉
Sign in to join this conversation.
未選擇里程碑
未指派成員
2 參與者
正在加載...
取消
保存
尚未有任何內容