Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Oct 2010
    Posts
    10
    Plugin Contributions
    0

    Default No download link after checkout for my downloadable files

    Using ver 1.3.9g
    Just Set up new from Cpanel.
    No new mods.



    I'm struggling with trying to set up a product for a free download.
    I've gone through the tutorial here: https://www.zen-cart.com/tutorials/index.php?print=71 and it looks right to me.

    I'm trying to set up a product that's available in 3 formats: MP3, WAV and custom. I've get the options when I choose the product when ordering but I never get the option to DL the product. No link.

    When I set up the attributes I get the green dot so I know it sees the file.

    Per the tutorial, I've told it that it's not a virtual product and for "Always Free Shipping" I've chosen No, Normal Shipping Rules".

    I'm using the Freeshipper module and it's green.

    I'm baffled as to where to turn next.
    The site is http://www.university-music-on-hold.com/store

    I'm sure I've missed something but I've been going through the tutorials for some time and can't find it.

    I'm only trying to get one product on line and I'm trying to give it away. Can anyone point me in the right direction?

    Dry Aquaman

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Attributes for Digital Download

    Please describe the checkout procedure you've followed, starting with an empty cart, all the way to the end of checkout where it says "Thanks for your order".
    .

    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.

  3. #3
    Join Date
    Oct 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Attributes for Digital Download

    Thanks for the reply.
    Here the process I used to "purchase" start to finish.
    (1) Click the Free Catagory from Home page
    (2) Chose Mitel Format [was: +0.00 no is : Free]
    (3) Click "Add this to my cart"
    (4) click "Go to Checkout"
    (5) Register as new customer
    (6) Click checkbox for terms and conditions
    (7) Click continue Checkout
    (8) Next is "Billing and payment information
    -Shows Customer address
    -Shows
    "Payment Method: The Zen Cart FREE CHARGE CARD
    Used for purchase of FREE CHARGE ONLY"
    (8) Click "confirm order"
    - I then get: "Thank You! We Appreciate your Business!
    Your Order Number is: 14

    Checkout Success Sample Text ..."

    (and..)
    "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
    Double Beep Tone 0 bytes Beep1-mitel.wav 10/29/2010 50"

    But I don't get a button to download.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Attributes for Digital Download

    Why would it be telling you "0 bytes"? Is the file really 0 bytes on the server?
    .

    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.

  5. #5
    Join Date
    Oct 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Attributes for Digital Download

    Good question!
    I FTP'd to the site and file size is not zero.

    I did move the /download directory to one that is not public per another tutorial I found here regarding security. But it wasn't working even before I did that.
    I do see the green dot when applying the attributes so I would have to think that it sees the file.


    Dry Aquaman.

  6. #6
    Join Date
    Oct 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Attributes for Digital Download

    I liked the idea of doing screen shots so I uploaded them in order.
    1- http://www.university-music-on-hold....e-product..jpg
    2- http://www.university-music-on-hold....t-contents.jpg
    3 - http://www.university-music-on-hold....ot/confirm.jpg
    4- http://www.university-music-on-hold....ot/payment.jpg
    5- http://www.university-music-on-hold....ccess-page.jpg
    6- http://www.university-music-on-hold....cess-page2.jpg

    Pages 5 and 6 are of the success page. I just wanted to show that there isn't a download link.

    If there are any config screen shots you'd like to see let me know and I'll see about uploading them.

    DryAquaman

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Attributes for Digital Download

    The download link will only appear if ALL of the following conditions are met:
    a) the file actually exists at the path specified (This also means that if you changed the DIR_FS_DOWNLOAD setting that it must point to the proper real location)
    b) the download count-remaining is greater than 0
    c) the download timestamp expiry date hasn't passed
    d) the download maximum-allowed days hasn't passed, or is unlimited (ie: 0).

    I'm guessing that something in your server is preventing PHP from reading that the file exists and also preventing it from reading the file size. That's something your hosting company would have to fix.
    There *might* be some myDebug-xxxxx.log files in your /cache/ folder which may expose some of the causes of errors happening on your site. Those would help verify my suspicion.
    .

    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
    Oct 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Attributes for Digital Download

    Thanks for your help.
    I'm so close I can taste it!
    Using your clue about the log file, I've found this:
    [22-Oct-2010 12:15:59] PHP Warning: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for /home/xxxxx/public_html/store/download/Beep1-mitel.wav in /home/xxxxx/public_html/store/includes/templates/template_default/templates/tpl_modules_downloads.php on line 41

    The file didn't exist in that directory. I thought I had it moved and had it confirmed via the Green Dot in the attributes.

    I added the file to that directory and now I get the download link.

    But....
    Not I get this 403 error: "Forbidden
    You don't have permission to access /store/pub/.bkouebbcumplyvb/Beep1-mitel.wav on this server."

    I'll also look around the forum to see if I can find the cause of this.

    DryAquaman

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Attributes for Digital Download

    "wav" is probably not on the list of allowed filetypes in your /pub/.htaccess file.
    .

    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
    Oct 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: No download link after checkout for my downloadable files

    Got it!!!!

    The last issue was with the .htaccess file needing to have WAV and wav added to it in the pub folder.


    Thanks for all your help.

    Now I need to figure out why it didn't work to have my download folder in off my root directory.

    DryAquaman

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Need help all files after download are saying invalid files
    By CHSNAC in forum Setting Up Categories, Products, Attributes
    Replies: 14
    Last Post: 3 Aug 2010, 07:23 AM
  2. Downloadable files download with 0 bytes
    By kopperhead in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 4 Apr 2010, 08:21 AM
  3. Delete Downloadable Product After Download
    By littlegdesigns2004 in forum General Questions
    Replies: 8
    Last Post: 20 Sep 2009, 05:04 AM
  4. No downloadable file after checkout
    By ezbidshop in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 30 Jul 2008, 11:23 AM
  5. notification/download link when purchasing downloadable products?
    By tjthecat3 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 25 Apr 2007, 03:30 AM

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