PHP Upload errors
Posted: Wed 28 Feb 2024 1:41 pm
Hi everyone,
I'm fairly technically illiterate (e.g. I've never tangled with setting up websites before) so please be gentle with me! Advance thanks to anyone who can help.
I've been running CumulusMX for some time (currently 3.27.1 build 3263) and am trying to set up the supplied default website using the PHP Upload method to transfer data. Webhosting is from WebHostUK.
So far I've:
- copied all the distributed contents of webfiles and subfolders into the root folder of my webspace
- made Internet Settings changes to enable update via PHP and to add the URL of upload.php
- ticked the 'I want to use the supplied default website' box
- added the generated secret to upload.php and copied it to the root folder of my webspace
- restarted CuMX
I now have a website home page visible at www.longwellgreenweather.co.uk BUT there is no dynamic data on it nor links to the pages.
I can see some files are being uploaded successfully to my webserver at the prescribed 5 minute intervals (e.g. realtime.txt) but many data files are empty.
There is an error log on my webserver which has 15 entries every 5 minutes as follows (just an extract ...):
[28-Feb-2024 12:55:02 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
These seem to correspond to the 15 entries every 5 minutes on the MX Error Log (again, just an extract....):
2024-02-28 12:55:01 - PHP[Int]: Upload to alldailydegdaydata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to images/moon.png: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to alltempsumdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to alldailyraindata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to alldailypressdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to alldailyhumdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to alldailywinddata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to alldailytempdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to raindata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to humdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to wdirdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to tempdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to winddata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to pressdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to websitedata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to images/moon.png: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to alldailydegdaydata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to alltempsumdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to alldailytempdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to alldailyraindata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to alldailywinddata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to alldailyhumdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to alldailypressdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to raindata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to wdirdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to winddata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to humdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to tempdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to pressdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:00 - PHP[Int]: Upload to websitedata.json: Response code = 500: InternalServerError
2024-02-28 12:45:01 - PHP[Int]: Upload to alltempsumdata.json: Response code = 500: InternalServerError
Recent MXdiags attached. They seem to indicate problems 'unzipping data'.
All ideas gratefully received!
Ken
I'm fairly technically illiterate (e.g. I've never tangled with setting up websites before) so please be gentle with me! Advance thanks to anyone who can help.
I've been running CumulusMX for some time (currently 3.27.1 build 3263) and am trying to set up the supplied default website using the PHP Upload method to transfer data. Webhosting is from WebHostUK.
So far I've:
- copied all the distributed contents of webfiles and subfolders into the root folder of my webspace
- made Internet Settings changes to enable update via PHP and to add the URL of upload.php
- ticked the 'I want to use the supplied default website' box
- added the generated secret to upload.php and copied it to the root folder of my webspace
- restarted CuMX
I now have a website home page visible at www.longwellgreenweather.co.uk BUT there is no dynamic data on it nor links to the pages.
I can see some files are being uploaded successfully to my webserver at the prescribed 5 minute intervals (e.g. realtime.txt) but many data files are empty.
There is an error log on my webserver which has 15 entries every 5 minutes as follows (just an extract ...):
[28-Feb-2024 12:55:02 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
[28-Feb-2024 12:55:03 UTC] PHP Fatal error: Uncaught Error: Call to undefined function gzdecode() in /home/longwell/public_html/upload.php:171
Stack trace:
#0 {main}
thrown in /home/longwell/public_html/upload.php on line 171
These seem to correspond to the 15 entries every 5 minutes on the MX Error Log (again, just an extract....):
2024-02-28 12:55:01 - PHP[Int]: Upload to alldailydegdaydata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to images/moon.png: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to alltempsumdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to alldailyraindata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to alldailypressdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to alldailyhumdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to alldailywinddata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to alldailytempdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to raindata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to humdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to wdirdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to tempdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to winddata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to pressdata.json: Response code = 500: InternalServerError
2024-02-28 12:55:01 - PHP[Int]: Upload to websitedata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to images/moon.png: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to alldailydegdaydata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to alltempsumdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to alldailytempdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to alldailyraindata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to alldailywinddata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to alldailyhumdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to alldailypressdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to raindata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to wdirdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to winddata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to humdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to tempdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:01 - PHP[Int]: Upload to pressdata.json: Response code = 500: InternalServerError
2024-02-28 12:50:00 - PHP[Int]: Upload to websitedata.json: Response code = 500: InternalServerError
2024-02-28 12:45:01 - PHP[Int]: Upload to alltempsumdata.json: Response code = 500: InternalServerError
Recent MXdiags attached. They seem to indicate problems 'unzipping data'.
All ideas gratefully received!
Ken