[OJS 3.0] Fatal Error after fresh new install

Hi guys,
Since my previous upgrade have error, especially uploading the logo, the pdf and also broken PDF link, I try to start fresh with a new install and new database. I dont know what went wrong, I just follow all the necessary step during installation but when opening the front page, it went blank (Error 500).

This is the server log.
[Tue Nov 22 09:32:28.762617 2016] [:error] [pid 34985] [client 172.16.3.45:63938] PHP Notice: Only variables should be passed by reference in /home/ejcsit/public_html/v4/lib/pkp/classes/core/PKPApplication.inc.php on line 210
[Tue Nov 22 09:32:28.765560 2016] [:error] [pid 34985] [client 172.16.3.45:63938] PHP Fatal error: Uncaught Error: Call to a member function getPrimaryLocale() on null in /home/ejcsit/public_html/v4/classes/i18n/AppLocale.inc.php:108\n$
[Tue Nov 22 09:32:30.746781 2016] [:error] [pid 34165] [client 172.16.3.45:64064] PHP Notice: Only variables should be passed by reference in /home/ejcsit/public_html/v4/lib/pkp/classes/core/PKPApplication.inc.php on line 210
[Tue Nov 22 09:32:30.749334 2016] [:error] [pid 34165] [client 172.16.3.45:64064] PHP Fatal error: Uncaught Error: Call to a member function getPrimaryLocale() on null in /home/ejcsit/public_html/v4/classes/i18n/AppLocale.inc.php:108\n$

Thanks,
-zaidi-

I have tried a fresh install using my windows 2012 server R2. But still got the HTTP Error 500.

[22-Nov-2016 11:21:41 Asia/Kuala_Lumpur] PHP Fatal error: Uncaught Error: Call to a member function getPrimaryLocale() on null in : C:\inetpub\wwwroot\ejcsit\classes\i18n\AppLocale.inc.php:108
Stack trace:
#0 C:\inetpub\wwwroot\ejcsit\lib\pkp\classes\i18n\PKPLocale.inc.php(127): AppLocale::getLocale()
#1 C:\inetpub\wwwroot\ejcsit\lib\pkp\classes\core\Dispatcher.inc.php(131): PKPLocale::initialize(Object(Request))
#2 C:\inetpub\wwwroot\ejcsit\lib\pkp\classes\core\PKPApplication.inc.php(227): Dispatcher->dispatch(Object(Request))
#3 C:\inetpub\wwwroot\ejcsit\index.php(68): PKPApplication->execute()
#4 {main} thrown in C:\inetpub\wwwroot\ejcsit\classes\i18n\AppLocale.inc.php on line 108

Hi @zackzaidi78,

It looks to me like the installation process didn’t complete. When the install finished, did you get a message indicating that it was successful?

Regards,
Alec Smecher
Public Knowledge Project Team

After the installation prosess, the systems shows an error…
It says “A database error has occurred: An unknown database connection error has occurred.”

I’ve checked all the table in the database have been created. If i try to install once mero, duplicate error occured.

Please help.

Hi @zackzaidi78,

I think this is a problem outside of OJS; you can verify by trying a test connection with a short script:

Regards,
Alec Smecher
Public Knowledge Project Team