Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2006
    Location
    Providence
    Posts
    137
    Plugin Contributions
    0

    Default 403 Permission Denied

    I did an upgrade to Zen Cart recently and now when somebody tries to download a product they get a message like:
    403 Permission Denied
    You do not have permission for this request /pub/.lqtplfurvuyebgqbmb/[filename]

    Something tells me it's an easy permissions problem but have no idea how to fix it. Any thoughts?

    Ken.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: 403 Permission Denied

    What are the permissions to the /pub folder?
    What are the permssions and file types that exist in that folder?
    What server system do you use?('nix or win)

  3. #3
    Join Date
    Jun 2006
    Location
    Providence
    Posts
    137
    Plugin Contributions
    0

    Default Re: 403 Permission Denied

    Quote Originally Posted by kobra View Post
    What are the permissions to the /pub folder?
    What are the permssions and file types that exist in that folder?
    What server system do you use?('nix or win)
    /pub permissions are 0777
    Server Linux
    I'm using Zen Cart 1.3.9d

    FYI I also have two versions of Zen Cart running on the same server. One is under www/ and the other is www/ebooks. I don;t think it matter but wanted to come out and mention it. It's the www.ebooks that I'm having a problem with. I have not upgraded the other one yet.

  4. #4
    Join Date
    Sep 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: 403 Permission Denied

    I am having the same issue only I am on a fresh install and running using: v1.3.9f. The server is in production mode, Authorize.net is in TestMode and I am using the SIM module. No addons, hosting with hostmonster and this is my first zen cart store.

    The first time I tried to download a purchased song I got a 500 internal server error. Now I get the
    403 Permission Denied
    You do not have permission for this request [filename]

    I would assume that zen cart sets up the folders with the proper permissions it needs. The pub folder is 777 and the temp folder (.cueiezjzibdwhcle in my case) is also 777. Another thing that has me scratching my head is why there is only one temp folder and why there is a link to only the last song that I purchased instead of several folders with several links of past purchases.

    I set the max downloads to 1 time with unlimited expiration date and tried changing max downloads to 10 times and I still get the same problem.

    I notice when I log in and look at past purchase under remaining it has these characters. --- *** --- where I am expecting to see the number 1 or the number 10 or 9 or anything but that.
    I'm at a lose.
    Any thoughts?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: 403 Permission Denied

    What is the actual filename?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Sep 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: 403 Permission Denied

    Quote Originally Posted by DrByte View Post
    What is the actual filename?
    08 Que Chula Vieja.wav is the name of the file on the server.

    error code reads:
    403 Permission Denied
    You do not have permission for this request /cart/pub/.ihyesnfqnmjoeeyy/08_Que_Chula_Vieja.wav

    Thank you!

    Let me guess, the problem is the spaces in the file name?
    Last edited by jynx3004; 24 Sep 2010 at 10:52 PM. Reason: I had more to add

  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: 403 Permission Denied

    "wav" is not an allowed filetype by default.

    Edit your /pub/.htaccess file and add |wav into the list
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Sep 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: 403 Permission Denied

    Quote Originally Posted by DrByte View Post
    "wav" is not an allowed filetype by default.

    Edit your /pub/.htaccess file and add |wav into the list
    SOLVED thank you so much Dr!

    Only one thing now, when I click the download button it just goes and plays the song in quicktime player in the browser. To save it you have to right click the download button and click "save target as".
    This is going to be terribly confusing for 90% of users.

    Any way to fix this?

  9. #9
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: 403 Permission Denied

    If you read a couple lines further down that same file it gives you the answer to that question.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Sep 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: 403 Permission Denied

    Quote Originally Posted by DrByte View Post
    If you read a couple lines further down that same file it gives you the answer to that question.
    SOLVED again!
    Thanks Dr Byte! Your so good to suffer this fool and answer trivials such as that.

 

 

Similar Threads

  1. 13 permission denied
    By M.Int in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 11 May 2010, 12:56 AM
  2. permission denied error
    By Muzz in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 5 May 2010, 11:59 PM
  3. Warning: fopen permission denied
    By prints in forum Installing on a Windows Server
    Replies: 0
    Last Post: 14 Jan 2010, 07:01 PM
  4. No Images Showing Up / Permission Denied
    By dangrasley in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 4 Dec 2007, 04:56 PM
  5. Permission Denied?
    By oamurai in forum Installing on a Windows Server
    Replies: 2
    Last Post: 21 May 2007, 04:03 PM

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