DOMPDF: Unable to stream pdf: headers already sent

后端 未结 10 2133
夕颜
夕颜 2020-12-18 06:45

This question has been raised hundred of times in various fora; some have been solved, some not. I checked plenty of resources, but my issue could not be resolved. I am gene

10条回答
  •  隐瞒了意图╮
    2020-12-18 07:34

    I tried to echo out, but no white spaces or line breaks were found. At the end, I redirected the php to another page instead of PHP_SELF and the problem vanished. I did not alter any code. Looks like presence of html tags after the php ended was the offending factor.

提交回复
热议问题