cloudy cloudy

Author Topic: Space Weather addon page for WD-AJAX-PHP-USA  (Read 63061 times)

0 Members and 1 Guest are viewing this topic.

Offline M. Hebert

  • Posts: 122
  • Saint-Alphonse-Rodriguez, Quebec
    • Météo Lanaudière
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #30 on: October 21, 2009, 05:34:05 PM »
For me, the .gif images got created when I tested the new page on Wamp localhost on my computer.  And as Mike noticed, I forgot to upload the .php files and loaded only the .gif.

Offline ALITTLEweird1

  • Mark
  • Global Moderator
  • Posts: 5,146
  • North Bend, WA
    • North Bend Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #31 on: October 21, 2009, 10:47:42 PM »
I figured out how to get it work on E-rice. If others still need help with it, I can post what i did.

http://www.snoqualmieweather.com/wxspace.php
"Nature can do without man, but man cannot do without nature."

Davis VP2 + VP2 Solar + VP2 UV + Lightning Detector + Logitech Webcam

Offline AZ Kiwi

  • Posts: 848
  • Maricopa, Sonoran Desert, Arizona
    • Maricopa, Arizona - Edge of the Sonoran Desert
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #32 on: October 21, 2009, 11:11:43 PM »
Mark,

I'm not at home, but I have been watching this thread.   I'm interested in putting up space weather and I'm also an E-Rice user, so it'd be great if you could post your steps.


Thanks


Ken
Station: http://weather.azkiwis.net
CWOP: http://findu.aprsfl.net/cgi-bin/wxpage.cgi?call=CW9664
No weather guru by a long shot, but smart enough to stay out of the desert sun...

Offline ALITTLEweird1

  • Mark
  • Global Moderator
  • Posts: 5,146
  • North Bend, WA
    • North Bend Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #33 on: October 21, 2009, 11:16:34 PM »
Upload all the files as reccomended By Mike. If the graphics don't show up, change your Web folder permissions to 717, and then it should work. Don't worry about changing the permissions back on your Web folder, cause it does it will do it by itself. Worked for me, so hopefully it'll work for others on E-rice having problems.
"Nature can do without man, but man cannot do without nature."

Davis VP2 + VP2 Solar + VP2 UV + Lightning Detector + Logitech Webcam

Offline WeatherPilot

  • Posts: 84
  • Charles Town - WV
    • Tuscawilla Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #34 on: October 22, 2009, 03:19:20 AM »
Amazing.  Thanks.  Just changed permissions on /web directory to 717 on my e-rice account and the graphics are displaying.  Except for the Latest Mauna Loa Solar Image for some reason.  Gotta figure that one out now...  Getting closer!

Thanks.

Greg.

Offline arthurhh

  • Tokoroa Weather Live
  • Posts: 369
  • IT Fixer
  • Tokoroa South Waikato New Zealand
    • Tokoroa Weather Live
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #35 on: October 22, 2009, 07:57:07 AM »
Space Weather addon page for WD-AJAX-PHP-USA

You can see my Space Weather Script in use here:
http://www.642weather.com/weather/space-weather.php

This script will show a space weather forecast page. It shows the space weather forecast from the NOAA / Space Weather Prediction Center. Also included are 5 images that are cached locally on your server..

-----------------------------------------
Installation (USA carterlake php template sites)
-----------------------------------------

You must already be running the USA carterlake php template
http://saratoga-weather.org/template/index.php
Snipped

Okay I get the basic idea of this info, but cant get my head around regional validity ie is it only of value if your in the states or could it be of value else where in the world.

Offline WeatherPilot

  • Posts: 84
  • Charles Town - WV
    • Tuscawilla Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #36 on: October 22, 2009, 03:10:41 PM »
Amazing.  Thanks.  Just changed permissions on /web directory to 717 on my e-rice account and the graphics are displaying.  Except for the Latest Mauna Loa Solar Image for some reason.  Gotta figure that one out now...  Getting closer!

