Can't update web site setting (resolved)


I can’t update my website setting in OJS 3.2.1 (updated from 2.4.8). Just opening the setting page, console browser shows this error:

WEBSITE.COM/public/site/? 403 (Forbidden)

Apache logs:

CODE 404 GET /public/site/? HTTP/1.0
AH01276: Cannot serve directory /var/www/vhosts/WEBSITE-FOLDER/public/site/: > No matching DirectoryIndex (index.html,index.cgi,,index.php,index.xhtml,index.htm,index.shtml) found, and server-generated directory index forbidden by Options directive, referer:

I don’t have ModSecurity installed on server and don’t have the same problems modifing the journal’s settings (/public/journals is accessible ). I have the same permissions and proprietary/group name for /public/journals and /public/site folders.

If I modify my setting data and click save, nothing happens (just a circle rounding).
This is my browser console:

POST$$$call$$$/tab/settings/admin-settings-tab/save-form-data?tab=siteSetup 500 (Internal Server Error)

and between Apache logs:

CODE 500 POST /index.php/index/$$$call$$$/tab/settings/admin-settings-tab/save-form-data?tab=siteSetup HTTP/1.0
mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Call to undefined method SiteSetupForm::getFormLocale() in /var/www/vhosts/WEBSITE-FOLDER/lib/pkp/classes/admin/form/, referer:

This is for main webstite setting, the journals’s setting page instead is OK.

Thank you


Hi @Enzo

you are probably running into this issue here:

You may need to apply this patch to your installation:


1 Like

That’s right. Thank you

1 Like

Hello, can I continue this topic?

I also experienced the same thing, for the new OJS installation version 3.1.2. I have done the steps above, adding the code in lib / pkp / classes / admin / form / but this step does not work for me.
I just can’t save the Theme & Sidebar management in Site Settings
is there any solution?

*I have disabled modsecurity

Thank you


Hi @rudy,

Check your PHP error log for details.

Alec Smecher
Public Knowledge Project Team