Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2014
    Posts
    3
    Plugin Contributions
    0

    Default Downloadables again

    I know it was several times explained here, I learned a lot from it, thanks, however, probably last brick is missing and I did not find anything which would help me for this last brick, so another post.

    I managed everything until the customer clicks for the file in his order information window. He can see button to download, but then he gets 404 Not found. I repeated the whole process of downloadable attributes with radio and dropdown, played with permissions in download and pub folders, reviewed extensions of downloadable files etc., but no success. Something is wrong there, but I cannot see it.

    Click image for larger version. 

Name:	ZC1.JPG 
Views:	88 
Size:	29.5 KB 
ID:	14595


    Click image for larger version. 

Name:	ZC2.jpg 
Views:	101 
Size:	21.8 KB 
ID:	14596


    Click image for larger version. 

Name:	ZC3.JPG 
Views:	104 
Size:	18.8 KB 
ID:	14597

    download is now 755, pub is 555.

    OS FreeBSD 10.0, PHP 5.4.17, MySQL 5.5.33, Apache http, Zen Cart 1.3.9h.

    Could you pls advise me?

    Thanks, PH.

  2. #2
    Join Date
    Oct 2014
    Posts
    3
    Plugin Contributions
    0

    Default Re: Downloadables again

    .htaccess did it.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Downloadables again

    Quote Originally Posted by harmi View Post
    .htaccess did it.
    What was wrong or changed in the .htaccess file to correct the issue?

    Your solution may help the next individual that has not been able to overcome the same brick you encountered.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Oct 2014
    Posts
    3
    Plugin Contributions
    0

    Default Re: Downloadables again

    There was no .htaccess in download folder, so I have created one with one single line containing
    <FilesMatch ".*\.(zip|ZIP|gzip|pdf|PDF|mp3|MP3|swf|SWF|wma|WMA|wmv|WMV|wav|epub)$">
    and with 644 permissions.

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

    Default Re: Downloadables again

    Quote Originally Posted by harmi View Post
    There was no .htaccess in download folder, so I have created one with one single line containing
    <FilesMatch ".*\.(zip|ZIP|gzip|pdf|PDF|mp3|MP3|swf|SWF|wma|WMA|wmv|WMV|wav|epub)$">
    and with 644 permissions.
    Thanks for the feedback. Makes sense! Just remember to update that if there are files that will have a different extension. Will say that ideally should avoid saving files with all capital letters as small case is the standard.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Downloadables
    By fingertips in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 May 2009, 05:15 AM
  2. Downloadables Issues
    By prodesk in forum General Questions
    Replies: 3
    Last Post: 15 Apr 2009, 07:47 AM
  3. downloadables issues
    By prodesk in forum General Questions
    Replies: 1
    Last Post: 14 Apr 2009, 07:10 AM
  4. URGENT: Customers are being forced to log in again and again
    By dmm2020 in forum General Questions
    Replies: 26
    Last Post: 23 Feb 2009, 01:05 AM

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