I'm getting the above error when clicking the link on the user account page. I tested the install of tcpdf using the test_unicode.php file and this was fine. What are the possible causes of this error?
I'm getting the above error when clicking the link on the user account page. I tested the install of tcpdf using the test_unicode.php file and this was fine. What are the possible causes of this error?
Comments
Comment #1
jredding commentedthe path to the tcpdf library must be configured on the module's settings page. The module's settings page will also test to see if it can correctly initialize tcpdf.
Comment #2
Nikkol commentedYes, I checked the path. It was correct. I clicked the Save Configuration button several times and now I get the following error when clicking the link to the ID card:
Parse error: syntax error, unexpected $end in /home/kystene/public_html/sites/all/modules/PDF-IDcard/pdfidcard.module(599) : eval()'d code on line 3
TCPDF error: Some data has already been output to browser, can't send PDF file
When clicking the back button I get a warning:
warning: Cannot modify header information - headers already sent by (output started at /home/kystene/public_html/sites/all/modules/PDF-IDcard/pdfidcard.module(599) : eval()'d code:3) in /home/kystene/public_html/sites/all/modules/PDF-IDcard/tcpdf/tcpdf.php on line 2931.
Comment #3
jredding commentedthe error is coming from the eval()d code which is the code in the template. I'd suggest removing all of the code from the template and then trying again. Once its working put the code back check it for errors and then try again.
Comment #4
Nikkol commentedI haven't had time to test this yet ... kinda low on my to-do list at the moment, but once I do, I'll report back with the results.
Comment #5
jredding commentedClosing this as the question has been answered and no updated have been made.