• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Stray start tag, Template problems

Explorer ,
Sep 10, 2018 Sep 10, 2018

Copy link to clipboard

Copied

Hi there, I'm having an issue with my website. I was running it through the W3 validator and cleaning off all errors, I managed to fix all of the errors on my site (excluding the temporary <br> tags I intend to replace out with margins), except for this one.

  1. Error: Stray start tag script.From line 363, column 21; to line 363, column 28nceEnd --><script>'undef

Now this error leads one to believe that there is content placed somewhere between the </body> and the </html>, and if you look at the coding for the index.html, it is:

</table>

</div>

</body>

<!-- InstanceEnd --></html>

But it isn't in the template:

</table>

</div>

</body>

</html>

Now here's the thing, that <!-- InstanceEnd --> is part of the closing tag of the template I'm using on my site, and when applying the template to any of my pages, it automatically throws that <!-- InstanceEnd --> in between my </body> and </html>, which I assume is giving me the above error (I assume).

If that is the problem, how do I fix it so that it doesn't keep lodging itself between the closing body tag and the closing html tag? If that's not the problem, where should I direct my attention in the coding to fix this last error?

As always, any and all help is greatly appreciated.

Here is the website:

Hydraforge


I'm also aware the footer isn't centered, I'm still working on it.

Views

5.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Sep 10, 2018 Sep 10, 2018

Per the note within the code, you need to talk to your hosting company and opt out...

"// Monitoring performance to make your website faster. If you want to opt-out, please contact web hosting support."

Votes

Translate

Translate
Community Expert ,
Sep 10, 2018 Sep 10, 2018

Copy link to clipboard

Copied

In the code on the actual page you've linked to, there is a <script> tagset being injected between the ending </body> and </html> tags. Here's the code from the page on the server when I view source in my browser...

</body>
<!-- InstanceEnd --><script>'undefined'=== typeof _trfq || (window._trfq = []);'undefined'=== typeof _trfd && (window._trfd=[]),_trfd.push({'tccl.baseHost':'secureserver.net'}),_trfd.push({'ap':'cpsh'},{'server':'a2plcpnl0775'}) // Monitoring performance to make your website faster. If you want to opt-out, please contact web hosting support.</script><script src='https://img1.wsimg.com/tcc/tcc_l.combined.1.0.6.min.js'></script></html>

That looks like a tracking script is being added by your hosting company.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 10, 2018 Sep 10, 2018

Copy link to clipboard

Copied

That's strange... Is there anyway to stop that from being added in automatically?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 10, 2018 Sep 10, 2018

Copy link to clipboard

Copied

Per the note within the code, you need to talk to your hosting company and opt out...

"// Monitoring performance to make your website faster. If you want to opt-out, please contact web hosting support."

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 10, 2018 Sep 10, 2018

Copy link to clipboard

Copied

Ah, I didn't even see that part. Thanks! I'll have to give them a call later today if that's the case.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 10, 2018 Sep 10, 2018

Copy link to clipboard

Copied

Is your host GoDaddy? 

Personally, I don't appreciate hosts who push their own products on people without seeking permission first.

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 10, 2018 Sep 10, 2018

Copy link to clipboard

Copied

It is, from what I remember this is the first time they forced their own snippet of coding into one of my websites, so this is kind of a surprise. I also don't appreciate that they did that.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 10, 2018 Sep 10, 2018

Copy link to clipboard

Copied

LATEST

Looks like it. GD is mentioned in the script itself.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines