preetam960
Forum Replies Created
-
Same problem.
In my case, the error is a little different :
[proxy_fcgi:error]: Got error ‘PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(Sphere/SGF/ProcessCss.php) is not within the allowed path(s): (/home/site_folder_path:/var/lib/php/session:/tmp) in /home/site_folder_path/wp-content/plugins/defender-security/vendor/hammer/vendor/maxmind-db/reader/autoload.php on line 36\nPHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(WPEL_Link.php) is not within the allowed path(s): (/home/site_folder_path:/var/lib/php/session:/tmp) in /home/site_folder_path/wp-content/plugins/defender-security/vendor/hammer/vendor/maxmind-db/reader/autoload.php on line 36\nPHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(FWP_HTML_Element_1x0x0.php) is not within the allowed path(s): (/home/site_folder_path:/var/lib/php/session:/tmp) in /home/site_folder_path/wp-content/plugins/defender-security/vendor/hammer/vendor/maxmind-db/reader/autoload.php on line 36\n’
The linked article suggests to add “/var/lib/php/session” and TEMP to openbasedir.
Already did that. Not working.
Here is the value : /home/site_folder_path:/var/lib/php/session:/tmp
PHP version : 7.2
OS : Ubuntu 18- This reply was modified 6 years, 4 months ago by preetam960.
I think it was conflicting with AdInserter plugin https://wordpress.org/plugins/ad-inserter/
But once I disabled and re enabled all plugins, the error automatically resolved. Its working with Adinserter now.
Thanks for the reply.