- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
"Abort pclzip.lib.php" error during comfort update
- hrcittl
- Topic Author
- Offline
- New Member
Less
More
5 years 7 months ago #174459
by hrcittl
"Abort pclzip.lib.php" error during comfort update was created by hrcittl
Hey there everyone,
I'm getting a "Abort pclzip.lib.php : Unzipped file is superior to upload_max_filesize or to post_max_size" on the last stage of a comfortupdate (from 3.14.8+180829 to 3.14.10 (180924)).
I've increased the size limits in both php.ini files (the CLI one, and the other one).
Still getting the error though. Any other ideas?
I'm getting a "Abort pclzip.lib.php : Unzipped file is superior to upload_max_filesize or to post_max_size" on the last stage of a comfortupdate (from 3.14.8+180829 to 3.14.10 (180924)).
I've increased the size limits in both php.ini files (the CLI one, and the other one).
Still getting the error though. Any other ideas?
The topic has been locked.
- LouisGac
- Visitor
5 years 7 months ago #174465
by LouisGac
Replied by LouisGac on topic "Abort pclzip.lib.php" error during comfort update
hi,
that's the new "zip bomb" prevention:
github.com/LimeSurvey/LimeSurvey/blob/ma...mon_helper.php#L5041
you must increase "upload_max_filesize" in your php configuration.
since many people are facing problem with this function, we will add a configuration parameter to change its values from limesurvey configuration rather than php configuration.
that's the new "zip bomb" prevention:
github.com/LimeSurvey/LimeSurvey/blob/ma...mon_helper.php#L5041
you must increase "upload_max_filesize" in your php configuration.
since many people are facing problem with this function, we will add a configuration parameter to change its values from limesurvey configuration rather than php configuration.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
5 years 7 months ago #174479
by DenisChenu
Else : zip bomb must not be tested for comortupdate : it's an issue here ? No ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic "Abort pclzip.lib.php" error during comfort update
Since it can be forced by admin …LouisGac wrote: …
since many people are facing problem with this function, we will add a configuration parameter to change its values from limesurvey configuration rather than php configuration.
Else : zip bomb must not be tested for comortupdate : it's an issue here ? No ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- Trimbos
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
5 years 5 months ago #176703
by Trimbos
Replied by Trimbos on topic "Abort pclzip.lib.php" error during comfort update
So this cannot be fixed now otherwise then set upload_max_filesize?
Really strange order to first add something new, and then go think of a solution of how to fix what the new messes up...
Really strange order to first add something new, and then go think of a solution of how to fix what the new messes up...
The topic has been locked.
- LouisGac
- Visitor
5 years 5 months ago #176704
by LouisGac
Replied by LouisGac on topic "Abort pclzip.lib.php" error during comfort update
In latest version, you can change it in config.php:
github.com/LimeSurvey/LimeSurvey/commit/...873f3ae940c3a91a56ce
"maximum_unzipped_size"
By default it's at 500Mb
github.com/LimeSurvey/LimeSurvey/commit/...873f3ae940c3a91a56ce
"maximum_unzipped_size"
By default it's at 500Mb
The topic has been locked.
- hrcittl
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
5 years 5 months ago #176720
by hrcittl
Replied by hrcittl on topic "Abort pclzip.lib.php" error during comfort update
Indeed. Meanwhile, I need to update to get the new size setting so that I can change it and update. But I can't update (through comfortupdate) because I don't have the size setting.
I guess I'm going to have to manually update from github to get the setting so I can comfortupdate again. First to find the time to figure out *how* to do that, and then do it.
I guess I'm going to have to manually update from github to get the setting so I can comfortupdate again. First to find the time to figure out *how* to do that, and then do it.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
5 years 5 months ago #176724
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic "Abort pclzip.lib.php" error during comfort update
Why not change the content of the two files manually?
github.com/LimeSurvey/LimeSurvey/commit/...873f3ae940c3a91a56ce
You will run into more trouble switching from comfortupdate to github and back.
So just modfiy these two files.
github.com/LimeSurvey/LimeSurvey/commit/...873f3ae940c3a91a56ce
You will run into more trouble switching from comfortupdate to github and back.
So just modfiy these two files.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- LouisGac
- Visitor
5 years 5 months ago #176733
by LouisGac
If you subscribe to a limeSurvey CE package I can create for you a zip file to update easily
Replied by LouisGac on topic "Abort pclzip.lib.php" error during comfort update
hrcittl wrote: Indeed. Meanwhile, I need to update to get the new size setting so that I can change it and update. But I can't update (through comfortupdate) because I don't have the size setting.
I guess I'm going to have to manually update from github to get the setting so I can comfortupdate again. First to find the time to figure out *how* to do that, and then do it.
If you subscribe to a limeSurvey CE package I can create for you a zip file to update easily
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13643
- Thank you received: 2491
5 years 5 months ago #176739
by DenisChenu
since it temporary
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic "Abort pclzip.lib.php" error during comfort update
or just this line : github.com/LimeSurvey/LimeSurvey/commit/...e04af89a4bca062L5041jelo wrote: …
So just modfiy these two files.
Code:
return true;
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: tpartner, LouisGac, paulraper
The topic has been locked.
- hrcittl
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
5 years 5 months ago #176810
by hrcittl
Replied by hrcittl on topic "Abort pclzip.lib.php" error during comfort update
Hey! That's brilliant - nice and quick - thanks Denis!
(fyi; I had to make it return false;)
Back on track again - thanks all for your help - much appreciated!
(fyi; I had to make it return false;)
Back on track again - thanks all for your help - much appreciated!
The topic has been locked.
- Trimbos
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
5 years 5 months ago - 5 years 5 months ago #177079
by Trimbos
Replied by Trimbos on topic "Abort pclzip.lib.php" error during comfort update
It is not clear to me how to address this issue with ComfortUpdate.
I cannot access any filesystem.
"upload_max_filesize" was set to 32MB, but that was not enough.
What should it be set to then?
thnx
I cannot access any filesystem.
"upload_max_filesize" was set to 32MB, but that was not enough.
What should it be set to then?
thnx
Last edit: 5 years 5 months ago by Trimbos.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11658
- Thank you received: 2742
5 years 5 months ago #177105
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic "Abort pclzip.lib.php" error during comfort update
What do you mean with "filesystem"?
And then: is your problem exactly the same, because only then this solution mentioned here will help.
And then: is your problem exactly the same, because only then this solution mentioned here will help.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.