Hello everyone,
I am facing an Access Denied issue in my OJS installation.
OJS Version
OJS 3.5.0.4
Website URL
https://injoere.com/index.php/injoere
Issue
I can successfully log in as the admin user. From the user dropdown, when I click Administration, the main administration page opens correctly:
https://injoere.com/index.php/index/admin
The Administration page loads and shows options like:
Hosted Journals
Site Settings
View System Information
Expire User Sessions
Delete Data Caches
Delete Template Cache
But when I click any admin action such as:
Hosted Journals
Site Settings
Expire User Sessions
OJS redirects me to:
https://injoere.com/index.php/injoere/user/authorizationDenied?message=user.authorization.accessDenied
and shows:
Access denied.
So the main admin page is accessible, but the internal admin actions are blocked.
PHP Error Log Warning
I also see repeated PHP deprecated warnings like this:
PHP Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated
in /home/.../public_html/cache/t_compile/...frontendcomponentssearchForm_simple.tpl.php on line 28
This appears related to compiled template cache, but I am not sure if it is related to the access denied issue.
What I Already Checked
I have already checked:
1. Admin user is not disabled.
2. Admin user has role_id 1.
3. Admin user also has role_id 16 for journal context_id 1.
4. /index.php/index/admin opens successfully.
5. But Hosted Journals, Site Settings, and Expire User Sessions redirect to authorizationDenied.
6. Clearing/correcting base_url[index] caused 404, so I restored it.
