version = "5.x-1.1" project = "PDF-IDcard"
When I view the user account it appears
warning: Cannot modify header information - headers already sent by (output started at /home//modules/PDF-IDcard/pdfidcard.module(599) : eval()'d code:1) in /home/meshupo/public_html/sites/all/modules/PDF-IDcard/tcpdf/tcpdf.php on line 3509.
I print the pdf without background image as a pdf doc of small size (50x30approx) without any text, and when I insert some php code appears:
* warning: Cannot modify header information - headers already sent by (output started at /home/////modules/PDF-IDcard/pdfidcard.module(599) : eval()'d code:1) in ////modules/PDF-IDcard/tcpdf/tcpdf.php on line 3509.
Please How to fix?
| Comment | File | Size | Author |
|---|---|---|---|
| PDF-IDcard_test.png | 58.71 KB | AIS.CAT-1 |
Comments
Comment #1
jredding commentedThe error is coming from the eval()'d code which means that the PHP code you have in the badge PHP's area has an error.
The module does not correct or, sadly, warn when the PHP has errors you have to manually check the code. This is akin to putting PHP code into a node page.