Error 500 while setting distribution OJS 3.2.0

I have successfully installed OJS 3.2.0 from my CPanel.
after some walkarround, i got error when trying to confugure the distribution settings on my journal.

here is the error i got from my error_log file

07-Mar-2020 13:59:16 Asia/Jakarta] PHP Fatal error:  Uncaught Error: Call to undefined function bindtextdomain() in /home/xxx/public_html/ejournal/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php:87
Stack trace:
#0 /home/xxx/public_html/ejournal/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php(46): Sokil\IsoCodes\AbstractDatabase->bindGettextDomain()
#1 /home/xxx/public_html/ejournal/lib/pkp/lib/vendor/sokil/php-isocodes/src/IsoCodesFactory.php(110): Sokil\IsoCodes\AbstractDatabase->__construct(NULL)
#2 /home/xxx/public_html/ejournal/lib/pkp/classes/components/forms/context/ Sokil\IsoCodes\IsoCodesFactory->getCurrencies()
#3 /home/xxx/public_html/ejournal/lib/pkp/pages/management/ PKP\components\forms\context\PKPPaymentSettingsForm->__construct('https://ejourna...', Array, Object(Journal))
#4 /home/xxx/public_html/ejournal/pages/management/ ManagementHandler->distribution(Array, Object(Request))
#5 /home/xxx in /home/xxx/public_html/ejournal/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php on line 87

My PHP version is 7.3.14
Thank you

1 Like

We are having the same problem, but just happen when accessing the register page
Seems like a php version / php extension (gettext) issue, but couldn`t manage to solve.

i have same issue when trying to register new account

Hi all,

If you get a message like this:

PHP Fatal Error: Uncaught Error: Call to undefined function bindtextdomain() in ...

…then your PHP installation is missing support for the gettext extension. You probably need to enable it to your php.ini configuration file.

Alec Smecher
Public Knowledge Project Team

Solved the issue. thanks @asmecher.

Having this same issue. But gettext extension is uncommented in php.ini so what could cause it?



This is an older post. Can you create a new post (and link back to this post) explaining your issue in more detail?

Best regards,

PKP Team