Author Topic: Space Weather Script Image Display Error  (Read 319 times)

0 Members and 1 Guest are viewing this topic.

Offline weatherdoc

  • Member
  • *
  • Posts: 47
    • Willowsford Farm Weather
Space Weather Script Image Display Error
« on: January 28, 2022, 12:53:19 PM »
Has anyone seen an "Error: 003" on image files? See attached screen capture from my wxspace.php webpage (https://novawx.dscloud.me/wxspace.php). After I noticed the error with some, but not all images, I downloaded wxspace2021.zip from https://www.wxforum.net/index.php?topic=41516.msg425374#msg425374 and uploaded all the files to my server, but the error persists.

Offline smokie

  • Member
  • *
  • Posts: 46
    • Newquay Cornwall. UK
Re: Space Weather Script Image Display Error
« Reply #1 on: January 29, 2022, 02:29:46 AM »
I've just installed from the zip file you provided, works for me, file SpaceWx_20210218.zip last post, he mentions previous zip didn't work. or you need to delete the cached images on your server. Hope this helps

I seem to remember that error as something to do with maintenance.
« Last Edit: January 29, 2022, 02:41:46 AM by smokie »
Newquay, Cornwall.UK  > WS2300 Operational since May 2007. New home from 6/4/08 www.newquayweather.com

Offline weatherdoc

  • Member
  • *
  • Posts: 47
    • Willowsford Farm Weather
Re: Space Weather Script Image Display Error
« Reply #2 on: January 29, 2022, 07:29:31 AM »
I did notice the cached files before I installed wxspace2021.zip and deleted them. I just checked and there are no cached files in the directory, so I installed the files from SpaceWx_20210218.zip (replaced all previous files), but the error persists. Thanks for the suggestion.

Offline hcorrin

  • Member
  • *
  • Posts: 15
    • Ballaugh Weather
Re: Space Weather Script Image Display Error
« Reply #3 on: January 29, 2022, 05:55:20 PM »
i tried this on 1 of my synology units http://ballaugh.no-ip.biz:59202/WD-AJAX3/wxspace.php  but not seeing any error
i do see the 003 error in the link above plus i see 019 errors in the link in email you sent
have you allowed the firewall access to that site on the synology

Offline weatherdoc

  • Member
  • *
  • Posts: 47
    • Willowsford Farm Weather
Re: Space Weather Script Image Display Error
« Reply #4 on: January 30, 2022, 08:37:23 AM »
I had been running my website from the /www directory on my Synology and the space weather page, https://novawx.dscloud.me/~thunder/wxspace.php, works properly. The Error is occurring now that I am running my website from the /web directory on my Synology, https://novawx.dscloud.me/wxspace.php.

I haven't adjusted any settings for the firewall (see attached screen capture). The error is occurring on images from https://www.swpc.noaa.gov/ and https://sohowww.nascom.nasa.gov/. The two images that work are from http://www.hamqsl.com/.

The only difference on the server side is running the script from /www versus /web. I would think the firewall settings would apply to both directories, but maybe that's a bad assumption?

Offline hcorrin

  • Member
  • *
  • Posts: 15
    • Ballaugh Weather
Re: Space Weather Script Image Display Error
« Reply #5 on: January 30, 2022, 09:22:33 AM »
hi i  sent you a PM on the other forum
i have attached the file i mentioned below run it before and after you update php to 7.4 as the others are no longer supported and see if the GD section has any differences
i should point out that anything i know about the synologys is through the web interface and learn as i go plus searches on web, and I know nothing about how to get into the hidden depths on them

Harold

Offline weatherdoc

  • Member
  • *
  • Posts: 47
    • Willowsford Farm Weather
Re: Space Weather Script Image Display Error
« Reply #6 on: January 30, 2022, 09:36:39 AM »
Yes, same here, I use the web interface on my Synology and learn as I go. I ran phpinfo.php and both /www and /web are using PHP Version 5.6.40.

PHP 5.6, 7.0, 7.2, 7.3, and 7.4 are all installed on my Synology. I'm running the current version of DSM: 7.0.1-42218 Update 2.

See attached screen capture from my Default server portal settings - are you suggesting I just change the dropdown Default Profile from 5.6 to 7.4 and see what happens?

Offline hcorrin

  • Member
  • *
  • Posts: 15
    • Ballaugh Weather
Re: Space Weather Script Image Display Error
« Reply #7 on: January 30, 2022, 11:48:07 AM »
you will need to set 7.4 profile up as noted in the text at the bottom of your screen capture first before you see it in the dropdown to change it

Offline weatherdoc

  • Member
  • *
  • Posts: 47
    • Willowsford Farm Weather
Re: Space Weather Script Image Display Error
« Reply #8 on: January 30, 2022, 12:59:24 PM »
My PHP is now Version 7.4.18 but the error persists. I decided to update the wxspace.php script with some of the links from an older script and now it all works. I had to "hard code" some of the image links to get them to work.

Thanks for your help, and if nothing else, I'm running the latest version of PHP available on the Synology NAS!