Thanks.

Greg.

Anyone have any ideas why all the graphics except the Mauna Loa Solar Image are displaying on my wxspace page???

http://www.tuscawilla-weather.net/wxspace.php


Offline ALITTLEweird1

  • Mark
  • Global Moderator
  • Posts: 5,146
  • North Bend, WA
    • North Bend Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #37 on: October 22, 2009, 03:20:10 PM »
Do you have the permissions set different on that file compared to the rest?

Warning: chmod() [function.chmod]: Operation not permitted in /virtual/users/e16314-17467/web/image-space-solar-disk.php
"Nature can do without man, but man cannot do without nature."

Davis VP2 + VP2 Solar + VP2 UV + Lightning Detector + Logitech Webcam

Offline MCHALLIS

  • Posts: 2,158
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #38 on: October 22, 2009, 04:00:42 PM »
Do you have the permissions set different on that file compared to the rest?

Warning: chmod() [function.chmod]: Operation not permitted in /virtual/users/e16314-17467/web/image-space-solar-disk.php

There is a setting to disable CHMOD in each image php file.

Offline WeatherPilot

  • Posts: 84
  • Charles Town - WV
    • Tuscawilla Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #39 on: October 22, 2009, 05:05:30 PM »
Works now - set the CHMOD option to "0"  - worked like a charm - all the graphics are displaying now - Thanks!!

Also set the permissions for all files to 776 - not sure if that made a difference because only that one graphic would not display.

Appreciate the 411 -


Greg.

Offline ALITTLEweird1

  • Mark
  • Global Moderator
  • Posts: 5,146
  • North Bend, WA
    • North Bend Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #40 on: October 24, 2009, 12:18:52 AM »
Got the script up and running after messing with some permissions, but now Im seeing another issue. What would stop the images from updating on their own? If i delete the images in FTP and refresh the page, they get updated, but they wont on their own. Any ideas? Thanks, Mark.
"Nature can do without man, but man cannot do without nature."

Davis VP2 + VP2 Solar + VP2 UV + Lightning Detector + Logitech Webcam

Offline MCHALLIS

  • Posts: 2,158
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #41 on: October 24, 2009, 07:08:43 AM »
Version: 1.1 - 24-Oct-2009
- Added more information, images, and graphs.
- Image PHP files updated to latest version of the image handler, fixes error 004 on some servers with allow_url_fopen = off
http://www.642weather.com/weather/scripts-history.php#ImageHandler

See new page here:
http://www.642weather.com/weather/space-weather.php

« Last Edit: October 24, 2009, 07:10:16 AM by MCHALLIS »

Offline i_fiorentino

  • Alessandro Bardi
  • Posts: 1,704
  • 150 mls Candeglia (Pt), Tuscany, Italy
    • Meteopistoia.it
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #42 on: October 24, 2009, 09:31:59 AM »
Hi Mike,
i've a problem with the new version of your script.
The forecast about 3-day solar geophysical isn't available.
Probabily Chmod problem?
Thanks,

Alessandro

Offline magical46

  • Phils Weather
  • Posts: 598
  • Farnham, Surrey
    • Phils Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #43 on: October 24, 2009, 01:13:01 PM »
Hi
Will this work with world mml template? ( I know it says USA template but thought I'd try it, any chance of making it available for world mml?) I have it installed but getting "error 003" where the images should be. I have changed permissions to 777 and set chmod to 0 to no avail.

http://www.weybourneweather.co.uk//wxspace.php

Phil

Offline drobbins

  • Posts: 1,694
  • Kentucky, USA
    • Cave Country Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #44 on: October 24, 2009, 02:23:33 PM »
How often are the images updated? Today is the 24th and:
The 3 day forecast is for the 23rd
The solar wind is for the 22nd
The auroral map is for the 21st
The x-ray flux is up to the 22nd
I can't see the others dates because they are too small.

http://www.cavecountryweather.com/wxspace.php

 

cumulus