Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Many HEADER_BLAH_BLAH defined values not posting...

Many HEADER_BLAH_BLAH defined values not posting...

Locked

Views: 623

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
24 Jun 2010, 11:09 PM
#1
rolotomasi avatar

rolotomasi

New Zenner

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

Many HEADER_BLAH_BLAH defined values not posting...

It's a little bizarre,

Many of the sites defines work fine and when I make new definitions in the includes/languages/english.php file they post. But all of the definitions related to the shopping cart and some others are posting as XXXX_XXXX_XXXXX instead of the defined values in the associated php files. The shopping cart php related files have all things clearly defined with no syntax errors. The product attributes are also showing up jacked.

It seems like all the definitions that live outside the english.php file are no being drawn out. Because many of the definitions are dynamic I cannot simply give them had definitions in the english.php file, ie. "Your Cart is Empty" or "Your Shopping Cart Products"

Where would the "break" occur that would cause any definitions beyond the english.php file to not resolve???

Please Help

25 Jun 2010, 12:34 AM
#2
rolotomasi avatar

rolotomasi

New Zenner

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

Re: Many HEADER_BLAH_BLAH defined values not posting...

Any One?

version 1.37
site

25 Jun 2010, 12:43 AM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,786
Plugin Contributions:
13

Re: Many HEADER_BLAH_BLAH defined values not posting...

Hard to tell with such a modified cart. The site link certainly helps.:flex:

Try using the Developers Tool Kit to look for TEXT_VISITORS_CART. Somewhere, the define for that is broken.

25 Jun 2010, 12:48 AM
#4
rolotomasi avatar

rolotomasi

New Zenner

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

Re: Many HEADER_BLAH_BLAH defined values not posting...

This is what i found:

/home/teambrun/public_html/soccer-uniforms.com/includes/languages/english/shopping_cart.php

Line #28 : define('TEXT_VISITORS_CART', '<a href="javascript:session_win();">[help (?)]</a>');

/home/teambrun/public_html/soccer-uniforms.com/includes/languages/english/login.php

Line #28 : define('TEXT_VISITORS_CART', '<strong>Note:</strong> Your "Visitors Cart" contents will be merged with your "Members Cart" contents once you have logged on. <a href="javascript:session_win();">[More Info]</a>');

Am I in Javascript Hell?

25 Jun 2010, 4:21 AM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,786
Plugin Contributions:
13

Re: Many HEADER_BLAH_BLAH defined values not posting...

Those are correct.:sadwalk:

25 Jun 2010, 5:00 AM
#6
rolotomasi avatar

rolotomasi

New Zenner

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

Re: Many HEADER_BLAH_BLAH defined values not posting...

So here's the deal...

Some how adding the Jorges 1.37 Spanish pack caused the template english files to be split with the core english files such that half the relevant code was in one, and the other half of the code in the other, with neither being able to work. Sounds impossible, I know. Have corrected all the files, sites running perfect now.

Yep, Beyond Bizarre Indeed!!!

Selling a Condo in Hell CHEAP if anyones interested!
:flex::flex::flex::flex::flex::flex::flex:

25 Jun 2010, 5:48 AM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,786
Plugin Contributions:
13

Re: Many HEADER_BLAH_BLAH defined values not posting...

Glad you got it going:clap:
And thanks for posting what you found. I did not see any possible change for language on your site or I might have asked about language files. That's why there are posting tips. Item #3 - What addons have you installed.

Next thing to consider is adding a Please Select to your selections on items. Right now, I can click add to cart on the USA 2010 away uniform and it will go in the cart regardless of whether I missed that there is a size selection for shorts. By adding the Please Select to each selection, you make sure you have what the customer wanted to order and not what they accidentally ordered.

Set it to sort order 0, default for display only.:yes:

25 Jun 2010, 6:22 AM
#8
rolotomasi avatar

rolotomasi

New Zenner

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

Re: Many HEADER_BLAH_BLAH defined values not posting...

Great idea! Will do...

Lot's of add-ons by many designers over the years. This site's owner is a new client in the last few weeks so don't have the complete list yet.

Important question:
This 1.37 site still needs to be convertible to spanish, french, and german. I know that the best way would be to first upgrade to 1.39 but due to the template and all the coding customizations it would become the case study example of the hairiest zc upgrade ever. My question is this...Can I copy all my pertinent language files, place in the spanish translations where needed, apply the proper iso, and run it.

Your excellent thoughts welcome

25 Jun 2010, 6:55 AM
#9
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,786
Plugin Contributions:
13

Re: Many HEADER_BLAH_BLAH defined values not posting...

Like I've often said, "You can have a doctor's degree in keyboard and not know a :censored: thing about mouse."

You'd be better served to ask that question in a different area of the forum better suited for it.

25 Jun 2010, 6:56 AM
#10
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,786
Plugin Contributions:
13

Re: Many HEADER_BLAH_BLAH defined values not posting...

Your upgrade might not be such a scary event if you find that the theme157 custom folder has been properly used.:yes:

25 Jun 2010, 7:02 AM
#11
rolotomasi avatar

rolotomasi

New Zenner

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

Re: Many HEADER_BLAH_BLAH defined values not posting...

Interesting... Thanks for your continuing support, been very reassuring to have your feedback over the last few days. Much appreciated!

25 Jun 2010, 7:04 AM
#12
rolotomasi avatar

rolotomasi

New Zenner

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

Re: Many HEADER_BLAH_BLAH defined values not posting...

Has the 157 theme not been correctly used that you can see? File structure errant?

25 Jun 2010, 7:54 AM
#13
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,786
Plugin Contributions:
13

Re: Many HEADER_BLAH_BLAH defined values not posting...

Since we can't see the file structure, it's hard to say.

You can compare your file structure to the Overrides Chart found in the Free Software Add Ons.

Look at the chart as you look through your file structure. Everywhere you see "custom (your_template)" you should see a folder called theme157 in your file structure. There may not be anything in the folder, but it should be there just in case even if empty.

Those folders are there to hold non-core files that have been edited to give your site its pizazz.:P

Too many jump right in and start modifying the classic files. At the first upgrade, they find all their work overwritten unless they go file by file checking for differences.:yuck: