The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Little Help With Code
saxamo
post Oct 8 2010, 10:35 AM
Post #1


Newbie
*

Group: Members
Posts: 16
Joined: 1-September 10
From: Underground
Member No.: 12,637



As always when I need to get some help I come back here cause there is always a bunch of awesome people willing to help out. You can just tell from the responses that people get daily. No one seems to wait that long for a reply. Excellent place! Just had to say that..

I just need a little help clearing up this last bit of code on this template

http://www.saxamo.com

This is a test site for me for articles and such but I would like to clear up the last couple of errors if possible and I just can't seem to locate the problem.

http://validator.w3.org/check?uri=http%3A%...ine&group=0

If anyone could take a look it would be most appreciated. The developer of this template has been contacted a few times and by many others and I just think that this template is so old that he does not want to be bothered any more with it. It would be nice if he/she would just reply and say something. " Sorry but I no longer support this template I am sorry I can't be of further assistance " just something..

I really appreciate anyone that can give any insight and don't hesitate to post some times the simplest of things YOU say make me THINK.

This post has been edited by saxamo: Oct 8 2010, 11:27 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 8 2010, 10:47 AM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Thank you kindly, sir! blush.gif

If you don't mind, I use the WDG validator instead. I'm more used to it and find its error messages clearer. The W3C has added too much blah blah to theirs the latest years IMHO. And no, I don't have any part in the validator.

http://www.htmlhelp.com/cgi-bin/validate.c...s&input=yes


Start with the last error.
CODE

Line 209, character 10:
                                        </ul>
                                            ^Error: end tag for element ul which is not open; try removing the end tag or check for improper nesting of elements



And that explains the other errors, "element LI not allowed here...". You never opened UL. happy.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
saxamo
post Oct 8 2010, 10:57 AM
Post #3


Newbie
*

Group: Members
Posts: 16
Joined: 1-September 10
From: Underground
Member No.: 12,637



Thank you kind sir.

The problem is that if you look at the source code the ul's are there along with the li's. I just have no idea where to find the error in the code. It is not located in the sidebar.php and chances are you might not know either unless you look at the code yourself. I was just wondering if there was anything obvious going on.

<h3>Recent Posts</h3>

<ul>
<li><a href="http://www.saxamo.com/information/free-mse/" title="FREE! MSE Now Available to Small Business Users">FREE! MSE Now Available to Small Business Users</a></li>
<li><a href="http://www.saxamo.com/information/vov-technology-debug-board/" title="VOV Technology – Debug Board">VOV Technology – Debug Board</a></li>
<li><a href="http://www.saxamo.com/information/aspire-easystore-h342/" title="Aspire EasyStore H342">Aspire EasyStore H342</a></li>
</ul>

If anything comes to mind let me know.. I am stumped.. smile.gif

Thanks again!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Oct 8 2010, 11:24 AM
Post #4


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



There is no <ul> after line 205.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
saxamo
post Oct 8 2010, 11:27 AM
Post #5


Newbie
*

Group: Members
Posts: 16
Joined: 1-September 10
From: Underground
Member No.: 12,637



QUOTE(Darin McGrew @ Oct 8 2010, 12:24 PM) *

There is no <ul> after line 205.


Thank you for the reply. The problem is I don't know where to find the missing ul location. I have tried in all parts of the template and I have even looked in the default-widget code on wordpress. I know I am missing a UL I just don't know where the problem is in the code but thanks for responding.

This post has been edited by saxamo: Oct 8 2010, 11:27 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 8 2010, 11:29 AM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Nuh. I viewed source and see exactly the same markup as the validator shows. The two LIs aren't in an UL but you do have the closing tag.

CODE
        <div class="footnav">
                <div class="linksleft">
                    <h3>Recent Updates</h3>
                        <li><a href='http://www.saxamo.com/information/free-mse/' title='FREE! MSE Now Available to Small Business Users'>FREE! MSE Now Available to Small Business Users</a></li>
    <li><a href='http://www.saxamo.com/information/vov-technology-debug-board/' title='VOV Technology – Debug Board'>VOV Technology – Debug Board</a></li>
    <li><a href='http://www.saxamo.com/information/aspire-easystore-h342/' title='Aspire EasyStore H342'>Aspire EasyStore H342</a></li>
                    </ul>
                </div>
