- This topic has 3 replies, 4 voices, and was last updated 12 years, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Warning: file_exists() [function.file-exists]: open_basedir restriction in effec
Hello,
In the admin tool, In the Admin tool, General settings,
(WP Astra Settings v 5.0.2)
Digital Product Delivery Setting,
Download Validation Script Location,
this warning appears:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../../../wp-content/plugins/wp-cart-for-digital-products/download.php) is not within the allowed path(s): (/home/arichman:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/arichman/public_html/wp-content/plugins/wp-cart-for-digital-products/wp_digi_cart_admin_menu.php on line 1091
What is the issue and does this need to be fixed?
Thanks.
–RichO
Hi,
If by “WP Astra Settings v 5.0.2” you are referring to WP eStore plugin then firstly you should load the latest version by following the instructions here:
Do the above and let us now if this fixes it.
That particular warning message can be safely ignored, and is only visible to the administrator. Essentially, what is happening, is that eStore is trying to validate the location of the download.php script. On some systems, the hosting provider has cranked up the security settings, so that when eStore tries to perform this particular test an open_basedir restriction occurs. Fixing it is on the “to do” list.
I updated the plugin to remove this check using the relative path which should fix it. Please get a new build if you want.