#217 PEAR error on installation

Закрыто
4 лет назад открыта xanathon · комментариев: 7
xanathon прокомментировал 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 прокомментировал 4 лет назад
Владелец

Can you try applying this patch: 236929a166 ?

Can you try applying this patch: https://notabug.org/diogo/gnu-social/commit/236929a166c835e89a57f86f20ec0a0061178bb2 ?
xanathon прокомментировал 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 прокомментировал 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 прокомментировал 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 прокомментировал 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 прокомментировал 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 прокомментировал 3 лет назад
Владелец

Fixed with b6bcd3b8c0

Fixed with https://notabug.org/diogo/gnu-social/commit/b6bcd3b8c0d70b4252f46788dc37f1d9830739b0
Войдите, чтобы присоединиться к обсуждению.
Нет этапа
Нет ответственного
2 участников
Загрузка...
Отмена
Сохранить
Пока нет содержимого.