News:

Join the Facebook Fan Page.

Main Menu

Troubleshooting

Started by ircsiinci, October 26, 2016, 12:46:03 PM

Previous topic - Next topic

ircsiinci

Hi!

I would like to ask for help.
When the page is verified Posts 11 indicates an error in the W3C stuck because they do not know which php to look for to correct. There is little PHP knowledge.
The error log, according to the order closed the wrong labels.

Here are a few proposals error:

QuoteValidation Output: 11 Errors

Error Line 222, Column 14: end tag for "ul" which is not finished
                           </ul>

Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.

Error Line 276, Column 14: end tag for "ul" which is not finished
                           </ul>

Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.

Error Line 330, Column 14: end tag for "ul" which is not finished
                           </ul>

Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, in HTML the <head> element must contain a <title> child element, lists require appropriate list items (<ul> and <ol> require <li>; <dl> requires <dt> and <dd>), and so on.


Thanks for any help.
........ Because she said it is better to give than to receive.

aegersz

i'm just a novice but you really should attach your source/php code to your thread to make sense of what's at those lines in error.
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here


aegersz

#3
i looked at the source and i can see that the error is clearly explained: "Most likely, you nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>"

line 210 and up to line 224 is shown below:

<ul class="reset smalltext" id="msg_2_extra_info">
<li class="membergroup">Administrator</li>
<li class="postgroup">Fórumozó</li>
<li class="stars"><img src="http://xn--bkessgnektek-bebe.hu/smf/Themes/default/images/staradmin.gif" alt="*" /></li>
<li class="avatar">
<a href="http://xn--bkessgnektek-bebe.hu/smf/index.php?PHPSESSID=07cmg3fogbv497ulvkg6t54pp5&amp;action=profile;u=1">
<img class="avatar" src="http://xn--bkessgnektek-bebe.hu/smf/index.php?PHPSESSID=07cmg3fogbv497ulvkg6t54pp5&amp;action=dlattach;attach=3;type=avatar" alt="" />
</a>
</li>
<li class="postcount">Hozzászólások: 18</li>
<li class="profile">
<ul> <- try removing this
</ul> <- and this too
</li>
</ul>

you must fix your "li"s and "ul"s here and where the errors are indicated, throughout your code.
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

ircsiinci

  Hi aegersz !

Thanks for your helpfulness.
Yes, I understand what is wrong, but I do not know what to look for at PHP ..
Perhaps the IDEX-templaet.php in? etc ....
Have a nice day!  :)
........ Because she said it is better to give than to receive.

aegersz

sorry i can't help you further. someone will soon come along soon that knows SMF logic. i thought you may have modified it manually and now you are seeing this but yet again, i am mistaken.

i never knew that there was a W3C Markup Validation Service, so i learned something, so thank YOU !
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

ircsiinci

Even forward to help.
How do I correct errors in which php.

Thanks in advance.
........ Because she said it is better to give than to receive.

Advertisement: