Registration 500 error

I have installed OJS and logged in but after I Create Journal, log out and try to register i get a 500 error response

This page isn’t working

example.com is currently unable to handle this request.

HTTP ERROR 500

am getting this error

/lib/pkp/classes/core/PKPRouter.inc.php(395): RegistrationHandler->register(Array, Object(Request))
/lib/pkp/classes/core/PKPPageRouter.inc.php(246): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)
/lib/pkp/classes/core/Dispatcher.inc.php(144): PKPPageRouter->route(Object(Request))
/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request))

Open Journal Systems Version : 3.3.0.13 for softaculous

Hi @mikeyhodl

We’ll need some more information here. What version of PHP are you using? Also, please post the entire Fatal Error from your error log - what you’ve shared so far isn’t quite enough for us to be able to help you.

Best
Jason

1 Like

Hi @jnugent
Am using PHP 7.4
This is the error log am getting

[05-Jan-2023 05:42:15 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bindtextdomain() in /home2/eadental/journals.ea-dentaljournal.com/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php:87
Stack trace:
#0 /home2/eadental/journals.ea-dentaljournal.com/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php(46): Sokil\IsoCodes\AbstractDatabase->bindGettextDomain()
#1 /home2/eadental/journals.ea-dentaljournal.com/lib/pkp/lib/vendor/sokil/php-isocodes/src/IsoCodesFactory.php(65): Sokil\IsoCodes\AbstractDatabase->__construct(NULL)
#2 /home2/eadental/journals.ea-dentaljournal.com/lib/pkp/classes/user/form/RegistrationForm.inc.php(103): Sokil\IsoCodes\IsoCodesFactory->getCountries()
#3 /home2/eadental/journals.ea-dentaljournal.com/lib/pkp/classes/form/Form.inc.php(151): RegistrationForm->fetch(Object(Request), NULL, true)
#4 /home2/eadental/journals.ea-dentaljournal.com/lib/pkp/pages/user/RegistrationHandler.inc.php(58): Form->display(Object(Request))
#5 /home2/eadental/journals.ea-dentaljournal.com/lib/pkp/classes/core/PK in /home2/eadental/journals.ea-dentaljournal.com/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php on line 87

“gettext” was not activated for php on your server.

Ask your server administrators to install/enable this.

2 Likes

okay @kerimsarigul let me work on it. Thanks.