After installation of new version on https://ojs.jerssr.org.pk when I try to register a new user it gives a blank page…
Kindly help me out in resolving the issue.
After installation of new version on https://ojs.jerssr.org.pk when I try to register a new user it gives a blank page…
Kindly help me out in resolving the issue.
Fatal error: Uncaught Error: Call to undefined function bindtextdomain() in /home/jerssrorg/public_html/ojs/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php:87 Stack trace: #0 /home/jerssrorg/public_html/ojs/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php(46): Sokil\IsoCodes\AbstractDatabase->bindGettextDomain() #1 /home/jerssrorg/public_html/ojs/lib/pkp/lib/vendor/sokil/php-isocodes/src/IsoCodesFactory.php(65): Sokil\IsoCodes\AbstractDatabase->__construct(NULL) #2 /home/jerssrorg/public_html/ojs/lib/pkp/classes/user/form/RegistrationForm.inc.php(103): Sokil\IsoCodes\IsoCodesFactory->getCountries() #3 /home/jerssrorg/public_html/ojs/lib/pkp/classes/form/Form.inc.php(151): RegistrationForm->fetch(Object(Request), NULL, true) #4 /home/jerssrorg/public_html/ojs/lib/pkp/pages/user/RegistrationHandler.inc.php(58): Form->display(Object(Request)) #5 /home/jerssrorg/public_html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(395): RegistrationHandler->register(Array, Object(Request)) #6 /home/jerssrorg/pub in /home/jerssrorg/public_html/ojs/lib/pkp/lib/vendor/sokil/php-isocodes/src/AbstractDatabase.php on line 87
Hello @ilyaskhalil,
Can you elaborate the steps that you are taking to register a new use? For example, are they registering themselves or are you adding the account in the “Users and Roles” section?
Roger
PKP Team
Thanks for the reply…
I just reinstall the OJS bus again same issue…
Actual link is Journal of Educational Research and Social Sciences Review (JERSSR)
But when a new user want to register it self on following link nothing appears…
https://ojs.jerssr.org.pk/index.php/jerssr/user/register
Kindly check the issue and let me know if you have any solution.
Regards
Hi @ilyaskhalil,
See e.g.: OJS 3.3.0.3 error in Add New User - #6 by asmecher
Regards,
Alec Smecher
Public Knowledge Project Team
Thanks for the support link but he did not mentioned how he install it either from cPanel or he asked the service provider. I asked him through message.
Thanks for your support. If you have any idea kindly share.
Regards
Hi @ilyaskhalil,
This will depend on your server; it’s a matter of changing your PHP configuration to include the missing gettext module. You may have to contact your service provider to do this.
Regards,
Alec Smecher
Public Knowledge Project Team
I did contact service provider they did include gettext module but problem not solved.
I did installed the new version of OJS but same problem when a user want to register itself a blank page opened.
https://ojs.jerssr.org.pk/index.php/jerssr/user/register
Similarly when we try to add user from admin it give error “Failed Ajax request or invalid JSON returned”
Distribution page is also not working.
Kindly check the issue and let me know how can I resolve it.
Regards
I did contact service provider they did include gettext module but problem not solved.
I did installed the new version of OJS but same problem when a user want to register itself a blank page opened.
https://ojs.jerssr.org.pk/index.php/jerssr/user/register
Similarly when we try to add user from admin it give error “Failed Ajax request or invalid JSON returned”
Distribution page is also not working.
Kindly check the issue and let me know how can I resolve it.
Regards
Hi @ilyaskhalil,
If you are still getting the error message:
Call to undefined function bindtextdomain()
…then the gettext PHP module has not been successfully enabled; you’ll need to check again with your service provider. You can verify this for yourself using a phpinfo
script. (See e.g.: How can I create a phpinfo.php page? | Media Temple Community)
Regards,
Alec Smecher
Public Knowledge Project Team
Thanks Alac,
Kindly check the link and let me know what should I ask the service provider.
http://ojs.jerssr.org.pk/phpinfo.php
Sorry for bothering you.
Regards
Hi @ilyaskhalil,
If the module was present and enabled, you would see something like this:
Regards,
Alec Smecher
Public Knowledge Project Team
Thanks for prompt response…
You were right its not present there, I will contact them once again and let you know if the issue resolved…
Regards
I created page phpinfo.php and confirmed that gettext was not enabled, service provider was contacted and asked them to enable gettext.
After enabling of gettext all three issues resolved.
Thanks for identifying and resolving the issue.
Regards