open_basedir restriction in wordfence
-
Hi,
I have this issue with wordfence and this cause my site to fatally crash (blank white page). so i debugged the wordpress and here is result:
NOTE: my site is userB.com
Warning: file_exists(): open_basedir restriction in effect. File(/home/userA/domains/domainA.com/public_html/wp-content/plugins/wordfence/vendor/composer/../geoip2/geoip2/src/Database/Reader.php) is not within the allowed path(s): (/home/userB/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php56/lib/php/) in /home/userB/domains/userB.com/public_html/wp-content/plugins/wordfence/vendor/composer/ClassLoader.php on line 384
Fatal error: Class ‘GeoIp2\Database\Reader’ not found in /home/userB/domains/userB.com/public_html/wp-content/plugins/wordfence/models/common/wfGeoIP2.php on line 28
it seems that composer try to load resources form outside the host directory. but why??
I tried reinstall the plugin, worked a day but error happened again…
any help?
- The topic ‘open_basedir restriction in wordfence’ is closed to new replies.