Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / add product in other language doesnt works

add product in other language doesnt works

Locked

Views: 2,468

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
2 Apr 2009, 7:10 PM
#1
mambo75 avatar

mambo75

New Zenner

Join Date:
Mar 2009
Posts:
51
Plugin Contributions:
0

add product in other language doesnt works

Hello,
First to say im sry if i posting this in wrong section.
I have installed last zencart version with default language eng and works all perfect without any problem.
Then installed costum template which worked in default language also without any problem,but when i have installed second language it was fine til i click on "add product" .When do that im transfered to blanco page with nothing on it,same if i want to click on same page "tell a friend" and "write a review"
when i click on "add product" in browser adres iv got this:

index.php?main_page=shopping_cart&language=en

and if i change manual in browser adres last part to:

index.php?main_page=shopping_cart&language=dk

it wil open the page in other language then english and i wil see product inside Shopping Cart on page Your Shopping Cart Contents:

Please help
Ty in advance :smile:

3 Apr 2009, 9:50 PM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: add product in other language doesnt works

if you are getting blank page , that due to some php problems.

use this link to solve your problem

http://www.zen-cart.com/forum/announcement.php?f=134&a=12

3 Apr 2009, 10:36 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: add product in other language doesnt works

Where did you get the custom template? Some of them break some standard Zen Cart functions.

4 Apr 2009, 12:30 AM
#4
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: add product in other language doesnt works

on winxp , IE 7 , IE8, FF are all ok ..

you may want to reconsider colours on your site .. is distracting .. specially your sidebox ,, after few second is hard to read your category there.

:unsure:

4 Apr 2009, 8:36 PM
#5
mambo75 avatar

mambo75

New Zenner

Join Date:
Mar 2009
Posts:
51
Plugin Contributions:
0

Re: add product in other language doesnt works

tony_sar:

if you are getting blank page , that due to some php problems.

use this link to solve your problem

http://www.zen-cart.com/forum/announcement.php?f=134&a=12

Ty very much on reply,iw used link you posted and tried to install Debug Error-Logging Utility which sent informations to log file and this is what i found inside:

 [04-Apr-2009 09:52:14] PHP Warning:  Cannot modify header information - headers already sent by (output started at /mounted-storage/home123c/sub001/sc68518-MXZJ/www/zencart/includes/languages/srpski.php:1) in /mounted-storage/home123c/sub001/sc68518-MXZJ/www/zencart/includes/init_includes/init_templates.php on line 78
[04-Apr-2009 09:52:14] PHP Warning:  Cannot modify header information - headers already sent by (output started at /mounted-storage/home123c/sub001/sc68518-MXZJ/www/zencart/includes/languages/srpski.php:1) in /mounted-storage/home123c/sub001/sc68518-MXZJ/www/zencart/includes/functions/functions_general.php on line 44

Note:Srpski is language pack,does maybe this can help to solve the problem? :unsure:

Also i have used zencart standard template and no changes so the problems in using costum template i have isnt problem.

Ty on trying to help me even we dont find solution for this problem

Mambo

4 Apr 2009, 9:23 PM
#6
mambo75 avatar

mambo75

New Zenner

Join Date:
Mar 2009
Posts:
51
Plugin Contributions:
0

Re: add product in other language doesnt works

and here are screenshots of files that makes problems:
functions_general.php
init_templates.php

Screenshots of functions_general.php with line 44

Screenshot of init_templates.php with line 78

What should i change there,this is tutor of problem i have but stil need help

Ty very much :smile:

4 Apr 2009, 11:24 PM
#8
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: add product in other language doesnt works

the problem is starting from srpski.php , the other two core files just reporting the problem.

you may want to look at srpski.php make sure is not corrupted missing opening or closing php tags , missing ) or ;
specially if there is added space at the end of that file .