WordPress.org

Ready to get started?Download WordPress

Forums

Pretty Big Problem for me I Know (6 posts)

  1. keifoffa
    Member
    Posted 4 years ago #

    I've searched and searched; This is my problem, please bear with me. I had started a blog some months ago now, I've tried to do everything on my own, because I wanted to learn, in the intrim; I've learned some, this is my blog: (www.constructiontopic.com) First I was having problems with the first theme I used, so I changed the theme, afterwards I had less problems.
    What I mean is the W3C validator: I have 22 errors showing; before with the other theme it was 35 so that was some improvement. But I noticed that the problems occurred when I removed some plugins.
    I can look at the source code but can't do anything with it. I think I know what to do but not confident. Through hostgator I have a webdisk on my desktop But I really don't want to mess with it. I have notepad plus plus and I don't Know how to use it so, that's my perdicament. I've been trying to change; I believe it's 2 errors on my blog and it might clear up the whole thing because the bulk of the errors are showing on one line. Like the last line I believe. Did I say I've been six weeks trying to figure this out. My page shows up OK, but I do want to get those errors fixed. I Give Up. Could somebody give me a hand with this. I know yall busy, But Thank you in advance!!

  2. Jonathan Dingman
    Member
    Posted 4 years ago #

    Give you a hand with what? you didn't provide any code for us to look at :)

  3. iridiax
    Member
    Posted 4 years ago #

    Don't paste Google Analytics code into your posts. Remove this pasted code and then validate your site again. If a plugin is adding this code, disable it.

  4. doc4
    Member
    Posted 4 years ago #

    keifoffa,

    Show us your loop code for the index page. It seems Google Analyticator is adding it's script by looping it over and over. Not that this will necessarily solve the problem but it's worth investigation.

  5. keifoffa
    Member
    Posted 4 years ago #

    First Thank you guys for the immediate responce, this is the first time I asked anything from the support group, and that was an amazing, next day service example of how it suppose to work! Anyway; I turned off the Google Analytics, removed the code, revalidated my blog and the outcome was more errors 35, I'm going to do something here, I was going to paste the entire W3C readout, because I can't pin-point what you are asking me to do, ie: The Loop etc, I'm feeling like a loop!!
    I'm going to pull a few snippetts from the start of the error page.
    Result: 31 Errors, 25 warning(s)
    Address:
    Encoding: utf-8
    Line 332, Column 626: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
    …met.com" title=""><div id="akismet1"><span id="akismetcount">5</span> <span i

    332.<div id="rss-4" class="widget widget_rss"><h2 class="widget-title"><img style='background:orange;color:white;border:none;' width='14' height='14' src='http://constructiontopic.com/wp-includes/images/rss.png' alt='RSS' /> Construction Topics</h2><div class="clear"></div></div> <div id="akismet" class="widget widget_akismet"> <h2 class="widget-title">Spam Blocked</h2> <div id="akismetwrap"><div id="akismetstats"><div id="akismet1"><span id="akismetcount">5</span> <span id="akismetsc">spam comments</span></div> <div id="akismet2"><span id="akismetbb">blocked by</span>
    <span id="akismeta">Akismet</span></div>
    </div></div>

    Line 332, Column 726: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
    …ents</span></div> <div id="akismet2"><span id="akismetbb">blocked by</span><b

    That's it on line 332.
    Again these are new since I removed the Google code and Disabled the plugin.

    here's the next line:

    Line 348, Column 316: required attribute "alt" not specified
    …om/affiliates/banners/160x240.gif' /></div>✉
    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

    348.<div class="clear"></div></div><div id="text-5" class="widget widget_text"><h2 class="widget-title">Host your site</h2> <div class="textwidget"><img src='http://www.hostgator.com/affiliates/banners/160x240.gif' /></div>

    line 425 is showing 26 errors ( 14 pages )
    Line 425, Column 57: reference not terminated by REFC delimiter
    …/zvoid.com/wi/index.php?ct=news&lang=english&bc=ffffff&bxc=ffffff&tcolor=0000✉
    If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.

    425.<iframe src="http://zvoid.com/wi/index.php?ct=news&lang=english&bc=ffffff&bxc=ffffff&tcolor=000000&zc=ffffff&zbc=000000&n=1&ctn=100&speed=2" id="streamnewslive" style="width:180;height:400;" frameborder="no" scrolling="no" width="180" height="400"></iframe>

    Alrighty Then!!! I'll be glad to see this through, The W3C shows the fix, I honestly; don't know what I'm doing, and I know just enough to be dangerous with this code stuff so I'm opting out until further notice.

    I do wonder though If I go back and enable the Google plugin, it should still work, and as far as where the code came from, I added because Google instruction page told me to, just to get the id. So I added the code. But I already had the plugin and I put it on my blog in a text widget I think? ((( I DON'T KNOW WHAT I DID WITH IT. )))

  6. keifoffa
    Member
    Posted 4 years ago #

    Sorry let me leave my website Hope somebody can help. My problem is I don't want to get so far blogging and have to end up with a W3C ERROR MESS (http://www.constructiontopic.com)

Topic Closed

This topic has been closed to new replies.

About this Topic