Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2015
    Location
    United Kingdom
    Posts
    23
    Plugin Contributions
    0

    Default Customer cant download virtual product

    I have searched for an answer but nothing came back to this problem

    I have a digital form to send to customers, which is time and download limited, I have set the attributes accordingly and everything seems to be in order.
    When the test customer tries to download from their account, the page comes back with:

    Forbidden

    You don't have permission to access etc,etc,/test.zip on this server.

    Can someone shead some light please?
    Regards
    Mike

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Customer cant download virtual product

    What are the permissions set on that file and the folder(s) it's contained in?

  3. #3
    Join Date
    Feb 2015
    Location
    United Kingdom
    Posts
    23
    Plugin Contributions
    0

    Default Re: Customer cant download virtual product

    Stevesh
    Thanks for coming back to me permissions are 644 and its in the 'downloads' file of the shop.
    Regards
    Mike

  4. #4
    Join Date
    Feb 2015
    Location
    United Kingdom
    Posts
    23
    Plugin Contributions
    0

    Default Re: Customer cant download virtual product

    The Download file is 755

  5. #5
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Customer cant download virtual product

    Are you using the redirect option for downloads? Does your site support a directory having permission level of 755 for a folder?

    Somewhere in I think it is the template file for downloads the temporary directory is created with a permission level that may be higher than supported by your host when using the above method... Sorry that I forget the specific location/detail.

    Also in that light, same questions to the pub directory if using the redirect.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

    Default Re: Customer cant download virtual product

    Had a quick opportunity to spot what I was looking for. Above I. Was incorrect, the temporary directory is created with 777 permissions not 755... Look in includes/modules/pages/download/header_php.php

    If you look for:
    Code:
    if (DOWNLOAD_BY_REDIRECT == 'true') {
    You a mkdir command that sets 0777 as the permission, change that to 0755 if using redirect to have the temporary directory set to permissions of 0755. It may workin your situation.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v154 Easily Link Download to Virtual Product - Module
    By 5andDime in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 8 Apr 2015, 11:19 PM
  2. Virtual product - not download
    By PaulR in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 9 Dec 2011, 10:22 AM
  3. Virtual Product Download Problems
    By govanmac in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 28 Jul 2011, 06:48 PM
  4. customer cant get download
    By deb040404 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 12 Oct 2010, 03:19 AM
  5. Browser redirect vs. download in virtual product link
    By clevername in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Sep 2009, 05:47 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