Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1
    Join Date
    Jan 2006
    Posts
    125
    Plugin Contributions
    0

    application error Downloads corrupted? v1.3.6

    Hi

    When a user download a file from the shop there are problems:
    Some HTML code are added to the end of the files, and the files therefore are corrupted after downloading.

    This error is shown
    ---------------------------
    Warning: main(includes/templates/template_default/templates/tpl_download_default.php): failed to open stream: No such file or directory in /includes/templates/mytemplatename/common/tpl_main_page.php on line 111

    Fatal error: main(): Failed opening required 'includes/templates/template_default/templates/tpl_download_default.php' (include_path='.:.:') in /includes/templates/mytemplatename/common/tpl_main_page.php on line 111
    ---------------------------

    It doesn't matter if You use Firefox, Internet Explorer or Safari.
    It docent matter what you connection speed is.

    Download by redirect is set to off
    Download by streaming is set to off

    If you download the files using FTP the files is NOT corrupted.

    It seems like an error somewhere in the Zencart php code for download

    I have searched for this problem, and have found threads, but I cant find a solution, so I really hope you are able to help me :)

    Please feel free to ask if you have questions

    Can somebody please help me how to solve this problem?

    Kind regards
    Backstage :)

  2. #2
    Join Date
    Nov 2007
    Location
    Burney, CA. USA
    Posts
    131
    Plugin Contributions
    4

    Default Re: Downloads corrupted

    For best results on getting an answer to your question you will need to provide more information.

    What version of Zen Cart are you running?

    What version of PHP is your cart running on?

    What file extensions (examples>> .zip, .exe, .mp3, .jpg, .gif, .pdf, .doc) are coming up corrupt?

    With this information, someone may be able to better help you.
    (a link to your site might help too)

  3. #3
    Join Date
    Jan 2006
    Posts
    125
    Plugin Contributions
    0

    Default Re: Downloads corrupted

    I am running:
    Zencart 1.3.6 (no possibility to upgrade)
    PHP 4.3.10
    It is all files I have tried so far for example zip and pdf

    I hope someone are able to help me :)

  4. #4
    Join Date
    Jan 2006
    Posts
    125
    Plugin Contributions
    0

    Default Re: Downloads corrupted?

    Anybody???

  5. #5
    Join Date
    Nov 2007
    Location
    Burney, CA. USA
    Posts
    131
    Plugin Contributions
    4

    Default Re: Downloads corrupted

    Quote Originally Posted by Backstage View Post
    I am running:
    Zencart 1.3.6 (no possibility to upgrade)
    PHP 4.3.10
    It is all files I have tried so far for example zip and pdf

    I hope someone are able to help me :)
    You are going to have a tough time getting help on this one.
    Zen Cart v. 1.3.6 as it's Support Life has expired>> http://www.zen-cart.com/forum/showthread.php?t=72868 <<

    You really should consider upgrading... version 1.3.8a has a lot of bug fixes, security fixes, as well as some new functionality.

    PHP 4.3.10 is no longer supported either due to security issues, sound like your store needs upgraded all the way around.

    Sorry I couldn't be of more help.

  6. #6
    Join Date
    Jan 2006
    Posts
    125
    Plugin Contributions
    0

    Default Re: Downloads corrupted? v1.3.6

    Yeah I know but cant do that, so I hope someone know the problem and would be nice to help

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Downloads corrupted? v1.3.6

    Did you try reloading clean copies of those missing files in the error message?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Jan 2006
    Posts
    125
    Plugin Contributions
    0

    Default Re: Downloads corrupted? v1.3.6

    Hi

    Thanks a lot for your reply

    The strange thing is that this file:
    'includes/templates/template_default/templates/tpl_download_default.php'
    dosent exist in my shop or in the default files.

    I have downloaded Zencart 1.3.6 again today to be sure, and it isent there either

    The only file here with tpl_download... is: tpl_download_time_out_default.php

    There are also a file called tpl_modules_downloads.php

    But nothing else in that folder called something with download

    I really hope you can help me

    Thanks a lot

    Best Regards :)

  9. #9
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Downloads corrupted? v1.3.6

    It gets even stranger.

    Unless a developer can confirm differently, no version of Zen Cart since 1.3.6 at least, contains a file called "tpl_download_default.php".

    And this msg.:
    /includes/templates/mytemplatename/common/tpl_main_page.php on line 111

    refers to an error msg. for "uploading" a file.

    Is a module or custom code being used for your downloading? The situation does not appear normal, in that sense that it relates to default Zen Cart files.


    Note: perhaps a call is trying to be made to this file:
    includes/templates/template_default/templates/tpl_download_time_out_default.php

    but for whatever reason, the file calling it is using the wrong file name?
    Last edited by Website Rob; 14 May 2008 at 06:31 PM.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Downloads corrupted? v1.3.6

    There is no template for tpl_download_default.php ... because the download module is supposed to "die" before ever calling the template.

    There were some quirks with that in older versions, fixed in newer versions.

    An upgrade may resolve your issue.
    .

    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.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Flo2Cash corrupted
    By gh0st in forum Addon Payment Modules
    Replies: 3
    Last Post: 13 Mar 2009, 07:12 AM
  2. Images Corrupted
    By callansdad in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 22 Dec 2007, 06:53 AM
  3. Code Corrupted??
    By QueenKat in forum General Questions
    Replies: 2
    Last Post: 29 Jun 2007, 08:23 AM
  4. Corrupted Header
    By Dinnages in forum General Questions
    Replies: 6
    Last Post: 14 May 2007, 07:58 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