Hello,
A couple years ago you helped me out by creating the PDF plugin for Chronoforms. I have a new site with similar requirements, the ability to covert the form into an encrypted PDF which can then be emailed out. I see you have the PDF plugin available for V5, I have loaded it and performed a test with/without password protection. Without a password everything worked fine with password I received an error in tcpdf/tcpdf.php line 74. The issue is that the password settings are stored in an array. Your code is designed for a string which then errors out. I modified line 74 to be the following:
This resolves the issue. Password protection works just fine after the change.
--Gary
A couple years ago you helped me out by creating the PDF plugin for Chronoforms. I have a new site with similar requirements, the ability to covert the form into an encrypted PDF which can then be emailed out. I see you have the PDF plugin available for V5, I have loaded it and performed a test with/without password protection. Without a password everything worked fine with password I received an error in tcpdf/tcpdf.php line 74. The issue is that the password settings are stored in an array. Your code is designed for a string which then errors out. I modified line 74 to be the following:
$perms = (count($config->get('permissions', "")) > 0) ? $config->get('permissions', "") : array();
This resolves the issue. Password protection works just fine after the change.
--Gary
Thanks!🙂
This topic is locked and no more replies can be posted.