Page 3 of 7

Re: Moon Phases

Posted: Fri 11 Dec 2015 9:16 am
by steve
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

Re: Moon Phases

Posted: Fri 11 Dec 2015 11:44 am
by richard_newberry
Is that because i posted alot of lines with the permissions i got instead of using an attachment?

Sorry Steve.

Re: Moon Phases

Posted: Fri 11 Dec 2015 1:00 pm
by steve
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.

Re: Moon Phases

Posted: Fri 11 Dec 2015 1:09 pm
by richard_newberry
Any ideas why i cant show new.jpg picture its on chmod 666 and still doesnt display and its still on moon.jpg

Re: Moon Phases

Posted: Fri 11 Dec 2015 4:18 pm
by water01
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?

Re: Moon Phases

Posted: Fri 11 Dec 2015 4:36 pm
by richard_newberry
Yes i have all done this still no change.

Re: Moon Phases

Posted: Fri 11 Dec 2015 5:37 pm
by water01
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?

Re: Moon Phases

Posted: Fri 11 Dec 2015 6:10 pm
by richard_newberry
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

Re: Moon Phases

Posted: Fri 11 Dec 2015 6:11 pm
by richard_newberry

Re: Moon Phases

Posted: Fri 11 Dec 2015 7:38 pm
by water01
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).

Re: Moon Phases

Posted: Fri 11 Dec 2015 7:55 pm
by richard_newberry
LOCAL FILENAME /home/cumulus/CumulusMX/web/moonphasetagT.txt REMOTE FILENAME /var/www/moonphasetag.php

is this correct?

Re: Moon Phases

Posted: Fri 11 Dec 2015 8:03 pm
by Grimers
richard_newberry wrote:LOCAL FILENAME /home/cumulus/CumulusMX/web/moonphasetagT.txt REMOTE FILENAME /var/www/moonphasetag.php

is this correct?
Yep, that's correct.

Re: Moon Phases

Posted: Fri 11 Dec 2015 8:04 pm
by richard_newberry
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.

Re: Moon Phases

Posted: Fri 11 Dec 2015 8:26 pm
by richard_newberry
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!!!

Re: Moon Phases

Posted: Fri 11 Dec 2015 8:28 pm
by mcrossley
richard_newberry wrote:/var/www/moonphasetag.php to /var/www/moonphasetag.php
I hope that is a typo?