Application Version
- pkp-lib-3_2_1-1 (https://github.com/pkp/ojs/archive/3_2_1-1.zip)
- PHP Version => 7.4.11 (Full phpinfo https://pastebin.pl/view/fd479355)
- System => Linux homestead 5.4.0-48-generic #52-Ubuntu … x86_64
Description of issue
I keep getting this weird error where i get a “Access denied” message on a blank screen when trying to install from either the version from the OJS Download Center or trying directly from github Github repo.
If I try to install through the CLI it works, but I’ll still get the same error later on besides stylesheets and other resources not loading either.
I imagine this has something to do with htaccess/permissions/routing but no idea what exactly.
I’ve searched deeply between forums and issues and don’t find the same issue posted already.
Steps
-
I’ve downloaded the 3_2_1-1.zip and placed it in ~/ojs
-
Downloaded https://github.com/pkp/pkp-lib/archive/3_2_1-1.zip and placed it in ~/ojs/lib/pkp
-
composer install on ~/ojs/lib/pkp
-
Added htaccess:
RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
-
Enabled restful_urls
With either restul urls on or off (and htaccess removed) I get the same error on either https://ojs.test/index/install or https://ojs.test/index.php/index/install
“Access denied”
I’ve tried to activate error log’s but besides warnings that are already reported (Deprecated call […] pkp/classes/template/PKPTemplateManager.inc.php on line 971) no important messages.
Screenshots
Error log messages if applicable
Access denied