After installing the new version OJS 3.3.0.3 and removing index.php from URL the administrator access was lost. In the url I have path /user/authorizationDenied?message=user.authorization.accessDenied
In the OJS version 3.2.1.4 I did not have this bug. Can you advise how can I fix it?
You might want to have a look at this post and try some of the options suggested there: Errors after removing index.php - #13 by mmellaa - if that doesn’t work, perhaps post the output from your error log here, and we’ll see if we can hep further.
I checked my .htaccess and did not found errors with this file.
Also, I have the following below error log from /var/log/apache2/domain_name_error.log
When I go from dashboard to Administration
[Wed Feb 17 11:43:27.123970 2021] [php7:notice] [pid 57939] [client xxx.xxx.xxx.xxx:60445] ojs2: 404 Not Found, referer: https://domain_name/journal_name/submissions
Could you advise, what is it “ojs2”?
Also, when I go to the main page from dashboard, I have following below error log:
[Wed Feb 17 11:44:31.419780 2021] [php7:warn] [pid 57942] [client xxx.xxx.xxx.xxx:60531] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/domain_name/cache/t_compile/197781722e7eaf63a4dc338e844fd82acdd78321^e64e579388e5615e11e939b12134d6ae8679eba6_0.app.frontendpagesindexJournal.php on line 172, referer: https://domain_name/journal_name/submissions
[Wed Feb 17 11:44:31.433862 2021] [php7:warn] [pid 57942] [client xxx.xxx.xxx.xxx:60531] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/domain_name/cache/t_compile/197781722e7eaf63a4dc338e844fd82acdd78321^e64e579388e5615e11e939b12134d6ae8679eba6_0.app.frontendpagesindexJournal.php on line 455, referer: https://domain_name/journal_name/submissions