OJS 3 Site Management

After installing OJS 3 in XAMP and creating new journal I have got only Tasks and Administration menu on the left side. I cannot add new user, role… When I try to upload new article in the drop menu for language and section the fields are empty. I cannot submit article, add roles… I cannot do anything. Where is the problem?

Can anyone give answer on above question?

Hi @Lazar_Stosic,

I suspect that when you created the new journal some kind of error occurred before it was completed. Do you recall whether the journal creation completed without apparent problems? Can you check your PHP error log to see if anything relevant appears?

Regards,
Alec Smecher
Public Knowledge Project Team

Dear Alec,
thank you for your assistance. I tried to create another journal but received the same. Again install the XAMP, new database, new OJS3 but after creating new journal receive only Tasks and Administration on left side. For now cannot see any error. Could you tell me where to check concrete for PHP error log?

Hi @Lazar_Stosic,

Try googling “XAMPP PHP error log” – that should tell you where to look.

Regards,
Alec Smecher
Public Knowledge Project Team

Dear Alec,
in XAMP PHP error log I found next error:

[Fri Nov 11 17:42:45.255886 2016] [:error] [pid 2476:tid 1872] [client ::1:59749] PHP Warning: file_put_contents(C:\xampp\htdocs\3\cache\fc-locale-358c56f5ace75e00d521d5b534a8c845.php): failed to open stream: No such file or directory in C:\xampp\htdocs\3\lib\pkp\classes\cache\FileCache.inc.php on line 90
[Fri Nov 11 17:42:45.257887 2016] [:error] [pid 2476:tid 1872] [client ::1:59749] PHP Warning: file_put_contents(C:\xampp\htdocs\3\cache\fc-locale-d20be57bb305d999dbcf073bb906a2aa.php): failed to open stream: No such file or directory in C:\xampp\htdocs\3\lib\pkp\classes\cache\FileCache.inc.php on line 90
[Fri Nov 11 17:42:45.420995 2016] [:error] [pid 2476:tid 1872] [client ::1:59749] PHP Fatal error: Smarty error: the $compile_dir ‘C:\xampp\htdocs\3\cache\t_compile’ does not exist, or is not a directory. in C:\xampp\htdocs\3\lib\pkp\lib\vendor\smarty\smarty\libs\Smarty.class.php on line 1094
[Fri Nov 11 17:48:06.077938 2016] [:error] [pid 2476:tid 1848] [client ::1:59912] ojs2: 404 Not Found, referer: http://localhost/3/index.php/index/$$$call$$$/page/page/css
[Fri Nov 11 17:51:18.340952 2016] [:error] [pid 2476:tid 1872] [client ::1:59969] ojs2: 404 Not Found, referer: http://localhost/3/index.php/index/$$$call$$$/page/page/css
[Wed Nov 16 18:44:37.315473 2016] [:error] [pid 2476:tid 1848] [client ::1:55349] ojs2: 404 Not Found, referer: http://localhost/3/index.php/ijcrsee/$$$call$$$/page/page/css

Regards,
Lazar

Hi @Lazar_Stosic,

That suggests that your cache and cache/t_compile directories are either missing, or have permissions set such that OJS can’t maintain their contents.

Regards,
Alec Smecher
Public Knowledge Project Team