[FX.php List] Problem creating mPDF file
chris at iViking.org
Wed Dec 26 11:23:13 MST 2012
It sounds to me like there's some problem writing the file (even if you're sending an email, it's putting the file somewhere for use when it's needed...) Any idea what directory it's using for that storage? Is it perhaps trying to store the file in a non-existant directory, or one for which the web user has insufficient permissions? Any more details in the apache error log?
On Dec 26, 2012, at 11:05 AM, Bob Patin wrote:
> I'm having a problem creating a PDF using mPDF; here's what happens:
> 1. If I create the PDF to the browser
> it works fine.
> 2. If I try to create the PDF using a filename, so that I can attach and email it
> it returns the error
> mPDF error: Unable to create output file: cert.pdf
> 3. If I use this:
> it prompts for a directory and creates the PDF.
> UNFORUNATELY, #2 is what I need; has anyone had this issue, and if so, how did you resolve it? I've used this exact same page of code with another site and it worked fine... different server, but from what I can see, the web server isn't the issue.
> Thanks for any help; best,
> Bob Patin
> Longterm Solutions LLC
> bob at longtermsolutions.com
> FileMaker 9, 10 & 11 Certified Developer
> Member of FileMaker Business Alliance and FileMaker TechNet
> Twitter: bobpatin
> Google+: http://www.longtermsolutions.com/plus
> AIM: longterm1954
> iChat: bobpatin
> Expert FileMaker Consulting
> FileMaker Hosting for all versions of FileMaker
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
More information about the FX.php_List