1 error in W3C

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

1 error in W3C

Post by Nully »

Hi,
maybe somebody could help me to find the error.
It is on my home page:
Line 189, Column 8: end tag for "ul" which is not finished
</ul>
I do not find errors about <li><ul> in overall_header and I'm not able to know if there is an ENDIF or something else which is not well placed.

1 error in W3C

Post by Nully »

I would like, as all of you, to have zero errors :)
If you find where is my error, I will be very grateful and happy.

1 error in W3C

Post by martin123456 »

In your overall_header_html ;) on line 209

1 error in W3C

Post by Nully »

I do not find anything on line 209 (from line 160 to 219 there is a script).
The first div navbar with <ul> starts line 259....
:?: :idea:

W3C
<ul class="linklist rightside">
line 209 </ul>
<span class="corners-bottom"><span></span></span></div>
</div>
</div>

My overall_header

Code: Select all

	<ul class="linklist rightside">
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
					<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) -->
					<li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
					<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
				<!-- ENDIF -->
			</ul>
<span class="corners-bottom"><span></span></span></div>
		</div>
	</div>
Last edited by Nully on 09 Apr 2012, 14:27, edited 3 times in total.

1 error in W3C

Post by martin123456 »

1 error in W3C

Post by Nully »

Yes, I know. I do not find the error.
Please, if you have time, take a look to my previous message.

1 error in W3C

Post by Stoker »

Find

Code: Select all

<ul class="linklist rightside">
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
					<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) -->
					<li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
					<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
				<!-- ENDIF -->
			</ul>
Replace with

Code: Select all

<!-- IF not S_IS_BOT -->
<ul class="linklist rightside">
					<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
					<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) -->
					<li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
					<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
			</ul>
			<!-- ENDIF -->

1 error in W3C

Post by Nully »

Thank you so much for your courtesy.
You're THE BEST :D :D :D

1 error in W3C

Post by Rhyno »

Any ideas for my one? I currently have 63 errors LOL... i know what is causing 62 of them its a mod i have the only one left is below !

Code: Select all

 Line 944, Column 43: document type does not allow element "script" here
            <script type="text/javascript">
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
This is in my index_body.html file for the collapse function.....

Code here :

Code: Select all

<script type="text/javascript">
            $(".forumlist").collapse({show: function(){
                    this.animate({
                        opacity: 'toggle',
                        height: 'toggle'
                    }, 300);
                },
                hide : function() {
 
                    this.animate({
                        opacity: 'toggle',
                        height: 'toggle'
                    }, 300);
                }
            });
        </script>

1 error in W3C

Post by Stoker »

Thats not the problem. You have to links to your site, the exactly page where you have the problem.