Getting server error after install

I’ve installed the system on ubuntu 20.04 with aapanel apache. But the domain returning the following error - This page isn’t working

The server log error -

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function putenv() in /www/wwwroot/ojs/lib/pkp/classes/i18n/PKPLocale.inc.php:292
Stack trace:
#0 /www/wwwroot/ojs/lib/pkp/classes/core/Dispatcher.inc.php(116): PKPLocale::initialize()
#1 /www/wwwroot/ojs/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch()
#2 /www/wwwroot/ojs/index.php(68): PKPApplication->execute()
#3 {main}\n thrown in /www/wwwroot/ojs/lib/pkp/classes/i18n/PKPLocale.inc.php on line 292'

Hi @xeroticikot,

Can you also please indicate which version of OJS you’re working with?

-Roger
PKP Team

and, are you using ADS in a language other than English?

Fortunately I’ve solved the issue with enabling few PHP extensions. I am running the latest version on PHP 8 in a VPS aapanel. But after the installation, if I’m logging in with the user created , it doesn’t let me in the admin panel, rather redirecting me to the homepage. Even no error is getting logged in the logs.

This topic was automatically closed after 5 days. New replies are no longer allowed.