Results 1 to 10 of 23

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    231
    Plugin Contributions
    0

    Default Problems with Downloads....

    I just installed Zen Cart on my server for the company I work for.

    I put in a couple of test products and tried a PDF download. It worked and I was able to download the file.

    A while later, I did several things including the following:

    1) Moved the download file outside of the root (I have changed this back since then)
    2) Changed templates
    3) Setup Paypal IPN

    Downloads are not working now. That attached image shows that error that I get when I try to download files.

    I am on an IIS 6 server.

    I have streaming marked as true, and redirect marked as false. and I have been trying to sort through all of the different download thread, but none of the suggestions seem to have worked for me.

    I don't know what to try next. Any suggestions would be appreciated.
    Last edited by Rasyr; 1 Feb 2008 at 05:26 PM.

  2. #2
    Join Date
    Aug 2006
    Posts
    231
    Plugin Contributions
    0

    Default Re: Problems with Downloads....

    Additional Note:

    I tried zipping the PDFs and then uploading them, and changing the Options/Attribute stuff to use the ZIPs instead of the plain PDFs.

    Now, it will download them, but says that it is an invalid file when I try to open it, even though it shows the right file size when I check the properties.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Problems with Downloads....

    Does the updated file in this thread help?
    http://www.zen-cart.com/forum/showth...190#post439190
    .

    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.

  4. #4
    Join Date
    Aug 2006
    Posts
    231
    Plugin Contributions
    0

    Default Re: Problems with Downloads....

    Nope --goes from downloading a corrupt zip file to saying that the file cannot be read, kinda like in the image in my first post.

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

    Default Re: Problems with Downloads....

    Yet, you said it used to work before you made a number of changes ... ?
    .

    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
    Aug 2006
    Posts
    231
    Plugin Contributions
    0

    Default Re: Problems with Downloads....

    I tried it once, right after I first setup the cart (and figured out how to add downloadable files). And it worked.

    Then I changed the template (from the default to the glossy_black).
    Then I added Paypal IPN

    I also made a downloads directory outside of my web root and put the files there (but cannot remember if I did this BEFORE or AFTER I tested the first download). I just figured out a problem that I had been having with the directory being outside my wwwroot folder, so I have it outside there again.

    But in its original directory or the one I created. It seems that installing the Paypal IPN or the template may have been what caused it to break.

  7. #7
    Join Date
    Aug 2006
    Posts
    231
    Plugin Contributions
    0

    Default Re: Problems with Downloads....

    Quote Originally Posted by DrByte View Post
    Does the updated file in this thread help?
    http://www.zen-cart.com/forum/showth...190#post439190
    Here is a screenshot of the error message I receive when I use the updated file from that link.
    Last edited by Rasyr; 1 Feb 2008 at 05:26 PM.

  8. #8
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Problems with Downloads....

    You have checked green light/s via download manager?
    Your download folder has necessary .htaccess file?
    Both your config files are correctly configured?
    If all these are correct, then as mentioned before,
    advice required from zencart dev i.e. ajeh, as she
    wrote download module..
    Have a feeling that htaccess file and permissions maybe
    set on zencart install, but again, ajeh can verify this..

  9. #9
    Join Date
    Aug 2006
    Posts
    231
    Plugin Contributions
    0

    Default Re: Problems with Downloads....

    Quote Originally Posted by misty View Post
    You have checked green light/s via download manager?
    Yes, green lights all the way.

    Quote Originally Posted by misty View Post
    Your download folder has necessary .htaccess file?
    Yes.

    Quote Originally Posted by misty View Post
    Both your config files are correctly configured?
    Yes.

    Quote Originally Posted by misty View Post
    If all these are correct, then as mentioned before,
    advice required from zencart dev i.e. ajeh, as she
    wrote download module..
    Have a feeling that htaccess file and permissions maybe
    set on zencart install, but again, ajeh can verify this..
    With the old header_php.php file in place, it will get between 83% and 99% downloaded and then stop, and then give the error message in my first post.

    With the new file, that DrByte suggested I install, it immediately gives that error message (the second image I posted).

    My boss would really like it if I could get this working for us before next week.

 

 

Similar Threads

  1. Help! Problems With Setting Up Free Downloads
    By neilbroomfield in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 20 Aug 2008, 04:02 AM
  2. Problems with login, checkout, and downloads
    By freya in forum Managing Customers and Orders
    Replies: 5
    Last Post: 31 May 2008, 08:41 AM
  3. Problems with some downloads
    By phaunt in forum General Questions
    Replies: 6
    Last Post: 18 Oct 2007, 10:37 PM
  4. Problems with setting up Downloads
    By tolefairy in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 21 Mar 2007, 09:43 AM
  5. Problems with permissions on OSX and downloads
    By jeffmic in forum General Questions
    Replies: 11
    Last Post: 27 Sep 2006, 01:08 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