Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27
  1. #11
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Downloads corrupted? v1.3.6

    Actually, the whole "error msg. problem" is beside the point. Until the actual error is fixed the problem will continue.

    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.


    I suggest deleting what is there now and re upload the original file(s) for downloading.

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

    Default Re: Downloads corrupted? v1.3.6

    The extra HTML content added to end of files ... is the same issue that was fixed in newer versions.
    .

    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
    Jan 2006
    Posts
    125
    Plugin Contributions
    0

    Default Re: Downloads corrupted? v1.3.6

    But if I try to download the file using FTP, nothing is wrong
    The Code is added when clicking at the download link

    I do not have the possibility to upgrade this one

    But do you know where the link is generated, so that I maybe can correct it?

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

    Default Re: Downloads corrupted? v1.3.6

    You could try this alpha patch which is designed for 1.3.7:
    http://www.zen-cart.com/forum/showth...190#post439190

    Use at your own risk if you're applying it to other versions.
    .

    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. #15
    Join Date
    Jan 2006
    Posts
    125
    Plugin Contributions
    0

    Default Re: Downloads corrupted? v1.3.6

    It dosent work either

    But where is the link beeing generated? . maybe I can somehow change it myself
    Kind regards :)

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

    Default Re: Downloads corrupted? v1.3.6

    It's that file that controls the delivery of the download files.
    And it's that file that exits execution when the browser is handed off to the file, thus preventing the HTML from being added to it.
    .

    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.

  7. #17
    Join Date
    Jan 2006
    Posts
    125
    Plugin Contributions
    0

    Default Re: Downloads corrupted? v1.3.6

    That file only has this code inside (it cant generate the link right ? :) ):

    <?php
    /**
    * Page 4
    *
    * @package page
    * @copyright Copyright 2003-2006 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: header_php.php 3230 2006-03-20 23:21:29Z drbyte $
    */

    require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
    $breadcrumb->add(NAVBAR_TITLE);

    // include template specific file name defines
    $define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_PAGE_4, 'false');
    ?>

    Kind regards :)

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

    Default Re: Downloads corrupted? v1.3.6

    I don't know where you got *that* file contents from. It's certainly not from the attachment in the post I linked you to earlier.
    .

    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.

  9. #19
    Join Date
    Jan 2006
    Posts
    125
    Plugin Contributions
    0

    Default Re: Downloads corrupted? v1.3.6

    Hi

    It is this file:
    includes/modules/pages/download/

    Isent that the correct one (I seem to be lost hehe, but thanks for your patience)?

    Kind regards

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

    Default Re: Downloads corrupted? v1.3.6

    You quoted code that belongs to /includes/modules/pages/page_4/header_php.php.
    .

    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 2 of 3 FirstFirst 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