Author Topic: Weather Sunset V1 - no guages  (Read 3710 times)

Offline pepperm

  • New member
  • *
  • Posts: 1
    • Loggerheads Weather
Weather Sunset V1 - no guages
« on: March 27, 2013, 06:14:44 AM »
Hi
Am new to these templates but have followed the instructions to install the Weater_sunset V1 template and eventually got things to sort of work, but I do not get any gauges. I get a HTTP Request Failed - Not Found - Retry on the page.

I am using Cumulus to update the site.

What have I missed out please?

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Sunset V1 - no guages
« Reply #1 on: March 27, 2013, 09:03:34 AM »
Hi,

You probably forgot to process gauge file

Local filename: realtimegaugesT.txt
Remote filename: realtimegauges.txt

Things will be better!

Regards,
Jacques
Please, consider supporting this site 

Offline JohnRT

  • Jr. Member
  • **
  • Posts: 17
    • Welwyn Garden City weather
Re: Weather Sunset V1 - no guages
« Reply #2 on: April 20, 2013, 05:04:28 PM »
Hi
Am new to these templates but have followed the instructions to install the Weater_sunset V1 template and eventually got things to sort of work, but I do not get any gauges. I get a HTTP Request Failed - Not Found - Retry on the page.

I'm having the same problem.
Settings are:-
/ Auto Udate
/ Enable Reatime
/ Enable Realtime FTP
Realtime.txt FTP
Realtime interval 60 secs

Cumulus has been instructed to upload three files:-
wt_data_inc.php
wt_month_inc.php and
realtimegaugesT.txt

I've now got second weather station and decided to use a different template

Gauges page at http://john-the-r-t.vacau.com/weather/ssUV_gauges.php
John the R-T

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Sunset V1 - no guages
« Reply #3 on: April 20, 2013, 05:39:51 PM »
Hi John,
Really you got the 'weather mania'... 2 stations!!  :P

I've sniffed your site and saw no 'realtimegauges.txt' file.
Verify that your local version is into same folder as other
data files (wt_*.php) as you indicate. Check that the file
is ok (not corrupted or modified), also, you could check
if file is not sent elsewhere on your site.

Best regards,
Jacques
Please, consider supporting this site 

Offline JohnRT

  • Jr. Member
  • **
  • Posts: 17
    • Welwyn Garden City weather
Re: Weather Sunset V1 - no guages
« Reply #4 on: April 21, 2013, 04:32:00 PM »

High Jacques
Long story cut short.
My Fine Offset WH1080 lost connection for a day.  I mentioned this to my son and he said that there was a weather station outside his work place.  His boss had bought it with a view to stocking and selling Oregon Scientific weather stations then decided not to bother.
My son asked if I could have it and he agreed.  As soon as I installed the WMR200 my Fine Offset regained connection.

I've sniffed your site and saw no 'realtimegauges.txt' file.
Verify that your local version is into same folder as other
data files (wt_*.php) as you indicate. Check that the file
is ok (not corrupted or modified), also, you could check
if file is not sent elsewhere on your site.


Both realtimegauges.txt and realtimegaugesT.txt were on my site.  I've deleted both, downloaded fresh copies and uploaded the to the weather folder.
All the required files are in the same folder.

I've also downloaded the Cumulus php webtags from your site.
Then deleted wt_data_inc.php and renamed wtdata_intl.php to wt_data_inc.php and deleted wt_data_month_inc.php and renamed wt_data_intl.php to wt_data_month_inc.php

My servers (website and local XAMPP) both give the following errors
Parse error: syntax error, unexpected 'h' (T_STRING) in  syntax error, unexpected 'h' (T_STRING) in wt_data_inc.php on line 421

So I've changed "h'h'nn" to "h h nn"

Parse error: syntax error, unexpected ':' in wt_month_inc.php on line 37
I've changed  "hh':'nn" to "hh:nn"

There is also a small problem with
http://john-the-r-t.vacau.com/weather/multirecords.php which I have to investigate.
Monthly and All Time pages load correctly.
John the R-T

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Sunset V1 - no guages
« Reply #5 on: April 28, 2013, 08:57:54 AM »
Hi John,

