Web page time not updating properly

Recently, when looking at my web page the time does not update every 10 seconds like it used to. The count continues to go up.

Normally every 10 seconds, I see the screen flash green along with the counter going to zero. Now it flashes green but the time is just hh:mm vs hh:mm:ss

While I have been having issues with the Mac itself, I have not made any changes to the PHP nor any updates to WD. I do see the upload in the ftp log every 10 seconds and text tags on my hosting site is updating every 10 seconds.

Nothing urgent, just curious

Can we have the URL?

looks like the ajaxWDwx.js script is not working should be seeing the realtime data which status page shows as updating
his site is DeputyDawgWx - Home

DANG i’m sorry for not including the URL sorry

Is this a script I can just download and replace or does it need to be customized?

Thanks

The ajaxWDwx.js is part of the standard dashboard download lines 52 to 78 will need customising especially the path to the clientraw file line 57

If you put it in your profile you don’t have to type it every time :wink:

In addition to what hcorrin said,
In your testtags.php the time of next update is empty.

$wdversion = '10.37Mac' . '-(b' . '407' . ')';	// Weather Display version number you are running
$wdversiononly = '10.37Mac';
$wdbuild   = '407';       // Weather Display build number you are running
$noaacityname =  'Atlanta';	// City name,from the noaa setup (in the av/ext setup)
// 
$timeofnextupdate =  '---';	// Time of next Update/Upload of the weather data to your web page (based on the web table update 
// 
$heatcolourword =  '---';	// How hot/cold it feels at the moment, based on the humidex, used with the conditionscolour.jpg 
// 

This is set by the “Internet and File Creation Setup” item #1. Check the file create times there without regard to how often it get uploaded.
Jim

THanks, this is nothing I would have changed. However, confirming this is what you mean? If so how do I change this to every 10 seconds - the earliest is 5 minutes. I thought the 10 second interval got set somewhere else.

Thanks


In the ajaxWD file here is a screenshot of the lines mentioned
how did line 57 get changed?
The others Im guessing make sure they look like this?

SORRY guys.. not the greatest at this.

When I look at the ajaxwd file on the carterlake site lines 57-78 are the same. So i’m not sure what to change

Yes, that sets the time of the testtags.php next upload. clientraw upload time is in Control Panel->Web Files/Web Page Setup->Real time clientraw upload.

Jim

Thanks, I had to find that in the mac version (which is radically different). Having said that it is set to 10 seconds.

Looks like you have it working
The line 57 would only need changing if the clientraw and Ajax files were not in the same folders in your case they are all in the root folder so the line 57 can be left as is

Don;t ask how but it works now !!

Thanks everyone

You are updating now but this too will be fixed if you fix that which is shown above.

Jim

P.S. 5 minutes is fine for that one.