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

eStore download link giving 'Forbidden' error

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › eStore download link giving 'Forbidden' error

Tagged: estore download error, estore download forbidden

  • This topic has 10 replies, 4 voices, and was last updated 12 years, 3 months ago by admin.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • April 11, 2013 at 8:44 pm #8926
    coryk
    Member

    The estore download links were set up and working fine. Then at some point the download page started giving an error:

    “Forbidden

    You don’t have permission to access /blog/wp-content/plugins/wp-cart-for-digital-products/download.php on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.”

    Using the latest version of WordPress and the estore plugin. The blog where the shop exists is set up in a subfolder of the domain.

    The downloads were all moved to a different folder within the blog root, the download links were updated to the new URLs. At some point after this the download links starting giving this error. I have tried putting the products in the ‘downloads’ folder within the estore plugin, and uploading to the media library. In each case the download link was changed to the new location, and in each case the same error occurred.

    The debug logging has been turned on but the download_manager_debug.log is empty.

    Here is a download link to the sample book that comes with the plugin, it has been moved into the folder where all the other downloads are:

    [http://www.coryellekramer.com/blog/wp-content/plugins/wp-cart-for-digital-products/download.php?file=vsiFuuDM3SYQxlsoNw%3D%3D]

    Let me know if you need any more information or site access.

    April 12, 2013 at 12:05 am #55073
    wpCommerce
    Moderator

    Hi, do you have any security plugin installed on your site?

    Can you download a file if you directly enter the URL (the actual location of the file) in the browser address bar?

    This checklist can be very helpful:

    https://support.tipsandtricks-hq.com/forums/topic/downloaded-file-size-is-0-zero-byte

    I have tried putting the products in the ‘downloads’ folder within the estore plugin

    That’s really not necessary. You can simply use the “upload” option next to the Digital File URL field to upload your file.

    April 12, 2013 at 2:21 pm #55074
    wzp
    Moderator

    You don’t have permission to access /blog/wp-content/plugins/wp-cart-for-digital-products/download.php on this server.

    Make sure the download.php file has the chmod permissions value of 755 assigned to it, along with the “/blog/wp-content/plugins/wp-cart-for-digital-products” directory that it is in.

    April 16, 2013 at 6:59 am #55075
    coryk
    Member

    Thank you wzp, both the download.php file and the plugin folder (as you specified) have chmod permissions of 755. Still getting the same error message.

    April 16, 2013 at 7:12 am #55076
    coryk
    Member

    Thank you wpCommerce.

    – Yes I can download the file with no problem when I enter the URL of the file directly into my address bar.

    – I’ve gone through everything in the checklist, still having the problem.

    April 16, 2013 at 2:42 pm #55077
    wzp
    Moderator

    Let’s try something…

    In the eStore plugin directory, please create a “test.php” file that contains the following 3 lines:

    <?php

    echo ‘Hello World!’

    ?>

    Make sure the chmod attributes on test.php are 755.

    Now try to execute the file…

    [http://www.coryellekramer.com/blog/wp-content/plugins/wp-cart-for-digital-products/test.php]

    Do you get an error? If you do, you need to get your hosting provider involved. You need to be able to successfully execute the test.php file.

    April 17, 2013 at 2:41 am #55078
    admin
    Keymaster

    Alternatively, Please do the following:

    Open the “eStore_advanced_configs.php” file and look for the following line of code:

    define('WP_ESTORE_ENABLE_NEW_CHECKOUT_REDIRECTION', '0');

    Once you find it change it to the following:

    define('WP_ESTORE_ENABLE_NEW_CHECKOUT_REDIRECTION', '1');

    Let me know how you go after that.

    April 17, 2013 at 4:08 am #55079
    coryk
    Member

    wzp: following your instructions I could get the file to execute successfully.

    April 17, 2013 at 4:14 am #55080
    coryk
    Member

    admin: I followed your instructions, and still get the same error message when I try to download the file (using the encrypted download link I got from Admin Functions).

    April 17, 2013 at 7:06 am #55081
    admin
    Keymaster

    I will have to take a look at your site to see what is going on. I sent you an email.

    April 17, 2013 at 11:13 pm #55082
    admin
    Keymaster

    Update: There seem to be a few issues with this server configuration and PHP. I have replied to your email with some info that should help you see the issue so you can contact the hosting provider and get them to fix it. It is likely that the encrypted links will starting working fine after the above mentioned issue is taken care of.

    Update 2: The web host found that the issue was with the mod security rule on this server and they have now fixed it. Everything started working after that.

  • Author
    Posts
Viewing 11 posts - 1 through 11 (of 11 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