Page 2 of 2

Re: Banner.php freezing

Posted: Wed 14 Dec 2022 12:11 pm
by bobm
Try this....

Re: Banner.php freezing

Posted: Wed 14 Dec 2022 12:42 pm
by HansR
OK. Downloaded and read it. 14/12/22 01:16h is in it so if there is something to see it should be there.
I have no idea how a (the) banner works or what its name is so I l eave the rest to somebody more knowledgeable 8-)

Re: Banner.php freezing

Posted: Wed 14 Dec 2022 3:33 pm
by PaulMy
Hi,
Your screen capture attached indicates that both realtime.txt and realtimegauges.txt may not be updating at the time. I believe realtime.txt is used for the banner. And the MXDiags has:

Code: Select all

2022-12-14 01:17:30.949 Realtime[183]: Uploading - realtime.txt
2022-12-14 01:17:30.965 FTP[183]: Uploading realtime.txt to weather/realtime.txttmp
2022-12-14 01:17:31.039 FTP[183]: Error uploading realtime.txt to weather/realtime.txt : Error while uploading the file to the server. See InnerException for more info.
2022-12-14 01:17:31.039 FTP[183]: Inner Exception: Can't open that file: No such file or directory; Rename/move failure: No such file or directory
2022-12-14 01:17:31.039 Realtime[183]: Uploading - realtimegauges.txt
2022-12-14 01:17:31.053 FTP[183]: Uploading web\realtimegauges.txt to weather/realtimegauges.txttmp
2022-12-14 01:17:31.131 FTP[183]: Error uploading web\realtimegauges.txt to weather/realtimegauges.txt : Error while uploading the file to the server. See InnerException for more info.
2022-12-14 01:17:31.131 FTP[183]: Inner Exception: Can't open that file: No such file or directory; Rename/move failure: No such file or directory
2022-12-14 01:17:31.131 Realtime[183]: End cycle
However realtime.txt is current now https://www.mbob.co.uk/weather/realtime.txt and so is your banner https://www.mbob.co.uk/weather/banner.php

Sorry can't help on that FTP error.

Enjoy,
Paul

Re: Banner.php freezing

Posted: Wed 14 Dec 2022 3:44 pm
by rogerthn
Yes Paul, realtime.txt is used
From banner.php version 3.0 Released Oct 19th, 2008

Code: Select all

$SITE['datafile']       = "realtime.txt";

Re: Banner.php freezing

Posted: Wed 14 Dec 2022 4:50 pm
by philpugh
A stab in the dark! Is your PC reporting any disc problems? It may be worth running a disk check to see if there are any issues with it. It would be unusual in this day and age but not unknown.

Re: Banner.php freezing

Posted: Thu 15 Dec 2022 9:11 am
by bobm
Always worth a try.

Ran it last night with no issues reported however.