Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Meta Tags and code problems

    Well when on home page, view source claims there are no meta tags. but the meta tag file has the keywords and stuff in it. I even deleted it so the original store one would show then uploaded a fresh one with a slight difference for title and still nothing and it shows the old title (the one that appears on the tab when you go to the page)

    also yesterday the site was fine, to day there is a HEADING_TITLE sowing on the main page and a TEXT_SHOW on any of the category pages

    see images link here

    I can't seem to find where to correct it....any of it

    Attachment 14788Attachment 14789Attachment 14790

    Thanks for your help and Happy Holidays

  2. #2
    Join Date
    Jan 2004
    Posts
    66,451
    Plugin Contributions
    81

    Default Re: Meta Tags and code problems

    Every time a constant appears in the browser HTML it means the define for it has been deleted from your PHP files.

    HEADING_TITLE is page-specific, and is not auto-generated by the meta_tags module. Instead, the meta_tags module expects it to already be defined so that it can use it when it does its generation of specific meta-tags output.

    HEADING_TITLE is a constant which is defined in the language files individually for each page. That's why you'll see that almost every /includes/languages/english/xxxxxxx.php file has a define for HEADING_TITLE in it.

    So, if you're seeing HEADING_TITLE showing up in your browser, that means you've deleted it from the corresponding language file.
    Same goes for TEXT_SHOW and the various others that you're seeing.

    If I were in your shoes I'd take a copy of original Zen Cart files and compare all the language files against the ones you've got on your store (and also against your override versions of those same files) and see which ones are missing various defines.
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Meta Tags and code problems

    ok, then I shall do that, it seems that maybe it is from the over rides stuff but ya never know....thanks

    have a very Merry and Safe Christmas and New Year

  4. #4
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Meta Tags and code problems

    YAY!!!

    Thank you ever so much. Your telling me to check them all and then finding out the text showing - Filter Results by helped me find the culprit file

    english/index.php

    I replaced it with a fresh new copy and the coding is gone now.

 

 

Similar Threads

  1. v139h How do I change basic meta tags such as page title and description and meta keywords
    By robertwebsite in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Aug 2012, 08:38 AM
  2. meta tags problems
    By miha25 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 16 Apr 2010, 01:22 AM
  3. Meta tags difference - Custom tags and....
    By Muzz in forum General Questions
    Replies: 2
    Last Post: 28 Aug 2009, 06:38 AM

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