...
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 8 2010, 11:33 AM
Post #7


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



To make it clearer...

QUOTE(pandy @ Oct 8 2010, 06:29 PM) *


HTML
<div class="footnav">
<div class="linksleft">
<h3>Recent Updates</h3>



<!-- UL needed here as LI requires it. -->
<li><a href='http://www.saxamo.com/information/free-mse/' title='FREE! MSE Now Available to Small Business Users'>FREE! MSE Now Available to Small Business Users</a></li>
<li><a href='http://www.saxamo.com/information/vov-technology-debug-board/' title='VOV Technology – Debug Board'>VOV Technology – Debug Board</a></li>
<li><a href='http://www.saxamo.com/information/aspire-easystore-h342/' title='Aspire EasyStore H342'>Aspire EasyStore H342</a></li>


</ul>
<!-- The unmatched closing tag is above. -->

</div>
...

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
saxamo
post Oct 8 2010, 11:59 AM
Post #8


Newbie
*

Group: Members
Posts: 16
Joined: 1-September 10
From: Underground
Member No.: 12,637



okay.. the error was in the footer not in the sidebar. Once I cleared that error up now I get 8 more for something else that I am currently looking into.

<li><a rel="nofollow"href="http://www.saxamo.com/comments/feed/" title="The latest comments to all posts in RSS">Comments <abbr title="Really Simple Syndication">RSS</abbr></a></li>

There is no space after the "nofollow"href

I have to locate this in the code now. lol Get rid of 4 and get back 8 more smile.gif

Thanks for the help so far.. I appreciate it..
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
saxamo
post Oct 8 2010, 12:04 PM
Post #9


Newbie
*

Group: Members
Posts: 16
Joined: 1-September 10
From: Underground
Member No.: 12,637



If I remove the meta widget from the sidebar the errors go away so now I just need to locate the syntax error in the meta widget.. This is obviously a template problem so I don't think there are any errors in the default-widget. I will keep looking.. smile.gif

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
saxamo
post Oct 8 2010, 12:12 PM
Post #10


Newbie
*

Group: Members
Posts: 16
Joined: 1-September 10
From: Underground
Member No.: 12,637



These 8 errors are caused by the meta robots meta plugin and checking off the option " Replace the Meta Widget with a nofollowed one " Once you remove that check mark the errors go away. Not sure if this is a robots meta problem or just an old template problem.


# Error Line 147, Column 25: attributes construct error

<li><a rel="nofollow"href="http://www.saxamo.com/comments/feed/" title="The…


# Error Line 147, Column 25: Couldn't find end of Start Tag a line 147

<li><a rel="nofollow"href="http://www.saxamo.com/comments/feed/" title="The…


# Error Line 147, Column 80: Opening and ending tag mismatch: li line 147 and a

….saxamo.com/comments/feed/" title="The latest comments to all posts in RSS">Co…


# Error Line 147, Column 81: Opening and ending tag mismatch: ul line 144 and li

…saxamo.com/comments/feed/" title="The latest comments to all posts in RSS">Com…


# Error Line 149, Column 13: Opening and ending tag mismatch: div line 69 and ul

</ul>


# Error Line 239, Column 6: Opening and ending tag mismatch: body line 54 and div

</div>


# Error Line 243, Column 7: Opening and ending tag mismatch: html line 2 and body

</body>


# Error Line 244: Extra content at the end of the document

</html>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 8 2010, 12:35 PM
Post #11


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



It isn't utterly important as long as you serve the document as HTML. It's an XML error. The WDG validator doesn't even give you an error, since it doesn't check for well-formedness (as per XML). The only time this would bite you is if you actually served the document as XHTML. Then the browser would refuse to display it. But as most people you don't, so it's of no practical importance. If it's parsed as HTML, HTML rules apply.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
saxamo
post Oct 8 2010, 02:38 PM
Post #12


Newbie
*

Group: Members
Posts: 16
Joined: 1-September 10
From: Underground
Member No.: 12,637



Thanks for the help guys.. Some times I just need to talk it out on paper and have some people chime in. I thank you for your help and I do realize that this template is not designed very well. However, since I am not a guru yet I can't redesign the template properly from scratch but I sure wish I could pay someone to do it. smile.gif Thanks for all your help and I hope you all have a great weekend!

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 23rd April 2024 - 03:37 AM