cloudy

Author Topic: Weather Web Cam Images History PHP Script and Template Plugin  (Read 17996 times)

0 Members and 1 Guest are viewing this topic.

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #30 on: September 29, 2008, 03:20:33 PM »

Should I get rid of /public_html ???

John

Yes

Offline jahuff

  • Posts: 760
  • Northern New Hampshire, USA
    • Weather Data Pittsburg, NH
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #31 on: September 29, 2008, 05:48:51 PM »
Hi Mike,

I hate to be a pain with this but after setting up Method 1 it  still will not add add an image unless I run it manually.

Any thoughts?

John

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #32 on: September 29, 2008, 06:02:57 PM »
John,

I made a new blog post  Scheduled HTTP Request - Windows Task Scheduler

Try it that way if you like.

« Last Edit: October 28, 2008, 06:49:04 PM by MCHALLIS »

Offline jahuff

  • Posts: 760
  • Northern New Hampshire, USA
    • Weather Data Pittsburg, NH
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #33 on: September 29, 2008, 09:45:03 PM »
Mike,

Initial indications are that it is working  :Lil:  :Lil:

I will monitor and post results later.

Thanks so much for all of your help.

John

Offline jahuff

  • Posts: 760
  • Northern New Hampshire, USA
    • Weather Data Pittsburg, NH
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #34 on: September 29, 2008, 10:41:01 PM »
Hi Mike,

All is well at johnsnhweather, it is working every 5 minutes right on schedule.

Still one small issue with the time zone see




Thanks

John

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #35 on: September 30, 2008, 12:03:44 AM »
Hi Mike,

All is well at johnsnhweather, it is working every 5 minutes right on schedule.

Still one small issue with the time zone see


edit image-webcam-overlay.php

find:

Code: [Select]
$timezone = date('T');
replace with:
Code: [Select]
// set to your LOCAL time zone
$myTZ = 'America/New_York'; // Eastern Time
putenv("TZ=$myTZ");
$timezone = date('T');

Offline jahuff

  • Posts: 760
  • Northern New Hampshire, USA
    • Weather Data Pittsburg, NH
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #36 on: September 30, 2008, 12:20:38 AM »
Hi Mike,

Still showing CDT.

John

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #37 on: September 30, 2008, 12:35:24 AM »
Hi Mike,

Still showing CDT.

John

Did you wait until the next image update?
Looks good to me...
http://www.johnsnhweather.com/webcamimage.jpg
« Last Edit: September 30, 2008, 12:48:52 AM by MCHALLIS »

Offline jahuff

  • Posts: 760
  • Northern New Hampshire, USA
    • Weather Data Pittsburg, NH
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #38 on: September 30, 2008, 12:58:57 AM »
Hi Mike,

You are correct the time on the image is correct but the time on the webpage is not????

http://www.johnsnhweather.com/wxcam-history.php

John

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #39 on: September 30, 2008, 01:04:07 AM »
You can put this in your cam-history-inc.php
just before the
$page_title setting

Code: [Select]
// set to your LOCAL time zone
$myTZ = 'America/New_York'; // Eastern Time
putenv("TZ=$myTZ");

Offline jahuff

  • Posts: 760
  • Northern New Hampshire, USA
    • Weather Data Pittsburg, NH
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #40 on: September 30, 2008, 02:18:47 AM »
Hi Mike,

Thank you very much everything seems to be working fine.

John

Offline Stronghurst

  • You Are Never Alone With a Schizoid
  • Posts: 2,061
  • Stronghurst,IL USA
    • Burgus Computers
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #41 on: October 26, 2008, 01:26:36 AM »
Is Mike's page having problems?  I am getting a error page.
http://www.proweatherstore.com

Mark

Live Updates Error: clientraw.txt file has not been updated for 12234 seconds.
We are currently fixing technical difficulties. Live updates will resume soon.

« Last Edit: October 26, 2008, 01:31:15 AM by burgus »
http://www.burgus.org

Every day is a good day.  Just that some days are better than others.

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #42 on: October 27, 2008, 05:09:53 PM »
I moved my site to www.642weather.com
the old site should re-direct if it contains /weather after the domain

Oct 25 was when I was moving it.


« Last Edit: October 28, 2008, 06:49:53 PM by MCHALLIS »

Offline Stronghurst

  • You Are Never Alone With a Schizoid
  • Posts: 2,061
  • Stronghurst,IL USA
    • Burgus Computers
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #43 on: October 27, 2008, 05:35:31 PM »
Works now.  I plan on moving my site from 1&1 to Godaddy in the near future.

Mark
http://www.burgus.org

Every day is a good day.  Just that some days are better than others.

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Weather Web Cam Images History PHP Script and Template Plugin
« Reply #44 on: October 29, 2008, 04:17:29 PM »
There is an official page for this on my site now

http://www.642weather.com/weather/scripts-weather-cam-history.php