cloudy

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

evets-md and 2 Guests are viewing this topic.

Blackjack52

  • Guest
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #60 on: October 25, 2009, 02:07:59 PM »
Add monitor to your site.
http://www.n3kl.org/sun/status.html

Offline Objector

  • Posts: 357
  • Dalton, Georgia, USA
    • Dalton Georgia Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #61 on: October 25, 2009, 07:56:55 PM »
If you are using this script on E-Rice, you may want to check to see if the images are being updated. Mine were not, no matter what the permissions, etc. were set to. Even though php_info says that curl is supported, I had to set use_curl=0 and now all is fine.

Check by looking at the real time solar wind image as it's easy to see the date/time. The date and time should be be changing as time goes by. If it isn't, then you may have the same problem I did.

Derek

Offline Murry Conarroe

  • Posts: 478
  • Decatur, Texas
    • Wildwood Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #62 on: October 25, 2009, 10:28:03 PM »
There is a missing > for the closing of the div on line 265 of the wxspace.php file.

</div<!-- end main-copy -->

Results in a validation error.
Murry

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #63 on: October 25, 2009, 10:36:34 PM »
There is a missing > for the closing of the div on line 265 of the wxspace.php file.

</div<!-- end main-copy -->

Results in a validation error.

Thanks, I just fixed the download.

Offline looney2ns

  • Posts: 2,946
  • Fearless Weather Dog-Loves to watch Lightning.
  • Near Evansville Indiana USA
    • Newburgh Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #64 on: October 26, 2009, 04:41:17 AM »
If you are using this script on E-Rice, you may want to check to see if the images are being updated. Mine were not, no matter what the permissions, etc. were set to. Even though php_info says that curl is supported, I had to set use_curl=0 and now all is fine.

Check by looking at the real time solar wind image as it's easy to see the date/time. The date and time should be be changing as time goes by. If it isn't, then you may have the same problem I did.

Derek

I see mine is not as well. Where does the "use_curl=0" line go?

Offline Objector

  • Posts: 357
  • Dalton, Georgia, USA
    • Dalton Georgia Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #65 on: October 26, 2009, 09:17:21 AM »
The "use_curl" setting is in each of the 9 image-space-?.php files. just do a find for it and change the "1" to a "0".

Offline rrrick8

  • Posts: 325
  • Danville, Illinois
    • Vermilion County Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #66 on: October 26, 2009, 08:06:08 PM »
Thanks for the script Mike.

As usual, I'm an "Think out of the box" type, so I made a few structural adjustments.
http://vermilionweather.com/astronomy.php


Thanks again.
Rick
----------------------
Rick
EMA Severe Weather Manager
CWOP-CW9931 -  KILDANVI5

Offline smokie

  • Posts: 312
  • WS2300 operational May 2007
  • Newquay, Cornwall UK
    • Newquay weather and much more
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #67 on: October 26, 2009, 08:21:52 PM »
Great script Mike

Added latest MDI Continuum / MDI Magnetogram images to your page along with yesterdays sunspot total, 
see sunspot thread


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

regards
phil

Newquay, Cornwall.UK  > WS2300 Operational since May 2007.
From 6/4/08 www.newquayweather.com
** Philip

Offline looney2ns

  • Posts: 2,946
  • Fearless Weather Dog-Loves to watch Lightning.
  • Near Evansville Indiana USA
    • Newburgh Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #68 on: October 27, 2009, 01:35:08 AM »
The "use_curl" setting is in each of the 9 image-space-?.php files. just do a find for it and change the "1" to a "0".
thanks.

Offline Bigbaywx

  • Posts: 132
  • Big Bay, Michigan
    • Big Bay, Michigan Local Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #69 on: November 02, 2009, 09:50:20 PM »
Hi Ken;

Unfortunately I'm not getting any images either and I did read through the whole thread.  My page is here: http://www.bigbaywx.com/wxspace.php   The spaceweather-current.txt file is populating as it should.  I run all the permissions on 777 as that is what will allow the other various script txt files to populate.  All the included php files in the package are running with 777 as well.  I ran through the gamut of various permissions and still no images.  No error codes or anything are appearing in the image boxes on the page.  The images are just blank.  Any ideas from your end?

Thanks as always,

Doug

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 22,157
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
    • http://www.realweatherstation.com
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #70 on: November 02, 2009, 09:59:42 PM »
Where is your image-space-eit-304.jpg located?

Offline Bigbaywx

  • Posts: 132
  • Big Bay, Michigan
    • Big Bay, Michigan Local Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #71 on: November 02, 2009, 10:20:18 PM »
I don't think the jpegs are being created on my server.  All the php files were uploaded to the public_html directory like all the other files.  If the php files are supposed to create the jpegs then it's not happening on my end.

Online ALITTLEweird1

  • Mark
  • Posts: 3,984
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #72 on: November 02, 2009, 11:04:57 PM »
Mine created .gif files, not jpegs. Are you on e-rice by chance?
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 22,157
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
    • http://www.realweatherstation.com
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #73 on: November 02, 2009, 11:14:04 PM »
He does have some .jpg's but...

http://www.bigbaywx.com/image-space-eit-284.jpg

Looks to have a complex directory structure so I don't think it's e-rice.

Offline Bigbaywx

  • Posts: 132
  • Big Bay, Michigan
    • Big Bay, Michigan Local Weather
Re: Space Weather addon page for WD-AJAX-PHP-USA
« Reply #74 on: November 02, 2009, 11:29:04 PM »
No image files were created by the scripts so I tried to create blank files and named them appropriately and saved them as .jpg and now some of the files on the server are being populated and those images are now there but not appearing on the wxspace page.  I guess in my case that for whatever reason the script itself wouldn't create the original image but once it had a named blank file it would save to that.  I've tried renaming those image files to gif's and still not seeing any images being populated on the webpage.  At this point only the 284 and 304 images seem to be on the server.  O.K....now all the images as gif's are being updated on my hosts server but still not appearing on the space weather page yet for some reason.  If I look at the image properties on the webpage it is showing the various image sizes and blank image boxes using the Opera browser.  I tried the page with firefox and not even the image boxes are showing up.  Strange...
« Last Edit: November 02, 2009, 11:37:32 PM by Bigbaywx »

 

cumulus