Plugins - Create PDF - Test Failed! is using https

By Dave - April 27, 2018

Hi Brownleather, 

Is it working aside from that?  I think the issue is we're not detecting 301 as a valid return code but it is.  I can update the code for that with the next release.

Let me know, thanks!

Dave Edis - Senior Developer

By Brownleather - April 27, 2018

It turns out that its was the temp directory...

I added temp directory setting before the createPDF_fromOutput call and all is working!

$GLOBALS['CREATEPDF_TEMPDIR_PATH'] = '/home/account_name/public_html';
createPDF_fromOutput('attachment', 'statement-'.$statement_key.'.pdf');

By Dave - April 27, 2018

Ok, great.  Glad to hear your got it working!

Dave Edis - Senior Developer

By Brownleather - April 30, 2018

What approach would recommend using for generating a large PDF (say one thousand pages)?


By Dave - April 30, 2018

It's going to take a lot of memory, I'd recommend seeing if you could generate them individually and then merge them.  You might need to try a few additional command line binaries for that.  


Dave Edis - Senior Developer