Create PDF Plugin error

By Toledoh - April 10, 2016

Hi Guys.

Although everything is "passed" in the Create PDF - Test Server Requirements - the visual inspection window shows the following errors:

Notice: Undefined variable: outputArray in /home/cmsbtest/public_html/cmsb/plugins/createPDF/createPDF.php on line 168 Notice: Undefined variable: returnCode in /home/cmsbtest/public_html/cmsb/plugins/createPDF/createPDF.php on line 168 Warning: exec() has been disabled for security reasons in /home/cmsbtest/public_html/cmsb/plugins/createPDF/createPDF.php on line 168 Notice: Undefined variable: outputArray in /home/cmsbtest/public_html/cmsb/plugins/createPDF/createPDF.php on line 169 Notice: Undefined variable: returnCode in /home/cmsbtest/public_html/cmsb/plugins/createPDF/createPDF.php on line 173 createPDF_display: Can't output PDF because headers already sent! Output started in /home/cmsbtest/public_html/cmsb/plugins/createPDF/createPDF.php line 168. Make sure you don't have any html or whitespace characters in your code before calls to createPDF_ functions.

Running 3.03 (Build 2073)

Cheers,

Tim (toledoh.com.au)

By Dave - April 11, 2016

Hey Tim, 

It's because your host has disabled some of the PHP functions that we are using:

 Warning: exec() has been disabled for security reasons 

If you ask your host to turn that back on it will work properly.

Dave Edis - Senior Developer
interactivetools.com