Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.

download works with english but not swedish

Started by rabarbervin on 26 Dec 2010, 4:37 PM · Views: 1,039

Results 1 to 6 of 6
26 Dec 2010, 4:37 PM
#1
rabarbervin avatar

rabarbervin

New Zenner

Join Date:
Jun 2009
Posts:
28
Plugin Contributions:
0

Post #1 by rabarbervin

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...

27 Dec 2010, 2:22 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Post #2 by frank18

Rabarbervin:

....

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

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

27 Dec 2010, 11:27 AM
#3
rabarbervin avatar

rabarbervin

New Zenner

Join Date:
Jun 2009
Posts:
28
Plugin Contributions:
0

Post #3 by rabarbervin

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

28 Dec 2010, 2:47 PM
#4
rabarbervin avatar

rabarbervin

New Zenner

Join Date:
Jun 2009
Posts:
28
Plugin Contributions:
0

Post #4 by rabarbervin

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

8 Jan 2011, 4:55 PM
#5
gunnel avatar

gunnel

New Zenner

Join Date:
Jan 2011
Location:
Sweden
Posts:
12
Plugin Contributions:
0

Post #5 by gunnel

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

12 Jan 2011, 1:39 AM
#6
rabarbervin avatar

rabarbervin

New Zenner

Join Date:
Jun 2009
Posts:
28
Plugin Contributions:
0

Post #6 by rabarbervin

Nope, not yet....