Forums

TCPDF and php 7.1+ - multiple links in pdf not working

bensonley 03 Mar, 2019
Hi

I've noticed when upgrading from php7.0.x to 7.1+ that any pdfs created appear fine, except for ones that contain multiple links on the pdf. the first link always works fine but any subsequent links just appear as non-clicnable even though tohe frmatting seems correct there is no link.

I've done a bit of research and found this page: https://github.com/elibyy/tcpdf-laravel/issues/19 - not sure how relevant it is but the symtoms are the same.

Is there a planned update for this or a fix I can quickly implement?

Thanks,

Ben
bensonley 11 Feb, 2020
Answer
1 Likes
Ok came back to this issue recently and have found a solution. Just need to update the tcpdf library files found here:

https://github.com/tecnickcom/TCPDF

That fixes it ( and probably some other issues as teh version we use is very old ). If you need a more detailed explanation then reply and i'll post which files need to be overwritten / added.
jpoulos 13 Jul, 2020
Thanks for posting this! Can you advise as to the files I need to update?
fmerz 04 Jan, 2021
Hi bensonley,
Do you still remember which files need to be replaced/added to TCPDF to fix the above problem?
I have the same problem and would highy appreciate your help.

Thanks,
Felix
This topic is locked and no more replies can be posted.