8000 Fixing image binary output by karisters · Pull Request #41 · endroid/qr-code · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixing image binary output #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2016
Merged

Fixing image binary output #41

merged 1 commit into from
Apr 7, 2016

Conversation

karisters
Copy link

Guys, we had problems with uncaught binary output in our project.

Cheers!

@endroid endroid merged commit 5a1b0ad into endroid:master Apr 7, 2016
@endroid endroid added the enhancement New feature or request label Apr 7, 2016
@endroid endroid self-assigned this Apr 7, 2016
@endroid
Copy link
Owner
endroid commented Apr 7, 2016

Nice, thank you!

@casperbiering
Copy link

Sorry to say, but you shouldn't call both "ob_end_flush" and "ob_get_clean". Both end the current buffer. Which causes PHP to the give following error: "PHP Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to delete or flush in XXX on line YYY".

@endroid : Please undo this commit.

@karisters : You must have a bug somewhere else in your project :-(

@kukulich
Copy link
kukulich commented Apr 8, 2016

Yes, this commit is wrong. We get this error after update: Cannot send header after HTTP headers have been sent (output started at vender/endroid/qrcode/src/QrCode.php:697

@endroid
Copy link
Owner
endroid commented Apr 8, 2016

@casperbiering and @kukulich You're right. This should be fixed in 1.6.4.

@endroid endroid added invalid and removed enhancement New feature or request labels Apr 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0