ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Encrypted PDF issue

millermulti 08 Jul, 2014
Answer
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:

$perms = (count($config->get('permissions', "")) > 0) ? $config->get('permissions', "") : array();

This resolves the issue. Password protection works just fine after the change.

--Gary
Max_admin 12 Jul, 2014
Thanks!🙂
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com