Really dont know what happen with this file, because, i can see realtime.txt is updatingbeteljuice wrote:What's happened to your realtime.txt ?
This is where banner.php is looking, but it's empty http://climaguayana.comuv.com/realtime.txt
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Cumulus PHP-GD Banner
Moderator: daj
-
- Posts: 19
- Joined: Thu 04 Jul 2013 4:13 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: Windows 7
- Location: Ciudad Guayana, Venezuela
Re: Cumulus PHP-GD Banner
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Cumulus PHP-GD Banner
No it isn't - or at least not where you've told your scripts to look.
Your main site ajax calls which you have set to every 5s are failing too.
Your main site ajax calls which you have set to every 5s are failing too.
......................Imagine, what you will KNOW tomorrow !
-
- Posts: 19
- Joined: Thu 04 Jul 2013 4:13 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: Windows 7
- Location: Ciudad Guayana, Venezuela
Re: Cumulus PHP-GD Banner
How do you see that?beteljuice wrote:No it isn't - or at least not where you've told your scripts to look.
Your main site ajax calls which you have set to every 5s are failing too.
-
- Posts: 274
- Joined: Tue 28 May 2013 1:06 am
- Weather Station: Davis VP2 Plus
- Operating System: Raspian Buster (RPi 3b)
- Location: Tulsa, OK
Re: Cumulus PHP-GD Banner
the ajaxCUwx.js file is readable.josecmorales wrote:How do you see that?beteljuice wrote:No it isn't - or at least not where you've told your scripts to look.
Your main site ajax calls which you have set to every 5s are failing too.
- beteljuice
- Posts: 3292
- Joined: Tue 09 Dec 2008 1:37 pm
- Weather Station: None !
- Operating System: W10 - Threadripper 16core, etc
- Location: Dudley, West Midlands, UK
Re: Cumulus PHP-GD Banner
I have the FireBug plug-in for FireFox.
You can see all 'calls' / responses / headers / and their load times, together with all the javascript calls / variables / browser window variables / css stlye sheets, etc. etc.
Invaluable when you get serious about (debugging) coding
'Console' view is a good start ...
You can see all 'calls' / responses / headers / and their load times, together with all the javascript calls / variables / browser window variables / css stlye sheets, etc. etc.
Invaluable when you get serious about (debugging) coding
'Console' view is a good start ...
......................Imagine, what you will KNOW tomorrow !
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Cumulus PHP-GD Banner
Also in chrome
Failed to load resource http://je.revolvermaps.com/2/1.js?i=4rs ... e&c=ff0000
Failed to load resource: the server responded with a status of 404 (Not Found) http://climaguayana.comuv.com/realtime. ... 3048630859
Failed to load resource: the server responded with a status of 404 (Not Found) http://climaguayana.comuv.com/realtime. ... 3048635863
GET http://climaguayana.comuv.com/realtime. ... 3048640864 404 (Not Found) ajaxCUwx.js:946
GET http://climaguayana.comuv.com/realtime. ... 3048645866 404 (Not Found) ajaxCUwx.js:946
GET http://climaguayana.comuv.com/realtime. ... 3048650866 404 (Not Found) ajaxCUwx.js:946
so the site isn't updated in realtime
Failed to load resource http://je.revolvermaps.com/2/1.js?i=4rs ... e&c=ff0000
Failed to load resource: the server responded with a status of 404 (Not Found) http://climaguayana.comuv.com/realtime. ... 3048630859
Failed to load resource: the server responded with a status of 404 (Not Found) http://climaguayana.comuv.com/realtime. ... 3048635863
GET http://climaguayana.comuv.com/realtime. ... 3048640864 404 (Not Found) ajaxCUwx.js:946
GET http://climaguayana.comuv.com/realtime. ... 3048645866 404 (Not Found) ajaxCUwx.js:946
GET http://climaguayana.comuv.com/realtime. ... 3048650866 404 (Not Found) ajaxCUwx.js:946
so the site isn't updated in realtime
-
- Posts: 19
- Joined: Thu 04 Jul 2013 4:13 pm
- Weather Station: Davis Vantage Pro 2
- Operating System: Windows 7
- Location: Ciudad Guayana, Venezuela
-
- Posts: 5
- Joined: Sun 16 Jun 2013 4:53 pm
- Weather Station: Davis Vantage Pro 2 Plus
- Operating System: Windows 10 & Linux Mint 18.1
- Location: Porlock, Somerset
- Contact:
Re: Cumulus PHP-GD Banner
Hello,
Thank you for your efforts with this banner / avatar maker.
I have managed to modify the basic bits to output personalised data from my weather station. As a newbie to web coding / php etc, I'm rather pleased with myself
I would like to make the avatar to be clickable, linking to my weather site. How can I modify the script so that the output image is a clickable one?
If that is not possible, how can I make my site address a hyperlink in the script?
Sorry if this is a dull question..... I am learning, albeit slowly!!
Thanks for any advice you may have.
Thank you for your efforts with this banner / avatar maker.
I have managed to modify the basic bits to output personalised data from my weather station. As a newbie to web coding / php etc, I'm rather pleased with myself
I would like to make the avatar to be clickable, linking to my weather site. How can I modify the script so that the output image is a clickable one?
If that is not possible, how can I make my site address a hyperlink in the script?
Sorry if this is a dull question..... I am learning, albeit slowly!!
Thanks for any advice you may have.
After all is said and done... a lot more will be said, than done...
(Grant A.C. Dennis)
(Grant A.C. Dennis)
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Cumulus PHP-GD Banner
You don't change the script, you change the code where you use it. So, on the forum, where you currently havefisherman3408 wrote:I would like to make the avatar to be clickable, linking to my weather site. How can I modify the script so that the output image is a clickable one?
Code: Select all
[img]http://www.porlockweather.co.uk/avatarpw.php[/img]
Code: Select all
[url=http://www.porlockweather.co.uk/][img]http://www.porlockweather.co.uk/avatarpw.php[/img][/url]
Code: Select all
<a href="http://www.porlockweather.co.uk/"><img src="http://www.porlockweather.co.uk/avatarpw.php"></a>
Steve
-
- Posts: 5
- Joined: Sun 16 Jun 2013 4:53 pm
- Weather Station: Davis Vantage Pro 2 Plus
- Operating System: Windows 10 & Linux Mint 18.1
- Location: Porlock, Somerset
- Contact:
Re: Cumulus PHP-GD Banner
Many thanks Steve, I have learnt a bit more. Every day is a school day!
Kind regards.
That's better!!
Kind regards.
That's better!!
After all is said and done... a lot more will be said, than done...
(Grant A.C. Dennis)
(Grant A.C. Dennis)
-
- Posts: 5
- Joined: Sun 08 Sep 2013 2:33 pm
- Weather Station: fine offset 3080
- Operating System: Win 7
- Location: Greece , Athens
Re: Cumulus PHP-GD Banner
Hello ,
everything fine http://anoliosia.meteoclub.gr/banner.php but when i'm writing the site name
($SITE['sitename'] = "Ano Liosia ,GR ";) i'm loosing the banner.
I have the same http://mesochoria.meteoclub.gr/banner.php and its ok ..
What i do wrong ?
thanks
Thomas
everything fine http://anoliosia.meteoclub.gr/banner.php but when i'm writing the site name
($SITE['sitename'] = "Ano Liosia ,GR ";) i'm loosing the banner.
I have the same http://mesochoria.meteoclub.gr/banner.php and its ok ..
What i do wrong ?
thanks
Thomas
-
- Posts: 152
- Joined: Mon 03 Feb 2014 12:22 pm
- Weather Station: ws 2350
- Operating System: windows xp sp3
- Location: Europe
Re: Cumulus PHP-GD Banner
I really don't understand this.....I did everything I need to. Made a folder named "test page" with file in it (banner.php) and when I open that page I only have a picture with some text on it without any data. I made a path to realtime.text which is placed in "weather" folder (/public_html/weather).
In error log stands next:
[20-Feb-2014 10:44:07 UTC] PHP Warning: fopen(./realtime.txt): failed to open stream: No such file or directory in /home/sibeniku/public_html/test2/banner.php on line 336
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 98 in /home/sibeniku/public_html/test2/banner.php on line 178
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 1 in /home/sibeniku/public_html/test2/banner.php on line 184
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 38 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 39 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 2 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 14 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 3 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 4 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 14 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 11 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 5 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 13 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 6 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 13 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 9 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 9 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 16 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 10 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 15 in /home/sibeniku/public_html/test2/banner.php on line 531
So, It seems that a php search a realtime.txt in "test2/banner page?
Why is that and what I have done wrong?
I have Cumulus web page and gauges ss and everything works nice....
Thanks
In error log stands next:
[20-Feb-2014 10:44:07 UTC] PHP Warning: fopen(./realtime.txt): failed to open stream: No such file or directory in /home/sibeniku/public_html/test2/banner.php on line 336
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 98 in /home/sibeniku/public_html/test2/banner.php on line 178
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 1 in /home/sibeniku/public_html/test2/banner.php on line 184
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 38 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 39 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 2 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 14 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 3 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 4 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 14 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 11 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 5 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 13 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 6 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 13 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 9 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 9 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 16 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 10 in /home/sibeniku/public_html/test2/banner.php on line 531
[20-Feb-2014 10:44:07 UTC] PHP Notice: Undefined offset: 15 in /home/sibeniku/public_html/test2/banner.php on line 531
So, It seems that a php search a realtime.txt in "test2/banner page?
Why is that and what I have done wrong?
I have Cumulus web page and gauges ss and everything works nice....
Thanks
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Cumulus PHP-GD Banner
It's looking there for it because that's where you have told it to find it.mm23 wrote:So, It seems that a php search a realtime.txt in "test2/banner page?
Why is that and what I have done wrong?
$SITE['hloc'] = "./";
You need to change that path so it points to the correct directory.
You probably need:
$SITE['hloc'] = "../weather";
Steve
-
- Posts: 152
- Joined: Mon 03 Feb 2014 12:22 pm
- Weather Station: ws 2350
- Operating System: windows xp sp3
- Location: Europe
Re: Cumulus PHP-GD Banner
..........Yes I did it, but does not help. I spent hours on this issue........I am desparate
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Cumulus PHP-GD Banner
It's hard to help without any information. Just saying "it does not help" isn't useful. Presumably something changed, because the error message must at least be different. A link to the banner.php on your web site would be a good start!
Steve