You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: FAQ.htm
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -46,17 +46,16 @@ <h1>FAQ</h1>
46
46
<p><b>2.</b><spanclass='question'>I get the following error when I try to generate a PDF: Some data has already been output, can't send PDF file</span></p>
47
47
You must send nothing to the browser except the PDF itself: no HTML, no space, no carriage return. A common
48
48
case is having extra blank at the end of an included script file.<br>
49
-
If you can't figure out where the problem comes from, this other message appearing just before can help you:<br>
49
+
If you can't figure out where the problem comes from, this other message appearing just before will help you:<br>
50
50
<br>
51
51
<b>Warning:</b> Cannot modify header information - headers already sent by (output started at script.php:X)<br>
52
52
<br>
53
-
It means that script.php outputs something at line X. Go to this line and fix it.
54
-
In case the message doesn't show, first check that you didn't disable warnings, then add this at the very
55
-
beginning of your script:
53
+
It means that script.php outputs something at line X. Go to that line and fix it.
54
+
In case the message doesn't show, check if PHP warnings are enabled. If they are not, enable them. If they are,
55
+
try adding this at the very beginning of your script:
56
56
<divclass="doc-source">
57
57
<pre><code>ob_end_clean();</code></pre>
58
58
</div>
59
-
If you still don't see it, disable zlib.output_compression in your php.ini and it should appear.
0 commit comments