Author Topic: Problem with wxwugraphs.php. Interactive graphics of Wunderground  (Read 697 times)

0 Members and 1 Guest are viewing this topic.

Offline meteocaianello

  • Member
  • *
  • Posts: 20
    • Stazione Meteo Caianello
Why??
This is a page:
http://meteocaianello.altervista.org/wxwugraphs.php
Help me :(
Thank you,
Umberto :)

Offline MackerelSky

  • Contributor
  • ***
  • Posts: 113
    • McKean County Weather, Smethport Pa.
Re: Problem with wxwugraphs.php. Interactive graphics of Wunderground
« Reply #1 on: July 24, 2014, 02:33:38 AM »
Why??

How about 63 errors and 25 warnings within your Html and they have nothing to do with the script you are trying to get working.

http://meteocaianello.altervista.org/wxnewpage.php

You can not keep producing these pages and then asking people to help unless you stop and help yourself. Click on that link 'verify XHTML'  in your footer from that page and start working on those problems.

Then when you want to add a new script you at least have one page that works correctly.
Sorry if I sound mean but these errors and such should not be ignored

Brad

« Last Edit: July 24, 2014, 02:35:21 AM by MackerelSky »
Mckean County Weather
Located on upper Marvin Creek
https://mckeanweather.com/
Davis VP2 + fars
Cumulus 1.9.4-b1092

 

Offline meteocaianello

  • Member
  • *
  • Posts: 20
    • Stazione Meteo Caianello
Re: Problem with wxwugraphs.php. Interactive graphics of Wunderground
« Reply #2 on: July 24, 2014, 05:14:21 PM »
Why??

How about 63 errors and 25 warnings within your Html and they have nothing to do with the script you are trying to get working.

http://meteocaianello.altervista.org/wxnewpage.php

You can not keep producing these pages and then asking people to help unless you stop and help yourself. Click on that link 'verify XHTML'  in your footer from that page and start working on those problems.

Then when you want to add a new script you at least have one page that works correctly.
Sorry if I sound mean but these errors and such should not be ignored

Brad

Ciao Brad,
for example:
Code: [Select]
Error Line 144, Column 6: document type does not allow element "head" here
<head>

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).

How can fix this error?
How is it the correct syntax of "head" ??
Bye,
Umberto

 

anything