[FX.php List] [OFF] mPDF snafu

Bob Patin bob at patin.com
Tue Apr 30 15:12:29 MDT 2013


Hey,

I see that GD is on his machine; here's what I see in phpinfo:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2013-04-30 at 4.10.04 PM, 04-30-2013.PNG
Type: image/png
Size: 89720 bytes
Desc: not available
Url : http://mail.iviking.org/pipermail/fx.php_list/attachments/20130430/b904bb18/ScreenShot2013-04-30at4.10.04PM04-30-2013-0001.png
-------------- next part --------------


This indicates that GD support is enabled, which is what I need, is that right?

BP

Bob Patin
Longterm Solutions LLC
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
FileMaker 9, 10 & 11 Certified Developer
Member of FileMaker Business Alliance and FileMaker TechNet
--
Twitter: bobpatin
AIM: longterm1954
iChat: bobpatin
--
Expert FileMaker Consulting 
FileMaker Hosting for all versions of FileMaker


On Apr 30, 2013, at 3:34 PM, Steve Winter <steve at bluecrocodile.co.nz> wrote:

> Hi Bob
> 
> If you're doing anything with images mPDF requires GD which may not be being included, check (via phpinfo()) that you have it…
> 
> Also you need to allow write access to three sub-folders;
> 	/ttfontdata
> 	/tmp
> 	/grpah_cache
> so make sure that the PHP user has write access to those folders (for testing simply chmod 777 on those three, if that resolves it, then you know that was the problem, at which point you can set correct permissions etc or revert to previous)
> 
> HTH
> 
> Cheers
> Steve
> 
>> Bob, you should be able to see the httpd error log by running Applications -> Utilities -> Console on OS X. On Mountain Lion, it's under /var/log/ - it might be in a different spot for other versions of OS X.
>> 
>> Another culprit could be file permissions. The www user on OS X is pretty restricted.
>> 
>> Dale
>> 
>> On Apr 30, 2013, at 11:55 AM, Bob Patin <bob at patin.com> wrote:
>> 
>>> The file mpdf.php does have a couple of REQUIREs on it, but I see the files to which it refers, so I don't think that's it...
>>> 
>>> 
>>> On Apr 30, 2013, at 11:30 AM, Bob Patin <bob at patin.com> wrote:
>>> 
>>>> I have a site I wrote for a client, which generates PDFs from their IWP site. Works great here on my machine running FMSA 11 and OS X Server.
>>>> 
>>>> However...
>>>> 
>>>> When I put the site on their machine I get my database query results, but if I include the mpdf.php page, the page never finishes loading.
>>>> 
>>>> I can even just include the mpdf folder, but not render a PDF, and it never finishes loading the page; it craps out if i uncomment 'include('mpdf/mpdf.php');
>>>> 
>>>> Has anyone had this problem? Could this be a PHP prefs error of some sort?
>>>> 
>>>> Thanks,
>>>> 
>>>> Bob
>>>> 
>>>> Bob Patin
>>>> Longterm Solutions LLC
>>>> bob at longtermsolutions.com
>>>> 615-333-6858
>>>> http://www.longtermsolutions.com
>>>> FileMaker 9, 10 & 11 Certified Developer
>>>> Member of FileMaker Business Alliance and FileMaker TechNet
>>>> --
>>>> Twitter: bobpatin
>>>> 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
>>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>> 
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>> 
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> 
> Steve Winter
> +44 777 852 4776
> steve at bluecrocodile.co.nz
> 
> 
> 
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list