Results 1 to 9 of 9
  1. #1

    Default Upgrading and headers/titles wonky; variable names being used, not variable contents

    In process of upgrading to 1.3.8 and instead of seeing the contents of variables, I see the actual variable names. You'd think I mucked around with a file somewhere, but I really haven't changed much source and it's been like this since I first upgraded so I really don't think it was something I did. Here are some examples:

    Up top, I see:
    HEADER_TITLE_CATALOG HEADER_TITLE_LOGIN HEADER_TITLE_CART_CONTENTS HEADER_TITLE_CHECKOUT


    HEADER_SALES_TEXT


    and my all my boxes too - categories is BOX_HEADING_CATEGORIES

    and so on. I'm sure there is a simple fix! I can send a link privately if anyone wants to see what I mean.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Upgrading and headers/titles wonky; variable names being used, not variable conte

    What version are you upgrading from?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3

    Default Re: Upgrading and headers/titles wonky; variable names being used, not variable conte

    From version 1.3.7.

  4. #4

    Default Re: Upgrading and headers/titles wonky; variable names being used, not variable conte

    This also means my buttons aren't working. For example, here is some generated code:
    <!--bof Add to Cart Box -->
    <div id="cartAdd">
    PRODUCTS_ORDER_QTY_TEXT<input type="text" name="cart_quantity" value="1" maxlength="6" size="4" /><br /><br /><input type="hidden" name="products_id" value="507" /><input type="image" src="includes/templates/template_default/buttons/english/BUTTON_IMAGE_IN_CART" alt="BUTTON_IN_CART_ALT" title=" BUTTON_IN_CART_ALT " /> </div>
    <!--eof Add to Cart Box-->


    The pathname for the button should have what the variable BUTTON_IMAGE_IN_CART resolves to.

  5. #5
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Upgrading and headers/titles wonky; variable names being used, not variable conte

    Are all of your language files in place for your custom template?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  6. #6

    Default Re: Upgrading and headers/titles wonky; variable names being used, not variable conte

    Kim, I'm not sure I understand the question. You mean in includes/templates/MY-TEMPLATE ? I don't see any language directory there but nor do I see one in the default template directory.

  7. #7

    Default Re: Upgrading and headers/titles wonky; variable names being used, not variable conte

    Woo hoo! Was missing a file. Turned on debug and found the error (was having another set of issues) and this wound up getting fixed by putting in the missing english.php file. How weird that it was missing.

  8. #8
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Upgrading and headers/titles wonky; variable names being used, not variable conte

    Glad you got it sorted out. Missing language files can really throw things out of whack!
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  9. #9

    Default Re: Upgrading and headers/titles wonky; variable names being used, not variable conte

    Quote Originally Posted by Kim View Post
    Glad you got it sorted out. Missing language files can really throw things out of whack!
    Good to know. It does make me wonder though, what other files might not have uploaded. I can't test every single thing before going live. Ah well. I live on the edge a bit.

 

 

Similar Threads

  1. v154 Naming a global variable the same as a SESSION, GET or POST variable
    By torvista in forum General Questions
    Replies: 5
    Last Post: 6 Dec 2015, 11:11 AM
  2. Passed variable is not an array or object in customers after upgrading
    By royalgemsnz in forum Upgrading from 1.3.x to 1.3.9
    Replies: 11
    Last Post: 21 Oct 2006, 03:09 AM
  3. Replies: 0
    Last Post: 8 Oct 2006, 11:25 PM
  4. Help with iDevAffiliate and Variable Names
    By fmckinnon in forum General Questions
    Replies: 1
    Last Post: 28 Jul 2006, 03:44 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR