Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Join Date
    Apr 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Download truncated

    They were set to 60 but I moved them up to 300 and then 600 and up and up and it didn't change the outcome. I also set it on both the zen side as well as the server side.

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

    Default Re: Download truncated

    And is it failing at exactly 55 seconds for everyone? or just certain people?
    What about on a dialup connection?
    .

    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. #13
    Join Date
    Apr 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Download truncated

    I will have my mom test it on her machine. The site is not up and running for other customers because I can't sort this out and continue adding products until I see if I can actually use the cart. If I can't get it sorted then I will have to try a different cart/ way... so I don't know yet if it is failing for others just on the 2 machines I have tried it on. I will have my mom test it from her house and let you know if it is the same for her.
    Thanks though for taking time to help me. I was feeling like I was alone for a bit :)

  4. #14
    Join Date
    Apr 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Download truncated

    Ok same thing happens on her pc.

    In the mean time I was reading where most hosts put a limit on php execution time anyway and nobody can change that... so based on that... then what would be a solution for a php based shopping cart with downloads that are over 35mb and will always reach the 60 second time cap?

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

    Default Re: Download truncated

    If you put your download folder back into public_html and use redirect, does the problem persist?


    It seems pretty clear that it's your server's unique configuration that's causing the problems you're experiencing.
    .

    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. #16
    Join Date
    Apr 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Download truncated

    I can't get it to do the redirect it keeps giving a 400 bad request error. I have never been able to get that to work even though I am on a server that allows for it. I see that it creates the temp folder with that begins with a (dot) . and then letters like this .tdxfghrtych but then there is never a file that gets put there and when you click on the download it just takes to you to the bad request page. Any ideas how to fix that so I can test it that way?

  7. #17
    Join Date
    Mar 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Download truncated

    Same thing is happening to me..
    did you ever find the solution ?

  8. #18
    Join Date
    Apr 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Download truncated

    Yes... Zencart isn't the solution for my project. I can't use any php code with larger files and still be on a shared hosting program. I will have to get a Virtual Private Server to use PHP. This is because there is an inherent limit on time PHP script execution time... that runs on a shared hosting server. After talking to about 15 hosting companies I found the average to be about 60 seconds. Most companies will allow you to edit the php.ini file but no matter what number you place in the max_execution, you are still limited by the inherent server max. The excuse they gave about the reason they limit, is "for security reasons".

    The only option is to use a cart that does not run PHP script, or to move to a Virtual Private Server (VPS). On a VPS, you have the control of the server and don't have the limits placed on a shared server.

    I decided to move away from zencart (because of the limits my server has on the sorts of things I would like to accomplish).

    My Granny always told me... "You should never step over dollars to save dimes". I am taking her advice and going to fork out the money for a VPS.

    I will be using zencart for another project that is not as complicated and will not require the extended php script execution time.

  9. #19
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Download truncated

    If the downloads are stored above public_html than the rediredct method will not work. The .tdxfghrtych is a symlink to the original downloads folder and file. You can keep the downloads folder above public_html and use the streaming but you need to have it set up correctly. The maximum execution time is not affected by system calls, stream operations etc.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  10. #20
    Join Date
    Apr 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Download truncated

    If that is the case, then why am I getting everything to work up to a certain time limit? It is configured and redirects and allows you to download but it cuts the download. Play the file (music) that got partially downloaded, and it plays for a few seconds normal and then stops (due to not completing the download)

    I would love to have a solution to this, but after a month now... nothing has worked.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. product description truncated
    By thefuss in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 3 Mar 2011, 09:45 PM
  2. Author list truncated
    By RMsimp in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 25 Feb 2011, 03:18 AM
  3. manufacturers list truncated??
    By brok264102 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Jun 2009, 04:47 AM
  4. truncated manufacturers in sidebox
    By gabenn2 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 May 2007, 08:12 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