[12.3] ob_clean() - corrupted downloads #1524

Open
opened 2026-10-05 00:46:59 +02:00 by adam · 3 comments
Owner

Hello, I have the same problem in a fresh install (piwigo version 12.3.0 - php7.3).
The downloaded file is corrupted (incomplete, I get a .part file) with Firefox (v100.0), but not in Chrome nor Edge).
The problem seems to be solved when I comment ob_clean() in action.php even if I assume that this is not the best way to proceed.

Originally posted by @vilnus in https://github.com/Piwigo/Piwigo/issues/1297#issuecomment-1266606502

Hello, I have the same problem in a fresh install (piwigo version 12.3.0 - php7.3). The downloaded file is corrupted (incomplete, I get a .part file) with Firefox (v100.0), but not in Chrome nor Edge). The problem seems to be solved when I comment ob_clean() in action.php even if I assume that this is not the best way to proceed. _Originally posted by @vilnus in https://github.com/Piwigo/Piwigo/issues/1297#issuecomment-1266606502_ <!-- github-sync-id:1395887772 -->
Author
Owner

Hi @vilnus do you think it's the same problem as described on https://piwigo.org/forum/viewtopic.php?id=32254 ?

Hi @vilnus do you think it's the same problem as described on https://piwigo.org/forum/viewtopic.php?id=32254 ? <!-- github-comment-id:1275855061 -->
Author
Owner

Hi @plegall , not sure it's the same, but yes, it could be.
I've tested the patch proposed, and it worked.

Hi @plegall , not sure it's the same, but yes, it could be. I've tested the patch proposed, and it worked. <!-- github-comment-id:1275877418 -->
Author
Owner
Should be fixed by https://github.com/Piwigo/Piwigo/pull/1749 <!-- github-comment-id:1279727686 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1524