Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default Validator Issues... I'm stumped

    Hello!

    Here is my site:
    http://smtsupplies(DOT)com/

    So I've been trying to resolve Validator problems (using validator.w3.org) and I have been very successful... up until now!

    I have 2 remaining errors that I can't figure out.

    FIRST
    I get this message: there is no attribute "property"
    Related to this: <meta property="og:title" content="" />

    I really don't know what to do about that!


    SECOND
    And this message: required attribute "type" not specified
    Related to this: <script>

    I can't figure out what this is in reference to, thus I don't even know where to start looking!

    Any thoughts?

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

    Default Re: Validator Issues... I'm stumped

    SECOND:

    In your page HTML, you have the following. Before HTML5 the "validator" wants you to declare what "type" a "script" is, by noting it as I've highlighted:
    Code:
    <div id="headerWrapper">
    
    <script type="text/javascript">
    $(document).ready(function() { 
    ...
    .

    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
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default Re: Validator Issues... I'm stumped

    Ok, thanks.

    But any thoughts on which php file contains that reference?

  4. #4
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Validator Issues... I'm stumped

    <meta property="og:title" content="" /> it's html5

    By the way, there is a module for og, twitter and semantics, etc...meta tags....but I can't recall the name.
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  5. #5
    Join Date
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default Re: Validator Issues... I'm stumped

    Found it! Yay! Thank you, thank you, thank you!

    One down, one to go!

  6. #6
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Validator Issues... I'm stumped

    Quote Originally Posted by Feznizzle View Post
    Ok, thanks.

    But any thoughts on which php file contains that reference?
    Search your files for "<div id="headerWrapper">"

    In html5 doctype, no need to use <script type="text/javascript">, just <script>
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  7. #7
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Validator Issues... I'm stumped

    And your <html> should have something like this to use opengraph stuff :

    <html xmlns="https://www.w3.org/1999/xhtml" xmlns:og="https://ogp.me/ns#" xmlns:fb="https://www.facebook.com/2008/fbml">

    But, like I mentioned, there's a module that's does all this for you
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  8. #8
    Join Date
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default Re: Validator Issues... I'm stumped

    Thank you, mesnitu!

    I will look for that mod and let you know if it solves to problem.

  9. #9
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Validator Issues... I'm stumped

    It's call Super Data Markup
    It also introduces semantics markup to products for google, facebook, etc...

    https://www.zen-cart.com/downloads.php?do=file&id=1984

    But not sure if it validates, because it's the template it's xhtml. However possibly there's a way. I also have a site that doesn't validate that property , but I never payed much attention to that.
    Or maybe you could check if altering the doctype to html5, if you need to make a lot of changes to what you have now.
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  10. #10
    Join Date
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default Re: Validator Issues... I'm stumped

    Awesome, mesnitu! And DrB! Thank you guys so much!

    Hey... can I point y'all at another validation issue I'm having? Maybe you might just know the answer?

    I started a thread for it here:
    https://www.zen-cart.com/showthread....eing-Converted

    Thanks again!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. stumped.. really stumped Error 500...again
    By rwslippey in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 1 Jul 2010, 02:40 AM
  2. HTML Validator Errors
    By ksookma in forum General Questions
    Replies: 3
    Last Post: 27 Sep 2009, 07:44 PM
  3. CSS Validator Error
    By DBB1 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Jan 2009, 09:50 PM
  4. Validator Error
    By nrg77 in forum General Questions
    Replies: 0
    Last Post: 23 Nov 2007, 08:57 PM
  5. AmEx cvv validator?
    By kinethic in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 31 Jul 2006, 02:31 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