Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2015
    Location
    Kansas City
    Posts
    8
    Plugin Contributions
    0

    Default New Download 403 Error

    Just started setting up a new install with the latest zen version 154.
    Added a download product.
    Created product and linked to zip file in download folder green OK. ( folder & file permisssion 755 )
    Set up attributes OK.
    Went through checkout OK.
    Followed email and clicked on download button.

    Got a 403 & 500 server error.

    Checked server errors ( hosted site with fixed IP & no SSL setup yet ) and saw:
    Premature end of script headers: 500.php
    SystemException in API_Linux.cpp:444: execve() for program "/ramdisk/php/54/bin/php54s" failed: Resource temporarily unavailable
    ...
    ModSecurity: Access denied with code 406 (phase 1)
    ...
    Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary.

    Not much of an Apache expert.
    Any suggestions?

  2. #2
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: New Download 403 Error

    What method of download is offered? Is it download by redirect?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jun 2015
    Location
    Kansas City
    Posts
    8
    Plugin Contributions
    0

    Default Re: New Download 403 Error

    It is the built in download button on the order form:

    Order Information - Order #5
    ...
    To download your files click the download button and choose "Save to Disk" from the popup menu.
    Item Name File Size Filename Link Expires Remaining
    Test Zip 159 bytes IIoT.zip Unlimited --- *** --- Download Now

    <a href="....com/index.php?main_page=download&amp;order=5&amp;id=3"><img src="includes/templates/template_default/buttons/english/button_download.gif" alt="Download Now" title=" Download Now " height="15" width="66"></a>

  4. #4
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: New Download 403 Error

    Admin->configuration->attributes, is download by redirect yes (or true) or no (false)?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jun 2015
    Location
    Kansas City
    Posts
    8
    Plugin Contributions
    0

    Default Re: New Download 403 Error

    That was it !
    Changed it to false and worked fine.
    THANKS

  6. #6
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: New Download 403 Error

    Quote Originally Posted by bw1z View Post
    That was it !
    Changed it to false and worked fine.
    THANKS
    Well, may want to change it back with the following modification applied.

    Based on the above: security setting of 755 working, take a look at includes/modules/pages/download/header_php.php and you will see that the temporary directory for redirect downloads is set to 0777. This should be changed for your server to 0755... Then re-enable redirect download. Also, if the download worked with that set to false and streaming set to false, then understand that once someone has downloaded a file from the download directory, they pretty much have enough information to download the file again without accessing their profle....

    To address the second issue, either need to modify the download/.htaccess file or need to relocate the download folder outside of the website path. See applicable FAQ
    Last edited by mc12345678; 10 Jul 2015 at 02:06 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. unable to get download product to work error 403
    By RonGin in forum General Questions
    Replies: 0
    Last Post: 30 Jun 2013, 03:21 PM
  2. 403 Forbiddden error Product Download
    By blue-grape in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 29 Dec 2011, 06:37 AM
  3. new install 403 error
    By maxy007 in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 2 Feb 2011, 12:20 AM
  4. Download Redirect 403 Forbidden Server Error
    By Jay Gee in forum Setting Up Categories, Products, Attributes
    Replies: 14
    Last Post: 23 Oct 2009, 04:28 AM
  5. '403 Forbidden Error' when trying to download product
    By rlfreshwater in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 13 Sep 2008, 08:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR