Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

WordPress in it's own directory – Cannot locate file download.php in the eStore

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WordPress in it's own directory – Cannot locate file download.php in the eStore

Tagged: directory, download.php, open_basedir

  • This topic has 1 reply, 2 voices, and was last updated 13 years, 7 months ago by wzp.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 14, 2011 at 4:44 pm #4768
    jamm4
    Member

    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:

    http://wordpress.org/support/topic/fix-for-open_basedir-not-in-allowed-paths-message

    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 #38485
    wzp
    Moderator

    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.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