Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi,

    I’ve been having problems downloading .zip and .rar files in WP-Ecommerce from both Windows and Mac (the file is corrupted, unexpected end of file).

    Not sure if this is your problem, but I fixed it by commenting the following line:

    At wpsc-includes/ajax.functions.php:1050

    header( ‘Content-Length: ‘ . filesize( $file_path ) );

    The problem seems to be that HTTP chunked transfer encoding is used to send the file. This is incompatible with the Content-Length header and it seems to confuse Google Chrome in this case.

    Regards,

    AldoIsant: https://www.aldoilsant.com

Viewing 1 replies (of 1 total)