Collect and send PHP logs
-
I’ve been getting this error: PHP message: PHP Warning: is_file(): open_basedir restriction in effect
So tried unblocking “Collect and send PHP logs.”
And it saves but then I log back in and it’s checked again.
-
Hello @yunkerash,
Could you please clarify if this error:
PHP message: PHP Warning: is_file(): open_basedir restriction in effect
is related to our plugin or not?
Try changing some other option of our plugin together with the “Collect and send PHP logs” option and save. If after some time both options return to the previous state, then most likely the cache is interfering.
I believe it is related to the plugin — I’ve deactivated a few settings and they do seem to save okay. But I’m still getting this error in the logs — what’s odd is that part of the error log is: public/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www) is not within the allowed path(s)
It’s impossible to say anything about that part. Could you send us the full error log? Under what conditions (after what actions) do these errors appear in the log?
2024/10/06 14:48:17 [error] 51002#51002: *342827 FastCGI sent in stderr: “PHP message: PHP Warning: is_file(): open_basedir restriction in effect. File(/www/ecolitbooks_215/public/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www) is not within the allowed path(s): (/www/ecolitbooks_215/public:/www/ecolitbooks_215/mysqleditor:/www/ecolitbooks_215/web:/www/ecolitbooks_215/deploy:/www/ecolitbooks_215/deployment:/www/ecolitbooks_215/deployments:/www/ecolitbooks_215/tmp:/usr/share:/tmp) in /www/ecolitbooks_215/public/wp-content/plugins/security-malware-firewall/lib/CleantalkSP/SpbctWP/Scanner/Surface.php on line 596; PHP message: PHP Warning: is_dir(): open_basedir restriction in effect. File(/www/ecolitbooks_215/public/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www) is not within the allowed path(s): (/www/ecolitbooks_215/public:/www/ecolitbooks_215/mysqleditor:/www/ecolitbooks_215/web:/www/ecolitbooks_215/deploy:/www/ecolitbooks_215/deployment:/www/ecolitbooks_215/deployments:/www/ecolitbooks_215/tmp:/usr/share:/tmp) in /www/ecolitbooks_215/public/wp-content/plugins/security-malware-firewall/lib/CleantalkSP/SpbctWP/Scanner/Surface.php on line 636; PHP message: PHP Warning: is_link(): open_basedir restriction in effect. File(/www/ecolitbooks_215/public/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www/www) is not within the allowed path(s): (/www/ecolitbooks_215/public:/www/ecolitbooks_215/mysqleditor:/www/ecolitbooks_215/web:/www/ecolitbooks_215/deploy:/www/ecolitbooks_215/deployment:/www/ecolitbooks_215/deployments:/www/ecolitbooks_215/tmp:/usr/share:/tmp) in /www/ecolitbooks_215/public/wp-content/plugins/security-malware-firewall/lib/CleantalkSP/SpbctWP/Scanner/Surface.php on line 654; PHP message: PHP Warning: is_dir(): open_basedir restriction in effect. File(/www/e
Thank you.
We will analyze this error and respond to you within 3 business days.
Thank you.
We found a bug in saving the “Collect and send PHP logs” option and fixed it. The edits are contained in the fix version and will be included in the next plugin release: https://github.com/CleanTalk/security-malware-firewall/releases/download/fix-version/security-malware-firewall.zip.
But the error is not related to the option of sending logs. For further investigation, we need additional details about your website. Please contact us via our private Ticket System and add there a link to this topic: https://cleantalk.org/my/support/open.
We haven’t heard back from you in a few days, so I’m going to mark this topic as “resolved”.
If you have any further questions, you can start a new topic or contact us via our private Ticket System.
The topic ‘Collect and send PHP logs’ is closed to new replies.