[FX.php List] [OFF] MPDF geeking after a server config file
rebuild
Andy Gaunt
andy at fmpug.com
Wed Dec 4 14:15:28 MST 2013
+1 Steve
In your dev environment have them ALL turned on - some errors get annoying (like missing variables) but it helps to catch the bigger buggers and forces you to ensure nothing slips through.
- Andy
On Dec 4, 2013, at 4:13 PM, Steve Winter <steve at bluecrocodile.co.nz> wrote:
> lol... had you considered the possibility of enabling error reporting so that you can see where/when/how it fails....?
>
> FWIW filesize limit relates to uploaded files, so isn't going to be relevant here ;-)
>
>> Well, I spoke too soon; it doesn’t stall out anymore, but the PDF doesn’t get generated.
>>
>> I’m wondering if it’s the file_size limit or something like that; I may bump them too…
>>
>>
>> Bob Patin
>> Longterm Solutions
>> bob at longtermsolutions.com
>> 615-333-6858
>> FileMaker 9, 10, 11 & 12 Certified Developer
>> http://www.longtermsolutions.com
>> -
>> iChat: bobpatin at me.com
>> Twitter: bobpatin
>> —
>> FileMaker Consulting
>> FileMaker Hosting for all versions of FileMaker
>> PHP • Full email services • Free DNS hosting • Colocation • Consulting
>>
>> On Dec 4, 2013, at 3:00 PM, Dale Bengston <dale.bengston at gmail.com> wrote:
>>
>>> Hey Bob,
>>>
>>> You can up the memory in the script itself. Add to the top of your PDF-making script:
>>>
>>> ini_set('memory_limit’,’64M');
>>>
>>> …replace 64 with your desired memory amount.
>>>
>>> There is also an entry for memory_limit in php.ini if you want to give PHP more memory all the time.
>>>
>>> Dale
>>>
>>> PS To shortcut doing a CD in Terminal, type CD and then drag/drop the folder on your terminal window.
>>>
>>> On Dec 4, 2013, at 2:53 PM, Bob Patin <bob at patin.com> wrote:
>>>
>>>> Hey Dale,
>>>>
>>>> Good thought; do you recall offhand what the memory setting is called? I can get to php.ini in the Finder so I think I’ll just modify it there.
>>>>
>>>> Is restarting web good enough for picking up PHP changes?
>>>>
>>>> Thanks,
>>>>
>>>> Bp
>>>>
>>>> Bob Patin
>>>> Longterm Solutions
>>>> bob at longtermsolutions.com
>>>> 615-333-6858
>>>> FileMaker 9, 10, 11 & 12 Certified Developer
>>>> http://www.longtermsolutions.com
>>>> -
>>>> iChat: bobpatin at me.com
>>>> Twitter: bobpatin
>>>> —
>>>> FileMaker Consulting
>>>> FileMaker Hosting for all versions of FileMaker
>>>> PHP • Full email services • Free DNS hosting • Colocation • Consulting
>>>>
>>>> On Dec 4, 2013, at 2:37 PM, Dale Bengston <dale.bengston at gmail.com> wrote:
>>>>
>>>>> Hi Bob,
>>>>>
>>>>> Perhaps PHP's memory allocation got reset to default? Making PDFs uses a lot of memory.
>>>>>
>>>>> Hope this helps,
>>>>> Dale
>>>>
>>>> _______________________________________________
>>>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20131204/d461b1fc/attachment.html
More information about the FX.php_List
mailing list