cloudy

Author Topic: saratoga-weather scripts.php  (Read 1201 times)

0 Members and 1 Guest are viewing this topic.

Online ed2kayak

  • CoCoRaHS PA-CD-6, Weather Underground KPAMECHA7, CWOP DW5425
  • Posts: 240
  • South Central PA
    • Cumberland Valley Weather
saratoga-weather scripts.php
« on: November 09, 2010, 05:09:18 PM »
Good Day,
I just moved my old web site to a new weather specific site: cvweather.org
One thing I can't seem to get to work correctly is the warning at the top of main page. At first I thought it was a premission issue, but maybe its a path issue. Suggestions/direction?
"Warning: fopen(atom-advisory-PAZ063.txt) [function.fopen]: failed to open stream: Permission denied in /virtual/users/******-*****/web/atom-top-warning.php on line 246
I thought it worked on my old site: maff.us but I could be confused about that. I've played with it enough to make me dizzy, so I thing I'll take a break and go to work. :?
« Last Edit: November 10, 2010, 12:11:47 AM by ed2kayak »
Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425

Offline saratogaWX

  • Posts: 4,577
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: saratoga-weather scripts.php
« Reply #1 on: November 09, 2010, 05:35:58 PM »
Depending on the specific setup of your webhoster, you may have to create/upload/set permissions to writable on the various cache files used.  See http://saratoga-weather.org/template/template-FAQ.php#FAQ10 for details :)

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Online ed2kayak

  • CoCoRaHS PA-CD-6, Weather Underground KPAMECHA7, CWOP DW5425
  • Posts: 240
  • South Central PA
    • Cumberland Valley Weather
Re: saratoga-weather scripts.php
« Reply #2 on: November 10, 2010, 12:14:21 AM »
Thanks. That worked. I should read directions more thoroughly, but what fun would that be.
Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425

Offline saratogaWX

  • Posts: 4,577
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: saratoga-weather scripts.php
« Reply #3 on: November 10, 2010, 12:58:08 AM »
Glad it worked for you :)

Some webhosters prohibit PHP from creating and/or writing files by default, and other's don't seem to have that issue.
It's true that 'default deny' is a safer security stance, but may be a pain to get all the parts working on a new installation.

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

 

cumulus