Author Topic: Timestamp Will Not Display  (Read 2194 times)

0 Members and 1 Guest are viewing this topic.

Offline Breezy

  • Indian Trail Weather
  • Forecaster
  • *****
  • Posts: 325
    • Indian Trail Weather
Timestamp Will Not Display
« on: August 01, 2015, 02:49:24 PM »
Running GR3 Version 2.21. My "timestamp.php" was displaying fine running GR3 Version 2.18 with Allison placefiles. However I accidentally deleted the placefile from the GR3 Placefile Manager when I deleted the Allison House placefiles and replaced them with Josh 3D placefiles. I re-entered the "timestamp.php" placefile but it will not show on the GR3 radar display. I get an error "Line - 12: unknown keyword".

http://indiantrailweather.com/timestamp.php

 Any ideas? I'm really stumped   ](*,)

Thanks.

Jeff
Jeff

W7-64, Intel Z170A 16 GB RAM
Davis VP2 Plus, Davis Soil Moisture/Temp Sensors, Laser Snow Depth Sensor LR4/Fluke 414D

Offline jmcmurry

  • Jim McMurry
  • Forecaster
  • *****
  • Posts: 528
  • Davis Vantage Pro 2 Plus Wireless.
    • Juneau County Weather
Re: Timestamp Will Not Display
« Reply #1 on: August 01, 2015, 04:44:53 PM »
Try setting your timezone with the date_default_timezone_set() function at the beginning of the script and that should get rid of the error.  After that, ???.

- Jim

Forum Search and Google Can be Your Best Friends

Offline Breezy

  • Indian Trail Weather
  • Forecaster
  • *****
  • Posts: 325
    • Indian Trail Weather
Re: Timestamp Will Not Display
« Reply #2 on: August 01, 2015, 07:53:25 PM »
Jim, I've tried it 2 or 3 places at the beginning but no go.

Jeff
Jeff

W7-64, Intel Z170A 16 GB RAM
Davis VP2 Plus, Davis Soil Moisture/Temp Sensors, Laser Snow Depth Sensor LR4/Fluke 414D

Offline jmcmurry

  • Jim McMurry
  • Forecaster
  • *****
  • Posts: 528
  • Davis Vantage Pro 2 Plus Wireless.
    • Juneau County Weather
Re: Timestamp Will Not Display
« Reply #3 on: August 01, 2015, 08:32:12 PM »
Did you set it for your timezone, I think probably

date_default_timezone_set("America/New_York");

somewhere prior to line 19?

Otherwise you may want to post the whole script.

- Jim


Forum Search and Google Can be Your Best Friends

Offline Breezy

  • Indian Trail Weather
  • Forecaster
  • *****
  • Posts: 325
    • Indian Trail Weather
Re: Timestamp Will Not Display
« Reply #4 on: August 01, 2015, 08:49:50 PM »
No go. The script is attached ...

Jeff
Jeff

W7-64, Intel Z170A 16 GB RAM
Davis VP2 Plus, Davis Soil Moisture/Temp Sensors, Laser Snow Depth Sensor LR4/Fluke 414D

Offline jmcmurry

  • Jim McMurry
  • Forecaster
  • *****
  • Posts: 528
  • Davis Vantage Pro 2 Plus Wireless.
    • Juneau County Weather
Re: Timestamp Will Not Display
« Reply #5 on: August 01, 2015, 09:29:33 PM »
Jeff,

See if this will work.

- Jim

Forum Search and Google Can be Your Best Friends

Offline Breezy

  • Indian Trail Weather
  • Forecaster
  • *****
  • Posts: 325
    • Indian Trail Weather
Re: Timestamp Will Not Display
« Reply #6 on: August 01, 2015, 09:48:17 PM »
No go ... Thanks for all of your time ... Maybe tomorrow will be a more successful day ...

Jeff
Jeff

W7-64, Intel Z170A 16 GB RAM
Davis VP2 Plus, Davis Soil Moisture/Temp Sensors, Laser Snow Depth Sensor LR4/Fluke 414D

Offline jmcmurry

  • Jim McMurry
  • Forecaster
  • *****
  • Posts: 528
  • Davis Vantage Pro 2 Plus Wireless.
    • Juneau County Weather
Re: Timestamp Will Not Display
« Reply #7 on: August 01, 2015, 10:00:23 PM »
Jeff,

I found another problem in there, so try this one.  I had it working here.

- Jim

Forum Search and Google Can be Your Best Friends

Offline Breezy

  • Indian Trail Weather
  • Forecaster
  • *****
  • Posts: 325
    • Indian Trail Weather
Re: Timestamp Will Not Display
« Reply #8 on: August 02, 2015, 07:28:12 AM »
 \:D/  Wooohoooo ... That did it!!!  Jim - Your the man  !!!  As always, thanks so much for all of your time and effort ...  =D>

Jeff
Jeff

W7-64, Intel Z170A 16 GB RAM
Davis VP2 Plus, Davis Soil Moisture/Temp Sensors, Laser Snow Depth Sensor LR4/Fluke 414D

Offline jmcmurry

  • Jim McMurry
  • Forecaster
  • *****
  • Posts: 528
  • Davis Vantage Pro 2 Plus Wireless.
    • Juneau County Weather
Re: Timestamp Will Not Display
« Reply #9 on: August 02, 2015, 07:44:33 AM »
Good to hear, Jeff.  Glad to help.

- Jim

Forum Search and Google Can be Your Best Friends