If you use Cumulus, please donate Image

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Moon Phases

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
User avatar
steve
Cumulus Author
Posts: 26030
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: Moon Phases

Postby steve » Fri Dec 11, 2015 9:16 am

Contents of previous post from richard_newberry posted as an image to avoid false security alert.

2015-12-11 09_15_36-_new 0 - Notepad++.png
You do not have the required permissions to view the files attached to this post.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

richard_newberry
Posts: 228
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

Re: Moon Phases

Postby richard_newberry » Fri Dec 11, 2015 11:44 am

Is that because i posted alot of lines with the permissions i got instead of using an attachment?

Sorry Steve.
Kirby Muxloe Weather
http://kirbymuxloe-weather.dyndns.org web forward to http://kirbymuxloe-weather.co.uk
Also on Kirby Muxloe weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

User avatar
steve
Cumulus Author
Posts: 26030
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: Davis VP2
Operating System: Raspbian
Location: Sanday, Orkney
Contact:

Re: Moon Phases

Postby steve » Fri Dec 11, 2015 1:00 pm

It's not your fault, the web server's security module seems to be somewhat over-zealous, it seems to block anything containing shell script. I have had words with it - :bash: - and hopefully this won't happen again.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

richard_newberry
Posts: 228
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

Re: Moon Phases

Postby richard_newberry » Fri Dec 11, 2015 1:09 pm

Any ideas why i cant show new.jpg picture its on chmod 666 and still doesnt display and its still on moon.jpg
Kirby Muxloe Weather
http://kirbymuxloe-weather.dyndns.org web forward to http://kirbymuxloe-weather.co.uk
Also on Kirby Muxloe weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

water01
Posts: 1388
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Gurney Slade,Somerset, UK
Contact:

Re: Moon Phases

Postby water01 » Fri Dec 11, 2015 4:18 pm

Are you processing moonphasetagT.txt and uploading it as moonphasetag.php because that is needed to provide the information that the moonphase.php requires in order to load the correct picture?

richard_newberry
Posts: 228
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

Re: Moon Phases

Postby richard_newberry » Fri Dec 11, 2015 4:36 pm

Yes i have all done this still no change.
Kirby Muxloe Weather
http://kirbymuxloe-weather.dyndns.org web forward to http://kirbymuxloe-weather.co.uk
Also on Kirby Muxloe weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

water01
Posts: 1388
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Gurney Slade,Somerset, UK
Contact:

Re: Moon Phases

Postby water01 » Fri Dec 11, 2015 5:37 pm

What exactly is your web site running on i.e. is it your own server? If it is you have got PHP installed on it have you?

richard_newberry
Posts: 228
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

Re: Moon Phases

Postby richard_newberry » Fri Dec 11, 2015 6:10 pm

Its apache2 based on debian jessie i have php installed http://kirbymuxloe-weather.dyndns.org/phpsysinfo

So php is installed if you access the moonphasetag.php it works
Kirby Muxloe Weather
http://kirbymuxloe-weather.dyndns.org web forward to http://kirbymuxloe-weather.co.uk
Also on Kirby Muxloe weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

richard_newberry
Posts: 228
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

Re: Moon Phases

Postby richard_newberry » Fri Dec 11, 2015 6:11 pm

Kirby Muxloe Weather
http://kirbymuxloe-weather.dyndns.org web forward to http://kirbymuxloe-weather.co.uk
Also on Kirby Muxloe weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

water01
Posts: 1388
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Gurney Slade,Somerset, UK
Contact:

Re: Moon Phases

Postby water01 » Fri Dec 11, 2015 7:38 pm

Well actually it doesn't because that is the wrong moon phase!! :D OK so that means that the phase is not being set which means it must be a problem with moonphasetagT.txt being processed by cumulus and "uploaded" as moonphasetag.php(or in your case copied to the correct place in /var/www).

richard_newberry
Posts: 228
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

Re: Moon Phases

Postby richard_newberry » Fri Dec 11, 2015 7:55 pm

LOCAL FILENAME /home/cumulus/CumulusMX/web/moonphasetagT.txt REMOTE FILENAME /var/www/moonphasetag.php

is this correct?
Kirby Muxloe Weather
http://kirbymuxloe-weather.dyndns.org web forward to http://kirbymuxloe-weather.co.uk
Also on Kirby Muxloe weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

User avatar
Grimers
Posts: 187
Joined: Tue Nov 24, 2015 9:07 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 64-bit
Location: Newton Poppleford, Devon, UK
Contact:

Re: Moon Phases

Postby Grimers » Fri Dec 11, 2015 8:03 pm

richard_newberry wrote:LOCAL FILENAME /home/cumulus/CumulusMX/web/moonphasetagT.txt REMOTE FILENAME /var/www/moonphasetag.php

is this correct?


Yep, that's correct.
William Grimsley.

richard_newberry
Posts: 228
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

Re: Moon Phases

Postby richard_newberry » Fri Dec 11, 2015 8:04 pm

Don't know why it's not showing the correct moon then.

in /var/www I have moon directory with pictures in and in /var/www I have moonphase.php and moonphasetag.php

Which all seems fine.
Kirby Muxloe Weather
http://kirbymuxloe-weather.dyndns.org web forward to http://kirbymuxloe-weather.co.uk
Also on Kirby Muxloe weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

richard_newberry
Posts: 228
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

Re: Moon Phases

Postby richard_newberry » Fri Dec 11, 2015 8:26 pm

I think there's a bug in extra web files. I just deleted the moon phase files from /var/www and it wont copy it back over via extra web files.

/var/www/moonphasetag.php to /var/www/moonphasetag.php and process is ticked and nothing is being copied over. I'm sure there's a bug in it.

Should copy over if you've deleted it and want to re copy it over via extra web files and it doesn't very odd!!!
Kirby Muxloe Weather
http://kirbymuxloe-weather.dyndns.org web forward to http://kirbymuxloe-weather.co.uk
Also on Kirby Muxloe weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

User avatar
mcrossley
Posts: 4890
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Jessie Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Moon Phases

Postby mcrossley » Fri Dec 11, 2015 8:28 pm

richard_newberry wrote:/var/www/moonphasetag.php to /var/www/moonphasetag.php
I hope that is a typo?


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 4 guests