Skip to content
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

Debug Tool bar Logo Rendered in PDF #71

Closed
gogl92 opened this issue Jun 29, 2016 · 6 comments
Closed

Debug Tool bar Logo Rendered in PDF #71

gogl92 opened this issue Jun 29, 2016 · 6 comments

Comments

@gogl92
Copy link

gogl92 commented Jun 29, 2016

DebugToolBar.pdf
debugtoolbar

The debug Tool Bar is rendered in the PDF.
This shouldn't be in the PDF even in debug mode.

@mootensai
Copy link
Owner

Any idea on how to remove that?

@gogl92
Copy link
Author

gogl92 commented Jun 30, 2016

I will check the code to see what is happening, does anybody had this problem before?

@mootensai
Copy link
Owner

                                                                                  I think everybody having the same problem. I have that too, but I think that's OK because it's on debug mode. It will be gone if it's on production mode.

@mootensai
Copy link
Owner

@gogl92 have you found any solution to this?

@gogl92
Copy link
Author

gogl92 commented Aug 26, 2016

I didn't find a solution there is the option to take the string content and remove all the code of the tool bar but I think that is a good option.

@mootensai
Copy link
Owner

I'll close this issue as this is not a problem at production mode.

Eseperio added a commit to Eseperio/yii2-enhanced-gii that referenced this issue Feb 15, 2018
renderAjax try to inject additional information that is not needed for PDF. That is also the origin of the problem described on mootensai#71.
Also pdf must start at the begining of response, so output buffers must be cleared.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants