Page 1 of 2 12 LastLast
Results 1 to 10 of 23

Hybrid View

  1. #1
    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.

  2. #2
    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.

  3. #3
    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.

  4. #4
    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.

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

    Default Re: Problems with Downloads....

    1. What happens when you revert back to Classic template?
    2. download folder is named just that..not downloads.
    3. download folder must contain htaccess file
    4. download folder must be situated in zencart install i.e.
    where you can see index.php file
    5. Zencart does not like zip files that contain hyphens,underscores or capitals

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

    Default Re: Problems with Downloads....

    Quote Originally Posted by misty View Post
    1. What happens when you revert back to Classic template?
    I reverted back, and no changes.
    I reverted back and removed Paypal IPN and no changes


    Quote Originally Posted by misty View Post
    2. download folder is named just that..not downloads.
    folder is named download, not downloads. Attribute Manager gives me the little green dot (first time I tried to move it outside the wwwroot folder, I missed a spot in the admin configure.php where I had to change the directory path, so things never got the green dot, so put it back -- got it back outsite wwwroot and have the green dot now).

    Quote Originally Posted by misty View Post
    3. download folder must contain htaccess file
    4. download folder must be situated in zencart install i.e.
    where you can see index.php file
    I tried it in the original location. I also currently have moved it to outside the wwwroot folder as explained in this FAQ item -- https://www.zen-cart.com/tutorials/i...hp?article=280

    I am on an IIS server, so I would really prefer to have it located outside my root...

    Now, I didn't have the .htaccess file or the index.php file in the folder outside of my wwwroot, so I just added them, and no luck with that either.

    I have also tried deleting the download folder from the zen cart folder as well. Still no changes in how it it acting.

    Quote Originally Posted by misty View Post
    5. Zencart does not like zip files that contain hyphens,underscores or capitals
    So far, my test files have all been named
    ea1.pdf
    ea2.pdf
    ea3.pdf

    and/or

    ea1.zip
    ea2.zip
    ea3.zip

    And all files have been under 2 MB in size (I have some that will be closer to to 30MB when I am done, but am using small files for testing at the moment).

    Also, I have the cart installed on a sub-domain. so the URL is shop.xxxxxxx.com

    IIS has that sub-domain located in a folder inside my wwwroot folder.

    so that the path to the cart is D:/Domains/xxxxxxxxxx.com/wwwroot/shop/

    I currently have the download folder located at
    D:/Domains/xxxxxxxxxx.com/download

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

    Default Re: Problems with Downloads....

    Have never successfully achieved download option in zencart,
    where download folder is offsite or away from zencart install.
    So am afraid cannot help you further myself..hopefully
    Ajeh/Dr Byte,zencart devs, can...

  8. #8
    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.

  9. #9
    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..

  10. #10
    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.

 

 
Page 1 of 2 12 LastLast

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