www.webdeveloper.com
Results 1 to 4 of 4

Thread: Blogger HTML Error

  1. #1
    Join Date
    Jun 2013
    Posts
    4

    Blogger HTML Error

    Hi!

    My blogger template gives the following error:

    TEMPLATE ERROR: b:include has no 'name' attribute

    could anyone help me to fix this please? What does this mean?
    This is the link: sueii92.blogspot.com

    thanks!!

  2. #2
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,216
    It seems to be regular text after viewing generated source code:

    "<body class="loading">TEMPLATE ERROR: b:include has no 'name' attribute"

    Also found this when viewing source code that wasn't generated:

    --></style>
    TEMPLATE ERROR: b:include has no 'name' attribute
    <script type="text/javascript">var a=navigator,b="userAgent",c="indexOf",f="&m=1",g="(^|&)m=",h="?",k="?m=1";function l(){var d=window.location.href,e=d.split(h);switch(e.length){case 1:return d+k;case 2:return 0<=e[1].search(g)?null:d+f;default:return null}}if(-1!=a[b][c]("Mobile")&&-1!=a[b][c]("WebKit")&&-1==a[b][c]("iPad")||-1!=a[b][c]("Opera Mini")||-1!=a[b][c]("IEMobile")){var m=l();m&&window.location.replace(m)};
    </script><script type="text/javascript">
    if (window.jstiming) window.jstiming.load.tick('headEnd');
    </script></head>
    Of course, this could have been put there by some scripting language which is not working correctly. Possibly try to correct these HTML errors. Hope you have time for the 187 CSS errors. Just ignore ALL properly formed CSS 3 rules that were flagged.
    Last edited by Major Payne; 06-20-2013 at 10:11 AM.

  3. #3
    Join Date
    Jun 2013
    Posts
    4
    Hi!

    Thank you so much for the reply!

    I didn't realised that I have so much errors on my blog!

    I tried to correct the HTML errors, but mostly I don't really understand what they mean. And if I recklessly change something I'm afraid it get worse.

    also about "<body class="loading">TEMPLATE ERROR: b:include has no 'name' attribute" I can find it at the validation website, but I can't find this html in the template in blogger to change/remove. Super strange.

    Also I'm getting more bugs at blogger now. I can't even open my preview, it gives an error if I do that.

    Do you maybe any programmes that check up the errors and also automatically correct them? I am a noob at HTML, I don't know anything about it.. So that would be the only solution to correct my blog I think.

    thank you!

    Suesue

  4. #4
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,216
    Hi: You may not be able to correct all errors unless they are ones you coded in. Since CMS (Content management Systems) uses PHP to generate a lot of the code, some of it may be generated by the PHP via any original temple that may have been chosen. That can only be corrected if you have access to editing ALL pages of your site. Installing XAMPP on your computer and downloading all files using the same directory structure as online would allow you to edit all files provided you also know PHP. Errors from code generated by 3rd parties is not correctable except by not using it. Correcting all errors/warnings flagged by the validator is not written in stone: Why Validate?

    There is HTML Tidy which does automatically correct code, but I do not recommend using it with blogging site files. It's not always accurate either even when used with plain HTML files.

    Just checked your site and I do not see the original problem you posted about. Guess you found and corrected it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles