Page 25 of 25

Re: Cumulus PHP-GD Banner

Posted: Sun 07 Jul 2019 2:00 pm
by Mark14
To some extent, because I see a banner. It's probably not a wrong path issue.
However, on my main webpage I normally see updated data every minute: http://mark014.beep.pl

The banner is not updated on a regular basis. At the moment, I see measurements from 15 minutes ago: http://mark014.beep.pl/pogoda.php. Strange thing. I did not have such a situation so far.
It looks like the banner refreshed only every hour...

Re: Cumulus PHP-GD Banner

Posted: Sun 07 Jul 2019 9:51 pm
by beteljuice
Are you sure you don't have TWO realtime.txt ?

http://mark014.beep.pl/realtime.txt is updating correctly, but as you say the banner seems to have a different 'period'.
Why is 'realtime' an extrafile - I don't remember that, but I could be wrong :roll:

Re: Cumulus PHP-GD Banner

Posted: Mon 08 Jul 2019 3:51 pm
by mcrossley
beteljuice wrote:
Sun 07 Jul 2019 9:51 pm
Why is 'realtime' an extrafile - I don't remember that, but I could be wrong :roll:
Correct, Cumulus will upload at the realtime interval so long as you tick the option in settings, no need to add it as an extra file.

Unless you want to upload at longer than the reltime interval I guess?

Re: Cumulus PHP-GD Banner

Posted: Mon 08 Jul 2019 9:20 pm
by beteljuice
Unless you want to upload at longer than the reltime interval I guess?
That's why I wandering if there were two files in different places ....

Re: Cumulus PHP-GD Banner

Posted: Tue 09 Jul 2019 12:49 pm
by Mapantz
I had a similar problem when I first started using the banner. It's possible you may have it too.

It turned out to be a caching problem and to solve it, I added this to my .htaccess file

Code: Select all

<Files banner.php>
FileETag None
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</Files>

Re: Cumulus PHP-GD Banner

Posted: Tue 09 Jul 2019 2:51 pm
by beteljuice
Thanks mapantz - haven't seen that one before.

Does that mean the rest of 'the site' has a cache value set somewhere by hosting admin ?

Re: Cumulus PHP-GD Banner

Posted: Sun 14 Jul 2019 11:49 am
by Mark14
mcrossley wrote:
Mon 08 Jul 2019 3:51 pm
Correct, Cumulus will upload at the realtime interval so long as you tick the extrafile in settings, no need to add it as an extra file.

Unless you want to upload at longer than the reltime interval I guess?
No I want to upload the realtime file every 50 secs.

Maybe I put the extrafile when I had previous problems with paths. But I deleted the option and now it works. Thank you for your help.