Topic-icon SOLVED - HTML FAIL on Remote Error Check

Active Subscriptions:

None
8 years 9 months ago #62507 by gham
I'm getting a FAIL on the Checking HTML structure via the Remote Error Check: "There were more than one <head> or <body> tags on the page..."

Other than within embedded iFrames, I'm unable to find duplicate/extraneous <head> or <body> tag(s) within the source as generated by Joomla! 3.7.5 install. I believe the error real but am clueless as to how to find/fix it. Any help/suggestions would be muchly appreciated.
The topic has been locked.
Active Subscriptions:

None
8 years 9 months ago #62508 by gham
BTW: I assumed that the above issue was causing the problem I'm having:

When I enable FB Like/Share via the JFBConnect > Social configuration panel, the respective buttons are not rendered/displayed on all but a few pages on the site but, where they DO render/display is within 3 duplicate versions of the same article recursively generated, on after the other, about half-way thru the article, and the (enclosing-actual) article does not render/display the social buttons.

I've tried wiping my JFBConnect installation and the accompanying "experimental" modules and default plugins and reinstalled but the same issue persists upon configuring/activating the Facebook content plugin.
The topic has been locked.
Support Specialist
8 years 9 months ago #62510 by alzander
If you view the raw HTML of your home page, around line 260 is the following code:
                                <div class="tm-block-bottom">

                    
                                        <section class="tm-bottom-c uk-grid tm-grid-block" data-uk-grid-match="{target:'> div > .uk-panel'}">
<div class="uk-width-1-1"><div class="uk-panel">
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
</head>
<body>
<div class="uk-grid">
<div class="uk-width-1-1 uk-width-medium-2-3">
<ul class="uk-subnav uk-subnav-line tm-subnav">
<li><a href="/index.php/site-privacy" title="Privacy Policy">Privacy Policy</a></li>
<li><a href="/index.php/site-disclaimer" title="Disclaimer">Disclaimer</a></li>
<li><a href="/home/terms-of-use" title="Terms of Use">Terms of Use</a></li>
</ul>
</div>
<div class="uk-width-1-1 uk-width-medium-1-3">
That's basically starting a new 'page' within the page, and it's invalid HTML markup.

I'm unsure what's causing that extra block of code, but you'll need to investigate so it can be fixed. It's very possible these duplicate head and body blocks are causing the issue you describe, but repeated head/body blocks can cause many other problems with browsers and search engines either way and should be fixed.

I hope that helps narrow things down.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
8 years 9 months ago - 8 years 9 months ago #62512 by gham
x
Last edit: 8 years 9 months ago by gham.
The topic has been locked.