I'm getting the above warning when trying to download an image in Piwigo 13.0.0. This corrupts the download.
Could be related to dd44d0e409, as I think headers can't be sent after calling flush()
I'm getting the above warning when trying to download an image in Piwigo 13.0.0. This corrupts the download.
Could be related to dd44d0e40999632fb1d80f313f51b6decbfa937c, as I think headers can't be sent after calling `flush()`
<!-- github-sync-id:1405590343 -->
Did you try to install the previous version of action.php ?
OK, looks a lot like https://piwigo.org/forum/viewtopic.php?id=32254
Did you try to install the previous version of `action.php` ?
<!-- github-comment-id:1275856000 -->
Just created https://github.com/Piwigo/Piwigo/pull/1749
<!-- github-comment-id:1276314759 -->
adam
changed title from Warning: Cannot modify header information - headers already sent in /var/www/piwigo/action.php on line 228 to Warning: Cannot modify header information - headers already sent in /var/www/piwigo/action.php on line 2282026-10-27 11:24:19 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I'm getting the above warning when trying to download an image in Piwigo 13.0.0. This corrupts the download.
Could be related to
dd44d0e409, as I think headers can't be sent after callingflush()OK, looks a lot like https://piwigo.org/forum/viewtopic.php?id=32254
Did you try to install the previous version of
action.php?and also, is it related to #1741 (version of Firefox)
What I did as a quick fix is to move the
flush()call after theforeachloop. That works.@nirbhay18 and @erAck what do you think?
Just created https://github.com/Piwigo/Piwigo/pull/1749
Warning: Cannot modify header information - headers already sent in /var/www/piwigo/action.php on line 228to Warning: Cannot modify header information - headers already sent in /var/www/piwigo/action.php on line 228