Getting HTTP 500 error

Hi there, I just tried to install OJS 3.1.1-4 in our test environment. I am getting HTTP 500 error with web page cannot be displayed. Can someone please help me with that? I made sure the permissions are recursively owned by apache and group is also apache. I am not able to see anything under t_compile directory though. It is completely blank.

Getting errors in ssl_error_log: [Mon Nov 19 11:34:10.699517 2018] [:error] [pid 1926] [client 10.81.9.133:53785] PHP Warning: file_put_contents(/sac-tojs-01-01/www/tojs-3.1.1-4/cache/fc-pluginSettings-0-staticpagesplugin.php): failed to open stream: Permission denied in /sac-tojs-01-01/www/tojs-3.1.1-4/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Mon Nov 19 11:34:10.700333 2018] [:error] [pid 1926] [client 10.81.9.133:53785] PHP Warning: file_put_contents(/sac-tojs-01-01/www/tojs-3.1.1-4/cache/fc-pluginSettings-0-tinymceplugin.php): failed to open stream: Permission denied in /sac-tojs-01-01/www/tojs-3.1.1-4/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Mon Nov 19 11:34:10.700784 2018] [:error] [pid 1926] [client 10.81.9.133:53785] PHP Warning: file_put_contents(/sac-tojs-01-01/www/tojs-3.1.1-4/cache/fc-pluginSettings-0-pdfjsviewerplugin.php): failed to open stream: Permission denied in /sac-tojs-01-01/www/tojs-3.1.1-4/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Mon Nov 19 11:34:10.701328 2018] [:error] [pid 1926] [client 10.81.9.133:53785] PHP Warning: file_put_contents(/sac-tojs-01-01/www/tojs-3.1.1-4/cache/fc-pluginSettings-0-customblockmanagerplugin.php): failed to open stream: Permission denied in /sac-tojs-01-01/www/tojs-3.1.1-4/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Mon Nov 19 11:34:10.702014 2018] [:error] [pid 1926] [client 10.81.9.133:53785] PHP Warning: file_put_contents(/sac-tojs-01-01/www/tojs-3.1.1-4/cache/fc-pluginSettings-0-htmlarticlegalleyplugin.php): failed to open stream: Permission denied in /sac-tojs-01-01/www/tojs-3.1.1-4/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Mon Nov 19 11:34:10.702621 2018] [:error] [pid 1926] [client 10.81.9.133:53785] PHP Warning: file_put_contents(/sac-tojs-01-01/www/tojs-3.1.1-4/cache/fc-pluginSettings-0-googlescholarplugin.php): failed to open stream: Permission denied in /sac-tojs-01-01/www/tojs-3.1.1-4/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Mon Nov 19 11:34:10.704365 2018] [:error] [pid 1926] [client 10.81.9.133:53785] PHP Warning: file_put_contents(/sac-tojs-01-01/www/tojs-3.1.1-4/cache/fc-pluginSettings-0-acronplugin.php): failed to open stream: Permission denied in /sac-tojs-01-01/www/tojs-3.1.1-4/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Mon Nov 19 11:34:10.707900 2018] [:error] [pid 1926] [client 10.81.9.133:53785] PHP Warning: Cannot modify header information - headers already sent by (output started at /sac-tojs-01-01/www/tojs-3.1.1-4/lib/pkp/classes/cache/FileCache.inc.php:90) in /sac-tojs-01-01/www/tojs-3.1.1-4/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 867
[Mon Nov 19 11:34:10.707918 2018] [:error] [pid 1926] [client 10.81.9.133:53785] PHP Warning: Cannot modify header information - headers already sent by (output started at /sac-tojs-01-01/www/tojs-3.1.1-4/lib/pkp/classes/cache/FileCache.inc.php:90) in /sac-tojs-01-01/www/tojs-3.1.1-4/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 868
[Mon Nov 19 11:34:10.716142 2018] [:error] [pid 1926] [client 10.81.9.133:53785] PHP Fatal error: Smarty error: unable to write to $compile_dir ‘/sac-tojs-01-01/www/tojs-3.1.1-4/cache/t_compile’. Be sure $compile_dir is writable by the web server user. in /sac-tojs-01-01/www/tojs-3.1.1-4/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1094

Thanks,

Ruby

(tagging @jmacgreg on request)

Hi @raulakh,

The fatal error in the log you posted definitely points to a file permission issue. Please double check the recommended permissions in the FAQ section of this forum and in the docs/README installation file.

Best,
Amanda Stevens
Public Knowledge Project Team