Custom Header Plugin not saving, endless spinning wheel

Describe the issue or problem
Trying to modify our Custom Headers plugin. When we click OK, the save spin wheel goes non stop, and the changes are never saved.

Have tried multiple browsers and different computers, same result.

Steps I took leading up to the issue
For example:
Login to OJS admin->website->plugins
Custom Header Plugin->Settings
Make a change
Click OK, this leads to spinning wheel next to OK button.

What application are you using?
For example, OJS 3.3.0-6

Additional information
image

Hi @guitman444,

Usually with the spinning wheel, checking the PHP error log offers a few more clues as to what might be going on - are you able to check your log and report back on any errors seen there?

-Roger
PKP Team

in my case it was the php which was 8 and not 7.4

In my error logs, it seems as if OJS thinks I am performing an attack:

ModSecurity: Warning. Pattern match “(?:(?:(?:\\$\\$ND_FUNC\\$\\$|_js_function)|(?:new\\s+Function|\\beval)\\s*\\(|String\\s*\\.\\sfromCharCode|function\\s\\(\\s*\\)\\s*{|this\\.constructor)|module\\.exports\\s*=)” at ARGS:content. [file “/etc/modsecurity/mod_sec3_CRS/REQUEST-934-APPLICATION-ATTACK-NODEJS.conf”]

Is this something I resolve?

Oh, I think this may be due to our hosting provider’s web app firewall. I will disable this temporarily and report back.

Indeed, was the hosting provider’s web application firewall. Disabling this allowed me to save.

https://help.dreamhost.com/hc/en-us/articles/215947927-Enabling-the-Web-Application-Firewall

1 Like