How to install & configure php-gettext extension

SYSTEM INFORMATION
OS type and version ubuntu 18.04.6
Webmin version 2.104

I tried
dnf install php81-php-gettext
Last metadata expiration check: 0:43:47 ago on Fri 14 Jun 2024 08:38:31 AM UTC.
Package php81-php-common-8.1.29-1.el8.remi.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Maybe its in php-common by that response.

P.S. found this
The package that provides gettext in CentOS 9 is php-common, I use Rocky9 so basically the same.

Try apt-get install php-gettext
or apt-get install php81-gettext (depends what php your using)

thank you, it displays as it was installed but, some of my pages displays error 500
image

check the phpinfo and see if its there, check your apache error logs as well

via

image
yeah enabled but, some of my journal page menus are not displaying
image

Anything in the logs?

the domain redirects to here and seems to work ok

Thank you for your response, yeah it is working after I login to my dashboard administration & journal menus are not displaying.

Hard to know, logs would be your only clue. Is it a common software like wordpress, or custom made.
Just updated, I see this is webmin not virtualmin.

could be the .htaccess as well.

sorry for delayed response, due to my personal issue.
here is the log file
22-Jun-2024 08:31:01 UTC] PHP Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 5: Could not resolve
proxy: 2320@196.189.91.218 (see libcurl - Error Codes) in /var/www/public_html/lib/pkp/lib/vendo
r/guzzlehttp/guzzle/src/Handler/CurlFactory.php:201
2 Stack trace:
3 #0 /var/www/public_html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(155): GuzzleHttp\Handler\CurlFactory
::createRejection()
4 #1 /var/www/public_html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(105): GuzzleHttp\Handler\CurlFactory
::finishError()
5 #2 /var/www/public_html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory:
:finish()
6 #3 /var/www/public_html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\Handler\CurlHandler->__inv
oke()
7 #4 /var/www/public_html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(51): GuzzleHttp\Handler\Proxy::GuzzleHttp
Handler{closure}()
8 #5 /var/www/public_html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(37): GuzzleHttp\Handler\Proxy::Guz
zleHttp\Handler{closure}()
9 #6 /var/www/public_html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Middleware.php(29): GuzzleHttp\PrepareBodyMiddleware->__invo
ke()
10 #7 /var/www/public_html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php(70): GuzzleHttp\Middleware::GuzzleHtt
p{closure}()
11 #8 /var/www/public_html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Middleware.php(59): GuzzleHttp\RedirectMiddleware->__invoke(
)
12 #9 /var/www/public_html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/HandlerStack.php(71): GuzzleHttp\Middleware::GuzzleHttp{clo
sure}()
13 #10 /var/www/public_html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Client.php(351): GuzzleHttp\HandlerStack->__invoke()
14 #11 /var/www/public_html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Client.php(162): GuzzleHttp\Client->transfer()
15 #12 /var/www/public_html/lib/pkp/lib/vendor/guzzlehttp/guzzle/src/Client.php(182): GuzzleHttp\Client->requestAsync()
16 #13 /var/www/public_html/lib/pkp/classes/xml/PKPXMLParser.inc.php(113): GuzzleHttp\Client->request()

any idea what guzzle is?

found this
https://docs.guzzlephp.org/en/stable/overview.html#requirements

maybe its the php version

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.