OJS version 3.3.0 Fresh Install Can't Create Users

Hi, Our website had issues and we had to change registers and so did a clean install of OJS 3.3.0 logged in as admin but every attempt to create new users returns the prompt “Failed Ajax request or invalid JSON returned”. The distribution tab also returns a blank page. Kindly help. Every other thing seem to appear ok.

Hi @revsanda,

Are you able to check your PHP error logs and report on messages found there? These error logs usually provide much more helpful information. Additionally, this post describes a similar problem, which was resolved by setting permissions correctly, so you might want to check that as well: Failed Ajax request or invalid JSON returned while adding new user "Add User" - #6 by asmecher

-Roger
PKP Team

Thanks. I have checked through and following the advice on the link suggested, I have checked again and all file permissions are correct. The PHP error logs I found are:

[09-Feb-2022 22:29:36 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bindtextdomain() in /home/wwwijavs/public_html/ijavs/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php:87
Stack trace:
#0 /home/wwwijavs/public_html/ijavs/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php(46): Sokil\IsoCodes\AbstractDatabase->bindGettextDomain()
#1 /home/wwwijavs/public_html/ijavs/lib/pkp/lib/vendor/sokil/php-isocodes/src/IsoCodesFactory.php(65): Sokil\IsoCodes\AbstractDatabase->__construct(NULL)
#2 /home/wwwijavs/public_html/ijavs/lib/pkp/controllers/grid/settings/user/form/UserDetailsForm.inc.php(163): Sokil\IsoCodes\IsoCodesFactory->getCountries()
#3 /home/wwwijavs/public_html/ijavs/lib/pkp/controllers/grid/settings/user/UserGridHandler.inc.php(287): UserDetailsForm->display(Object(Request))
#4 /home/wwwijavs/public_html/ijavs/lib/pkp/controllers/grid/settings/user/UserGridHandler.inc.php(264): UserGridHandler->editUser(Array, Object(Request))
#5 /home/wwwijavs/public_html/ijavs/lib/pkp/classes/core/PKPRouter.inc.php(395) in /home/wwwijavs/public_html/ijavs/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php on line 87
[09-Feb-2022 22:29:45 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bindtextdomain() in /home/wwwijavs/public_html/ijavs/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php:87
Stack trace:
#0 /home/wwwijavs/public_html/ijavs/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php(46): Sokil\IsoCodes\AbstractDatabase->bindGettextDomain()
#1 /home/wwwijavs/public_html/ijavs/lib/pkp/lib/vendor/sokil/php-isocodes/src/IsoCodesFactory.php(65): Sokil\IsoCodes\AbstractDatabase->__construct(NULL)
#2 /home/wwwijavs/public_html/ijavs/lib/pkp/controllers/grid/settings/user/form/UserDetailsForm.inc.php(163): Sokil\IsoCodes\IsoCodesFactory->getCountries()
#3 /home/wwwijavs/public_html/ijavs/lib/pkp/controllers/grid/settings/user/UserGridHandler.inc.php(287): UserDetailsForm->display(Object(Request))
#4 /home/wwwijavs/public_html/ijavs/lib/pkp/controllers/grid/settings/user/UserGridHandler.inc.php(264): UserGridHandler->editUser(Array, Object(Request))
#5 /home/wwwijavs/public_html/ijavs/lib/pkp/classes/core/PKPRouter.inc.php(395) in /home/wwwijavs/public_html/ijavs/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php on line 87
[09-Feb-2022 23:07:55 UTC] ojs2: 404 Not Found
[09-Feb-2022 23:25:34 UTC] ojs2: 404 Not Found