Zen Cart Logo
Forums / General Questions / [1.3.8a] attributes Multiple languages, text boxes not showing up in 2nd language?

[1.3.8a] attributes Multiple languages, text boxes not showing up in 2nd language?

Locked

Views: 3,971

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
16 Jan 2008, 3:54 PM
#1
dexter avatar

dexter

New Zenner

Join Date:
Oct 2007
Location:
Netherlands
Posts:
36
Plugin Contributions:
0

[1.3.8a] attributes Multiple languages, text boxes not showing up in 2nd language?

Hi all,

First off all thanks for reading this! I think I may found a nasty bug...

This is what happend I got a zen-cart setup like a Multiple languages store (English(Default), Spanish).

I am using the zen-cart 1.3.8a on php 5 and mySQL 5(Both the more new stable versions) on a Windows server. Also I am not using addons that effect the attributes not at the font or back.

When I go to any product info page that got Attributes it shows great on the default languages, But when I change to Spanish all my Text box attributes disappear. But all the other type of Attributes do show up!

I am already days trying to result this issue,

  1. I first did think that the bug had to admin (bad settings), but this was not the case all settings look ok in the admin and all text attributes show up normal in both spanish and english languages. I even try delete them and readd them but the bug did keep showing up.

  2. I did take a look at my languages files, and compare to them to my english ones all does look ok here. I even did go so far to replace the spanish files complete with the english files(the unedit copy that comes with the 1.3.8a version) but the bug did keep showing up!

  3. I did take a look in my database but all look ok here also.

Please help me resold this issue, like you see at my post on this forum I am working trying to get my Zen-cart online ready for weeks now, sorry to not post a link to the live store like I am still working on localhost test server.

Really sorry for all the bad gramma and spelling errors but I am typing this at 1:45 am my time please forgive me, If something is unclear please ask me.

Thanks,
Jack

Realy sorry for the dubble post of this I had trouble find the right form for this! :oops: Please delete the others I did not find the edit tools :(

16 Jan 2008, 6:48 PM
#2
dexter avatar

dexter

New Zenner

Join Date:
Oct 2007
Location:
Netherlands
Posts:
36
Plugin Contributions:
0

Re: [1.3.8a] attributes Multiple languages, text boxes not showing up in 2nd language?

I found out more things now, look like its a issue of the attributes_controller.php (yes I did make sure I was using the one that comes with 1.3.8a!),

On the attributes_controller.php when I changes to my 2nd language and try insert my text attributes (they are listed in the Option Name list box and do say text behind there name) but in the Option Value in Spanish the TEXT [RESERVED FOR TEXT/FILES ONLY ATTRIBUTES] is no where to be found!!

Also the text attributes when added say in Engels under Option Value TEXT but in Spanish it shows blank...

18 Jan 2008, 8:44 AM
#3
dexter avatar

dexter

New Zenner

Join Date:
Oct 2007
Location:
Netherlands
Posts:
36
Plugin Contributions:
0

Re: [1.3.8a] attributes Multiple languages, text boxes not showing up in 2nd language?

Please someone help me with this thing, Please!!

20 Jan 2008, 4:59 PM
#4
dexter avatar

dexter

New Zenner

Join Date:
Oct 2007
Location:
Netherlands
Posts:
36
Plugin Contributions:
0

Re: [1.3.8a] attributes Multiple languages, text boxes not showing up in 2nd language?

Ok now I did check and try do it on a clean database of zencart I did trace the bug!

The thing that cost this was the import of the creloaded database I had to change the langid of the 2nd lang into 5, this did not cost any problems at the time, but somehow it did in the attributes there much be some kind of lang id still 2 somewhere...

7 May 2009, 2:13 PM
#5
francocauter avatar

francocauter

Zen Follower

Join Date:
Jun 2007
Location:
Milton Keynes UK
Posts:
153
Plugin Contributions:
0

Re: [1.3.8a] attributes Multiple languages, text boxes not showing up in 2nd language?

|Dexter|:

Ok now I did check and try do it on a clean database of zencart I did trace the bug!

The thing that cost this was the import of the creloaded database I had to change the langid of the 2nd lang into 5, this did not cost any problems at the time, but somehow it did in the attributes there much be some kind of lang id still 2 somewhere...
Can someone please help??
I'm having the same problem..
Text box only appears in english language and not in Italian
Have a look:
http://www.vivi-ilsud.it/index.php?main_page=product_info&cPath=436&products_id=140&number_of_uploads=0
http://www.vivi-ilsud.it/index.php?main_page=product_info&cPath=436&products_id=140&number_of_uploads=0&language=it

9 May 2009, 8:19 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [1.3.8a] attributes Multiple languages, text boxes not showing up in 2nd language?

Check the table:
products_options_values

Do you have a TEXT definition for each language_id setup?

For english, or languages_id 1 you could add:

INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES (0, 1, 'TEXT');

For languages_id 2 etc. you can just increment the 1 to a 2 ...

10 May 2009, 8:40 AM
#7
francocauter avatar

francocauter

Zen Follower

Join Date:
Jun 2007
Location:
Milton Keynes UK
Posts:
153
Plugin Contributions:
0

Re: [1.3.8a] attributes Multiple languages, text boxes not showing up in 2nd language?

Thanks a bundle my Oba san,
with your imput I went to check that table and found this:

INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name, products_options_values_sort_order, products_options_values_advertise_time) VALUES
(0, 1, 'TEXT', 0, 0),
(0, 3, 'TEXT', 0, 0),
(1, 1, '5 Banner Boxes (160x600px)', 0, 0),
(1, 6, '5 Banner (160x600px)', 0, 0),
(2, 1, '300x250px Flash Video', 0, 1),
(2, 6, '300x250px Video Formato Flash', 0, 1), .........

I noticed that strange "3" and changed it in a 6 and it seams to work, check:
http://www.vivi-ilsud.it/index.php?main_page=product_info&cPath=427&products_id=149&number_of_uploads=0&language=it
Thanks Again
Franco

10 May 2009, 1:45 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [1.3.8a] attributes Multiple languages, text boxes not showing up in 2nd language?

Sounds like somewhere along the way your language value got befuddled ... :eek:

Making that correction so that the TEXT attribute had its match in the table fixed the problem ... :smile: