Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jun 2010
    Posts
    28
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jun 2010
    Posts
    28
    Plugin Contributions
    0

    Default Re: Many HEADER_BLAH_BLAH defined values not posting...

    Any One?

    version 1.37
    site

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,701
    Plugin Contributions
    11

    Default Re: Many HEADER_BLAH_BLAH defined values not posting...

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

    Try using the Developers Tool Kit to look for TEXT_VISITORS_CART. Somewhere, the define for that is broken.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

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

    Default Re: Many HEADER_BLAH_BLAH defined values not posting...

    This is what i found:

    1)
    /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>');

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

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


    Am I in Javascript Hell?

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,701
    Plugin Contributions
    11

    Default Re: Many HEADER_BLAH_BLAH defined values not posting...

    Those are correct.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

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

    Default 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!

  7. #7
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,701
    Plugin Contributions
    11

    Default Re: Many HEADER_BLAH_BLAH defined values not posting...

    Glad you got it going
    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.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  8. #8
    Join Date
    Jun 2010
    Posts
    28
    Plugin Contributions
    0

    Default 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

  9. #9
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,701
    Plugin Contributions
    11

    Default 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 thing about mouse."

    You'd be better served to ask that question in a different area of the forum better suited for it.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  10. #10
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,701
    Plugin Contributions
    11

    Default 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.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Is there an easy way to add Option Names with Option Values defined in another?
    By UnrealPHD.com in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 23 Jun 2010, 02:02 PM
  2. Slowness when loading page with many attribute values
    By jameszeller in forum Setting Up Categories, Products, Attributes
    Replies: 27
    Last Post: 9 Feb 2010, 10:56 PM
  3. How do I use SQL to update many categories_id values in products_to_categories?
    By molywerks in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 9 Nov 2009, 05:16 PM
  4. Adding many option values and attribute price
    By violet23 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 28 Dec 2008, 12:27 AM
  5. Drop down box for many values
    By allynmey in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 1 Sep 2006, 11:47 PM

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