For your gauges, there is a problem with realtimegauges.txt
You could check file timestamp on your site to see if it change,
also check the file permissions to see if they are too restricted.
Finally, you could drop a line to gauges author in Cumulus Forum

For dates, you have to know how it's work a bit. The Cumulus
date format need a phrase enclosed between double quotes: ".............."
the only characters you could use are defined by Cumulus date
parameters available here.

If you want to have some text (or even spaces)  inserted between
these parameters, you have to insert it with single quotes, i.e. "hh' hours'nn' minutes' "
(that is why semi-colon need single quotes "hh':'nn")

Finally, there is a bunch of "WAMP" available and XAMPP is among
the better one as it could use many Php/MySQL versions. Check if you
have versions matching there to have the right thing!
Things are going well!  :D

Regards,
Jacques
Ps. Sorry to be late, I've not see it!  :(
Please, consider supporting this site 

Offline JohnRT

  • Jr. Member
  • **
  • Posts: 17
    • Welwyn Garden City weather
Re: Weather Sunset V1 - no guages
« Reply #6 on: April 28, 2013, 12:59:16 PM »
For your gauges, there is a problem with realtimegauges.txt
You could check file timestamp on your site to see if it change,
also check the file permissions to see if they are too restricted.

Thanks Jacques.  There certainly was a problem with realtimegauges.txt
I had uploaded notes with that title.  :-[
realtimegauges.txt permissions set to 755 and updating.

Finally, you could drop a line to gauges author in Cumulus Forum

Thanks, I'll do that.  I didn't want to do so if you knew the answer.

For dates, you have to know how it's work a bit. The Cumulus
date format need a phrase enclosed between double quotes: ".............."
the only characters you could use are defined by Cumulus date
parameters available here.

If you want to have some text (or even spaces)  inserted between
these parameters, you have to insert it with single quotes, i.e. "hh' hours'nn' minutes' "
(that is why semi-colon need single quotes "hh':'nn")

I knew most of that but when testing locally and on my website removing single quotes worked.
Apart from the gauges page all is fine.  I'll get round to putting some images of where I live eventually.

Finally, there is a bunch of "WAMP" available and XAMPP is among
the better one as it could use many Php/MySQL versions. Check if you
have versions matching there to have the right thing!
Things are going well!  :D

Ps. Sorry to be late, I've not see it!  :(

I use the latest XAMPP 1.8.1 for testing all my web pages.
No problem with being late, at 80 I've got time on my hands.
BTW I am also webmaster for http://www.ukpeoplesilversurfers.co.uk/ rewritten last year mostly in PHP so that I can add/delete pages easily.
John the R-T

Offline JohnRT

  • Jr. Member
  • **
  • Posts: 17
    • Welwyn Garden City weather
Re: Weather Sunset V1 - no guages
« Reply #7 on: April 29, 2013, 12:51:46 PM »
Finally, you could drop a line to gauges author in Cumulus Forum

Just in case you haven't seen the replies I've done that and all is now working.  My free server  000webhost.com evidently don't allow .txt files to be served.   >:(
I've changed the realtimegauges file extension to .htm and altered the gauges.js file accordingly.
John the R-T

Offline MatrixStorms

  • Jr. Member
  • **
  • Posts: 24
    • Stormsearchers
Re: Weather Sunset V1 - no guages
« Reply #8 on: May 01, 2013, 04:07:13 AM »
I'm also having the same problem i think my gauges are not showing up on my page http://www.townsvillesunsets.fhost.com.au/ss_gauges.php  :( but every thing else works on the website

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Sunset V1 - no guages
« Reply #9 on: May 01, 2013, 07:23:19 AM »
Hi Mark,

Your realtimegauges.txt file is at the right place and when passed
on your gauge page, top status line said "offline updated 2 hours ago"
so, gauges file is there, but data are at zero.

Then, verify in your Configuration --> Internet --> Files, that you
have selected option "Ftp?" for file realtimegauges.txt.

Hope this help!

Regards,
Jacques
Please, consider supporting this site 

Offline MatrixStorms

  • Jr. Member
  • **
  • Posts: 24
    • Stormsearchers
Re: Weather Sunset V1 - no guages
« Reply #10 on: May 02, 2013, 01:37:13 AM »
Ok i can see my gauges on another computer but cant see them on my computer but everythink else is ok