Help! dont work registration on ojs and dont work add author

Fatal error: Uncaught Error: Call to undefined function bindtextdomain() in /hermes/bosnacweb02/bosnacweb02ag/b172/dom.ulugbeksafar17666/myscience/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php:87 Stack trace: #0 /hermes/bosnacweb02/bosnacweb02ag/b172/dom.ulugbeksafar17666/myscience/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php(46): Sokil\IsoCodes\AbstractDatabase->bindGettextDomain() #1 /hermes/bosnacweb02/bosnacweb02ag/b172/dom.ulugbeksafar17666/myscience/lib/pkp/lib/vendor/sokil/php-isocodes/src/IsoCodesFactory.php(65): Sokil\IsoCodes\AbstractDatabase->__construct(NULL) #2 /hermes/bosnacweb02/bosnacweb02ag/b172/dom.ulugbeksafar17666/myscience/lib/pkp/classes/user/form/RegistrationForm.inc.php(103): Sokil\IsoCodes\IsoCodesFactory->getCountries() #3 /hermes/bosnacweb02/bosnacweb02ag/b172/dom.ulugbeksafar17666/myscience/lib/pkp/classes/form/Form.inc.php(151): RegistrationForm->fetch(Object(Request), NULL, true) #4 /hermes/bosnacweb02/bosnacweb02ag/b172/dom.ulugbeksafar17666/myscience/lib/p in /hermes/bosnacweb02/bosnacweb02ag/b172/dom.ulugbeksafar17666/myscience/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php on line 87

OJS site is
www.myscience.uz

Hi @ulugbek,

Can you please indicate your OJS version (please include this in your posts)? Can you also please describe where you are encountering this error - e.g. provide a screenshot.

Best regards,

Roger
PKP Team

when i click button Register, it show me this error.

Version is

Безымянный

Безымянный

also when i click the button Add cotributor, it show the failed ajax request or invalid json returned

Безымянный

Hi @ulugbek,

Thanks for including this additional info - this is helpful for better understanding the issue. I will see if someone from our team is able to assist with this.

Best regards,

Roger
PKP Team

Hi @ulugbek,

See e.g. this post:

Regards,
Alec Smecher
Public Knowledge Project Team

The problem is solved by installing PHP Extension “gettext” on hssted server. I asked my host provider to install PHP Extension “gettext” on their server and all associated problems are now solved.

Thank you!
Regards,
Ulugbek

1 Like