Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

betel_datasummary.php error

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

betel_datasummary.php error

Post by Super-T »

I have been using the betel_datasummary.php to display history and all of a sudden it stopped working with the following error:-

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@janter.co.nz to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."

Address:- https://www.janter.co.nz/weather/betel_datasummary.php

Nothing has changed that I know of. Maybe corrupted file somewhere?
Any Ideas please?

I have tried refreshing all of the betel files with no luck.
broadstairs
Posts: 778
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW1003/GW1103/GW2000
Operating System: Windows 7 and Linux
Location: Broadstairs, Kent, UK
Contact:

Re: betel_datasummary.php error

Post by broadstairs »

I suspect your host has updated PHP and it is failing on the new PHP, additionally there is a problem trying to post an error document. You might be able to find the error in PHP by looking at any error logs on your hosting site and be able to fix the PHP.

Stuart
flort
Posts: 224
Joined: Thu 17 Dec 2020 9:06 am
Weather Station: Davis Vantage Vue
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Tin Can Bay, Queensland, Australia
Contact:

Re: betel_datasummary.php error

Post by flort »

Hi Terry,

I also noticed your dayfile.txt only goes up to 05/08/20 so something has gone wrong with your upload.

Regards,
Trevor
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: betel_datasummary.php error

Post by Super-T »

Thanks, I'll look into the suggestions.

I had a lot of power failures after the recent cyclones and had to recover the data.
Not sure why the dayfile is wrong as it should update overnight and it is OK on the laptop.
Can I just manually upload the correct dayfile.txt?

Getting ftp errors with no such directory. See attached log

Have to see what the Website provider has to say.

More info:- Ran FTP2Weather.bat This explains the errors
"C:\Cumulus\FTP-Data>cd\cumulus\ftp-data\

C:\Cumulus\FTP-Data>ftp -a -s:daily.ftp
ftp> open 223.165.64.192
Connected to 223.165.64.192.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 3 of 50 allowed.
220-Local time is now 11:04. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
504 Unknown command
User (223.165.64.192:(none)):
331 User janterco OK. Password required

230 OK. Current restricted directory is /
ftp> cd weather
550 Can't change directory to weather: No such file or directory
ftp> put c:\cumulus\data\dayfile.txt
501 Syntax error in IP address

ftp> bye
221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
221 Logout."
You do not have the required permissions to view the files attached to this post.
flort
Posts: 224
Joined: Thu 17 Dec 2020 9:06 am
Weather Station: Davis Vantage Vue
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Tin Can Bay, Queensland, Australia
Contact:

Re: betel_datasummary.php error

Post by flort »

Hi Terry,

You can just upload the correct dayfile but that won't solve your problem. It might be helpful to turn on debug for a few minutes and then post the MXDiag file. That should show what file or directory it can't open.

EDIT: You posted again while I was typing the above. Does the weather directory exist on your server when you view through your FTP client?

Regards,
Trevor
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: betel_datasummary.php error

Post by Super-T »

yes, I can access in filezilla.
I found that I had to remove the - a from the FTP2Weather.bat
cd\cumulus\ftp-data\
ftp -s:daily.ftp

Perhaps my Host changed the ftp requirements.

Seems like it updated now. Will see what happens overnight :-) Thanks for suggestion
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: betel_datasummary.php error

Post by Super-T »

Still chasing this problem. Has anyone seen the error before?

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@janter.co.nz to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."

Host says they see this in the error log
"[Thu Mar 02 13:16:52.552696 2023] [core:error] [pid 26188] [client 101.98.96.121:53764] End of script output before headers: betel_datasummary.php, referer: https://www.janter.co.nz/weather/"

Any help?
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: betel_datasummary.php error

Post by Super-T »

Getting further on.
Would someone have a copy of their .htaccess file from an Apache server hosting cumulus1?

It may be a hidden file on the website so you would need to "Allow" viewing.

Mine didn't get backed up as it was hidden...I think.

Easy to rebuild in a text editir if I can find out what content is needed ?
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: betel_datasummary.php error

Post by Super-T »

Can someone please supply me with a link to the betel-datasummary.php install file that Betel wrote? I want to reload it and I haven't located a source.
Mapantz
Posts: 1823
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: betel_datasummary.php error

Post by Mapantz »

Image
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: betel_datasummary.php error

Post by Super-T »

All problems now fixed. Panic over.
I had a corrupted /weather directory. I copied all the files and then deleted the directory. Then recreated the directory and copied all the files back. Fixed.
Comparing permissions etc., I couldn't see any difference. Go figure!
PHP was just not working in the old /weather directory.
Post Reply