OJS 3 Admin Page Layout Is Broken / CSS Not Loading

Hi everyone,

I’m experiencing an issue with my OJS 3 installation. The OJS administration/dashboard page is displayed incorrectly or completely broken, and it looks like the CSS/JavaScript assets are not being loaded properly.

The frontend/public journal page is [working normally / also affected], but the admin interface is broken.

I found a possible clue related to OJS dynamic/static requests. Some references mention that the web server configuration may block requests such as:

$$$call$$$/page/page/css

The issue may be related to Apache rewrite rules, PATH_INFO, PHP-FPM, or static asset routing.

What I have tried

I have already tried several troubleshooting methods, including:

  1. Editing config.inc.php
  2. Checking/changing:
disable_path_info = Off
  1. Clearing the OJS cache
  2. Clearing template/cache files
  3. Restarting Apache and PHP-FPM
  4. Checking the Apache configuration and rewrite rules
  5. Trying several solutions suggested in Google and previous PKP/OJS discussions

However, the admin page is still displayed incorrectly.

Possible error

The browser developer tools appear to show that some CSS/JavaScript or OJS requests are not being loaded correctly.

For example, requests related to:

$$$call$$$/page/page/css

may be returning an error such as 404 Not Found / 403 Forbidden.

I am currently checking the Apache error logs and browser Network/Console logs to determine whether these requests are being blocked or incorrectly routed.

Server Environment

  • OJS version: OJS 3.0.2
  • Operating System: Ubuntu
  • Web Server: Apache
  • Apache MPM: mpm_event
  • PHP connection: PHP-FPM via proxy_fcgi
  • PHP-FPM used by OJS: PHP 7.0-FPM
  • PHP-FPM socket configured in Apache:
    /run/php/php7.0-fpm.sock
  • PHP CLI version: PHP 7.4.33
  • Other PHP-FPM versions installed/running: PHP 7.3-FPM and PHP 8.2-FPM
  • Apache VirtualHost: eresources.uin-malang.ac.id:8443

The Apache VirtualHost is configured to use PHP 7.0-FPM with:

SetHandler "proxy:unix:/run/php/php7.0-fpm.sock|fcgi://localhost/"

There is no mod_php module enabled. Apache is using:

proxy_fcgi_module
mpm_event_module

What I would like to know

Could this issue be caused by the Apache + PHP-FPM configuration, particularly the PHP-FPM version or the SetHandler configuration?

Could the $$$call$$$/page/page/css request be affected by Apache rewrite rules, PATH_INFO, or the PHP-FPM configuration?

What would be the recommended Apache/PHP-FPM configuration for OJS 3.0.2?

I would really appreciate any advice on what I should check next.

Has anyone experienced a similar issue with OJS 3?

Thank you very much for your help.

Hi @Alexander_Malik,

Please note that the version of OJS that you’re using is no longer supported by PKP. I strongly recommend that you upgrade to the newest version of OJS (OJS 3.0 is very outdated and hasn’t been supported for some time) , as it is possible that your issue will be resolved by upgrading. However, other community members may wish to offer assistance.

Upgrading instructions are available in the [PKP Administrator’s Guide](https://docs.pkp.sfu.ca/admin-guide/) and as part of our [Upgrade Guide] (https://docs.pkp.sfu.ca/dev/upgrade-guide/).

Information about the latest version of OJS can be found on the [PKP Website](https://pkp.sfu.ca/ojs/)

-Roger
PKP Team

case closed

this only coding error on this ;

thanks