Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2009
    Posts
    28
    Plugin Contributions
    0

    Default download works with english but not swedish

    I have set my downloadable produkt with the attribute pdf and i can see the green dot beside my pdf-file in the attributes Controller.
    I can put my product in the shoppingcart and pay for it with creditcard in both swedish and english mode.
    I return to my zencart from paypal after payment is done without problem and getting the downloadbutton in both language as i should.
    When pressing the downloadbutton in english mode the download starts and i get the file with no problems.
    When pressing the downloadbutton in swedish mode i get "internal server error 500".

    So i understand this to be a language problem but i cant figure this out by my self... i need your input and help!

    Thx in advance from a now rather stressed out Swede...

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: download works with english but not swedish

    Quote Originally Posted by Rabarbervin View Post
    ....

    So i understand this to be a language problem but i cant figure this out by my self... i need your input and help!

    Thx in advance from a now rather stressed out Swede...
    Don't stress - it's Xmas!

    You may want to do a file comparison of your English and Swedish language files - use a tool like WinMerge

  3. #3
    Join Date
    Jun 2009
    Posts
    28
    Plugin Contributions
    0

    Default Re: download works with english but not swedish

    Yep its Xmas... and dealdy cold up here!

    Can you point me to which .php files i should look at?
    Im a beginner and not so good at this.

    Thx!
    Rabarbervin

  4. #4
    Join Date
    Jun 2009
    Posts
    28
    Plugin Contributions
    0

    Default Re: download works with english but not swedish

    This is what the download.php looks like in the includes/languages/english folder:

    <?php
    /**
    * @package languageDefines
    * @copyright Copyright 2003-2010 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: download.php 15514 2010-02-18 07:27:05Z drbyte $
    */

    define('ERROR_CUSTOMER_DOWNLOAD_FAILURE', 'Customer Download Failure');


    This is what the download.php looks like in the includes/languages/swedish folder:

    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 The zen-cart developers |
    // | |
    // | http://www.zen-cart.com/index.php |
    // | |
    // | Portions Copyright (c) 2003 osCommerce |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license, |
    // | that is bundled with this package in the file LICENSE, and is |
    // | available through the world-wide-web at the following url: |
    // | http://www.zen-cart.com/license/2_0.txt. |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to |
    // | [email protected] so we can mail you a copy immediately. |
    // +----------------------------------------------------------------------+
    // $Id: download.php 1969 2005-09-13 06:57:21Z drbyte $
    //
    ?>




    I can see that they dont look the same... but i dont understand why or if this has anything to do with my problem...
    Can someone in here explain to me what the above means and if this download.php has anything to do with my problem.

    Thx!
    Rabarbervin

  5. #5
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    12
    Plugin Contributions
    0

    Default Re: download works with english but not swedish

    Hello Rabarbervin!
    Did you solv the problem? ) I´ve got the same error message. A Swedish language file problem I guess, but I can´t find where the error is. http://www.tusenideer.se

  6. #6
    Join Date
    Jun 2009
    Posts
    28
    Plugin Contributions
    0

    Default Re: download works with english but not swedish

    Nope, not yet....

 

 

Similar Threads

  1. Upgrade from 1.51 to 1.54, Admin Works OK but store does NOT work with php >5.4
    By SignaGen2 in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 31 Aug 2015, 07:11 PM
  2. Replies: 2
    Last Post: 1 May 2014, 08:13 PM
  3. Replies: 14
    Last Post: 16 Feb 2012, 10:59 PM
  4. Gap in Swedish cart, but not in English
    By laage in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Aug 2007, 12:58 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR