cloudy

Author Topic: WU Graphs 1.8.0  (Read 68869 times)

0 Members and 1 Guest are viewing this topic.

Offline iszatso

  • Posts: 157
  • Oakland, CA.
    • iszatso
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 18.0.1025.162
    • Eastmont Hills
Re: WU Graphs 1.8.0
« Reply #675 on: April 26, 2012, 04:25:23 AM »
Further investigation of problem. I'm using chrome for the 406 error. Explorer at least i get a list of graphs, but not graphs, clicking on link in  list a "not found" is displayed. This seems browser related and not something i have done. In reading thru the posts the 406 problem comes up for some with no easy fix.

p.

Offline RAD-X

  • Posts: 253
  • Hovezi, Czech Republic
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 12.0
    • Pocasi Hovezi
Re: WU Graphs 1.8.0, was working fine, but now...
« Reply #676 on: April 26, 2012, 10:01:38 PM »
Had wu graphs working fine on my site using iszatso.net/weather/wxwugraphs.php.

until i surfed to the  steel gauges graphs, (uses jgraph also) and then it stopped working as above. Funny thing is iszatso.net/weather/wugraphs.php still works but much prefer the wxwu inpage version. Are the steel gauges graphs interfering? What to do to fix it? And can I run both graphs steel gauges and wu graphs on same site? How to fix?

BRGDS,

patrick
This is your bad configuration.
I see that you configured "Include jQuery" to "No" but your pages not including jQuery script so this must be set to "Yes".

Regards,
Radek
Radek
Weather Hovezi | WU graphs | DONATE
Yes. My English is bad. But the effort is appreciated. :happy8:

Offline iszatso

  • Posts: 157
  • Oakland, CA.
    • iszatso
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 18.0.1025.162
    • Eastmont Hills
Re: WU Graphs 1.8.0
« Reply #677 on: April 27, 2012, 12:02:16 AM »
Changed it as suggested, no change in behavior of graphs. TIA,

BRGDS,

patrick

Offline RAD-X

  • Posts: 253
  • Hovezi, Czech Republic
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 12.0
    • Pocasi Hovezi
Re: WU Graphs 1.8.0
« Reply #678 on: April 27, 2012, 06:16:14 AM »
Nope, now i see graph. But now you don't using css for jQuery tabs. Please set "Include Tabs CSS" to "Yes".
BTW: Why you changing this settings. Did you read notes about this settings? :)

Changed it as suggested, no change in behavior of graphs. TIA,

BRGDS,

patrick
« Last Edit: April 27, 2012, 10:45:07 AM by RAD-X »
Radek
Weather Hovezi | WU graphs | DONATE
Yes. My English is bad. But the effort is appreciated. :happy8:

Offline Koen De Vuyst

  • Posts: 262
  • Belgium
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Weather station Mechelen, Belgium - Weerstation Mechelen, België
Re: WU Graphs 1.8.0
« Reply #679 on: July 08, 2012, 03:57:48 PM »
Hi all!

I just tried the script. The only things that works is the hourly graphs.  All the other graphs have a vertical line, that's all.  Something familiar?  Did I do something wrong?  The text files in the cache dir are ok, these are succesfully downloaded from Wunderground.com

The link is: http://www.weerstationmechelen.be/wu_grafieken/wugraphs.php

Regards,

Koen
Koen De Vuyst

Windows XP Pro - Intel i5 750 2.8 MHz
Vantage Pro Plus 2 - Fan Aspirated
Weather station Mechelen, Belgium - Weerstation Mechelen, België

Offline RAD-X

  • Posts: 253
  • Hovezi, Czech Republic
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Pocasi Hovezi
Re: WU Graphs 1.8.0
« Reply #680 on: July 08, 2012, 06:33:32 PM »
Hi all!

I just tried the script. The only things that works is the hourly graphs.  All the other graphs have a vertical line, that's all.  Something familiar?  Did I do something wrong?  The text files in the cache dir are ok, these are succesfully downloaded from Wunderground.com

The link is: http://www.weerstationmechelen.be/wu_grafieken/wugraphs.php

Regards,

Koen
Hard to say where is problem. Please specify more information about your server. Linux? Windows? PHP version?
Radek
Weather Hovezi | WU graphs | DONATE
Yes. My English is bad. But the effort is appreciated. :happy8:

Offline Koen De Vuyst

  • Posts: 262
  • Belgium
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Weather station Mechelen, Belgium - Weerstation Mechelen, België
Re: WU Graphs 1.8.0
« Reply #681 on: July 08, 2012, 07:08:42 PM »
Hi,

I have a Linux server, PHP version 5.1.2
If you need some more information, let me know.

Regards,

Koen
Koen De Vuyst

Windows XP Pro - Intel i5 750 2.8 MHz
Vantage Pro Plus 2 - Fan Aspirated
Weather station Mechelen, Belgium - Weerstation Mechelen, België

Offline RAD-X

  • Posts: 253
  • Hovezi, Czech Republic
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Pocasi Hovezi
Re: WU Graphs 1.8.0
« Reply #682 on: July 09, 2012, 07:02:39 AM »
Hi,

I have a Linux server, PHP version 5.1.2
If you need some more information, let me know.

Regards,

Koen
Please download, unpack attached file, then upload unpacked PHP file to your website.
Then send me URL to this PHP file.
Radek
Weather Hovezi | WU graphs | DONATE
Yes. My English is bad. But the effort is appreciated. :happy8:

Offline Koen De Vuyst

  • Posts: 262
  • Belgium
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Weather station Mechelen, Belgium - Weerstation Mechelen, België
Re: WU Graphs 1.8.0
« Reply #683 on: July 09, 2012, 06:42:35 PM »
Ok thanks!

The link is: http://www.weerstationmechelen.be/wu_grafieken/strtotime-test.php

I think the first line is not what it meant to be...

Regards,

Koen
Koen De Vuyst

Windows XP Pro - Intel i5 750 2.8 MHz
Vantage Pro Plus 2 - Fan Aspirated
Weather station Mechelen, Belgium - Weerstation Mechelen, België

Offline RAD-X

  • Posts: 253
  • Hovezi, Czech Republic
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Pocasi Hovezi
Re: WU Graphs 1.8.0
« Reply #684 on: July 09, 2012, 07:19:51 PM »
Ok thanks!

The link is: http://www.weerstationmechelen.be/wu_grafieken/strtotime-test.php

I think the first line is not what it meant to be...

Regards,

Koen
Hi Koen,

yes it is as I think. Problem with function strtotime - a little atypical formating for date string can cause this problem on some servers (probably depends on locale settings).
I fixed this and fix is in attachment (download, unpack and overwrite files on your website).
Update: Also is needed to clear cache using configurator.php.

Regards,
Radek

Note: this fix is intended for WU Graphs version 1.8.0 only!
Use only if you have problems with WU Graphs (one centered vertical line in day,month and year graphs if is used Wunderground as data source) otherwise not needed.
« Last Edit: July 09, 2012, 07:52:25 PM by RAD-X »
Radek
Weather Hovezi | WU graphs | DONATE
Yes. My English is bad. But the effort is appreciated. :happy8:

Offline Koen De Vuyst

  • Posts: 262
  • Belgium
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Weather station Mechelen, Belgium - Weerstation Mechelen, België
Re: WU Graphs 1.8.0
« Reply #685 on: July 09, 2012, 07:35:00 PM »
Great!  It works!  You're the best! Thanks for adding the fix!

Regards,

Koen
Koen De Vuyst

Windows XP Pro - Intel i5 750 2.8 MHz
Vantage Pro Plus 2 - Fan Aspirated
Weather station Mechelen, Belgium - Weerstation Mechelen, België

Offline RAD-X

  • Posts: 253
  • Hovezi, Czech Republic
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 13.0.1
    • Pocasi Hovezi
Re: WU Graphs 1.8.0
« Reply #686 on: July 09, 2012, 07:42:51 PM »
Great!  It works!  You're the best! Thanks for adding the fix!

Regards,

Koen

Glad to hear it.
Have a nice rest of night. :)

Radek
Radek
Weather Hovezi | WU graphs | DONATE
Yes. My English is bad. But the effort is appreciated. :happy8:

Offline stewart45

  • Blue
  • Posts: 665
  • Things are never as bad as you think they are
  • Cleveland UK
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 14.0.1
    • Newlands weather Station
Re: WU Graphs 1.8.0
« Reply #687 on: August 03, 2012, 07:03:45 AM »
any reason why the month graph is telling me there is insufficient data, or will it only show full months data and not progressively 

Offline RAD-X

  • Posts: 253
  • Hovezi, Czech Republic
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 14.0.1
    • Pocasi Hovezi
Re: WU Graphs 1.8.0
« Reply #688 on: August 03, 2012, 08:45:33 AM »
any reason why the month graph is telling me there is insufficient data, or will it only show full months data and not progressively
Hi stewart,
this is normal if you use a wunderground data source.
Wunderground genereating monthly data with few days delay, so if is now 3. August, it is calculated 0 or 1 day (mostly), therefore is displayed message "There is not enough data for this period yet. Please, choose another month."
You can check this on wunderground history page for you weather station - see: http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=ICLEVELA4&day=3&year=2012&month=8&graphspan=month
If you do not want problems with wunderground, you can use a MySQL datasource, which also support more measured weather values.
Radek
Weather Hovezi | WU graphs | DONATE
Yes. My English is bad. But the effort is appreciated. :happy8:

Offline RAD-X

  • Posts: 253
  • Hovezi, Czech Republic
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 14.0.1
    • Pocasi Hovezi
Re: WU Graphs 1.8.0
« Reply #689 on: August 03, 2012, 12:14:34 PM »
Hi stewart,
this is normal if you use a wunderground data source.
Wunderground.com genereating monthly data with few days delay, so if is now 3. August, it is calculated 0 or 1 day (mostly), therefore is displayed message "There is not enough data for this period yet. Please, choose another month."
You can check this on wunderground history page for you weather station - see: http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=ICLEVELA4&day=3&year=2012&month=8&graphspan=month
If you do not want problems with wunderground, you can use a MySQL datasource, which also support more measured weather values.
Radek
Weather Hovezi | WU graphs | DONATE
Yes. My English is bad. But the effort is appreciated. :happy8: