Author Topic: Error on Earthquake Activity Page  (Read 500 times)

0 Members and 1 Guest are viewing this topic.

Offline powerline

  • Member
  • *
  • Posts: 35
    • Oak Ridge North Weather
Error on Earthquake Activity Page
« on: July 21, 2023, 02:43:11 PM »
Since I have been using MB-defs.php v 1.07, I'm getting the following on the Earthquake Activity page:  Notice: date_default_timezone_set(): Timezone ID 'America/Chicago ' is invalid in /xxxxx/xxxxx_html/quake-json.php on line 488 (I substituted the x).  Of course I looked at the quake-json.php file and can't see why there is the error.  Can someone help, please?

I'm using the Meteobridge Pro.  Thank you!

Ron
www.oakridgewx.net
Ron

Davis Vantage Pro2.  Meteobridge Pro
CWOP:  CW2840
WU:  KTXOAKRI1
http://www.oakridgewx.net

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Error on Earthquake Activity Page
« Reply #1 on: July 21, 2023, 03:12:48 PM »
I suspect your issue is in wxquakes.php
Code: [Select]
  $setTimeZone = "America/Chicago ";  //NOTE: this *MUST* be set correctly toremove the trailing space to make it
Code: [Select]
  $setTimeZone = "America/Chicago";  //NOTE: this *MUST* be set correctly to
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline powerline

  • Member
  • *
  • Posts: 35
    • Oak Ridge North Weather
Re: Error on Earthquake Activity Page
« Reply #2 on: July 21, 2023, 03:40:50 PM »
Ken, 

It worked.  Thank you.  You're a genius!
Ron

Davis Vantage Pro2.  Meteobridge Pro
CWOP:  CW2840
WU:  KTXOAKRI1
http://www.oakridgewx.net

 

anything