[OJS 3.1.0.1] Error in php log customBlockManager

hi. If I chmod the index.php will that stop the spam injection?

also, I set

display_errors = Off

but… still gives errors. see attached.

Hi @johnostrowick,

If I chmod the index.php will that stop the spam injection?

No, if there is already a malware injection, changing file permissions won’t help. The malware will very likely have modified your PHP code, and those modifications will need to be removed.

also, I set

display_errors = Off

but… still gives errors. see attached.

If display_errors is set to Off in both config.inc.php and php.ini, but you’re still seeing error/warning messages sent to the browser, I suspect this is a side-effect of the malware problem. I suspect cleaning that up will cause the configuration file settings for display_errors to be respected.

Regards,
Alec Smecher
Public Knowledge Project Team

ok thanks. Let me see what I can find.
hmmm … nothing obvious.
Can you look at the site and see if from where you are , you still get the spam site?

url italianstudiesinsa dot org

Aha, this was overruling /etc/…php.ini.

errors are gone now. thanks. solved