November 14, 2011 at 4:44 pm #4768jamm4Member
I have wordpress set up in it’s own directory i.e.the index file is located at /path/to/root/folder/ and the rest of the wordpress installation is located at /path/to/root/folder/myhomedir/
Note: The downloads are working but the error message is somewhat discomforting. I would rather have it fixed than ignore it. Read on..
Under the “Download Validation Script Location” on the settings page I get the following error.
You do not need to change this value unless you want to customize this. Can be used to customize the download URL Read More Here.
Configuration hint for the custom_download.php file is –> $wp_home_dir = ‘myhomedir’;
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../../../wp-content/plugins/wp-cart-for-digital-products-5-2-1/download.php) is not within the allowed path(s): (/path/to/root/folder/:/tmp/) in /path/to/root/folder/myhomedir/wp-content/plugins/wp-cart-for-digital-products-5-2-1/wp_digi_cart_admin_menu.php on line 1109
WARNING: Cannot locate file download.php in the eStore plugin directory.
Note that after “is not within the allowed paths…” /path/to/root/folder/ is missing /myhomedir/
I tried changing the location of the download script including the part where you specify the “myhomedir” location but it didn’t help so I reset the location to it’s default.
I checked the location of my tmp directory using the function mention on the first post of this thread:
but it returned as simply tmp/ so this seems to be fine.
Can you shine any light on this issue? I know it has popped up before on this forum but the outcome was down to hosting issues. I feel that my problem is simply a result of WP being in a different directory but I can’t put my finger on the issue.November 14, 2011 at 8:48 pm #38485wzpModerator
What is happening, is that eStore is trying to do a sanity check of the directory setting. The way that it is performing that check is in conflict with your provider’s security settings. That is where the message is coming from. When eStore is actually processing the download request, it doesn’t perform that same check; which is why the downloads are working. I will look into either performing that check a different way, or having the option to disable it.
- You must be logged in to reply to this topic.