CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • PDF Letters, white pages, internal server error 500
Pages: [1]

Author Topic: PDF Letters, white pages, internal server error 500  (Read 1412 times)

behrang

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 4.05
  • CMS version: drupal 7
  • MySQL version: 5
  • PHP version: 5
PDF Letters, white pages, internal server error 500
November 25, 2011, 03:05:37 am
Hi
wenn doing a search with many results i get a white page oder internal server error message when creating pdf letter to more than approx. 50-60 recipients.
How can I change that limit?
thx

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: PDF Letters, white pages, internal server error 500
November 25, 2011, 04:11:30 am
Increasing the memory available for php or simplifying the template.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

behrang

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 4.05
  • CMS version: drupal 7
  • MySQL version: 5
  • PHP version: 5
Re: PDF Letters, white pages, internal server error 500
November 25, 2011, 04:24:59 am
hi
can i increase the value in civicrm code somewhere?
oder should i use iniset somewhere in the index?
greets

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: PDF Letters, white pages, internal server error 500
November 26, 2011, 12:08:04 pm
Quote from: behrang on November 25, 2011, 04:24:59 am
hi
can i increase the value in civicrm code somewhere?
oder should i use iniset somewhere in the index?
greets

See here http://drupal.org/node/207036 for how to "Increase PHP memory limit" in Drupal
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

behrang

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 4.05
  • CMS version: drupal 7
  • MySQL version: 5
  • PHP version: 5
Re: PDF Letters, white pages, internal server error 500
November 27, 2011, 02:41:18 pm
Hi
the memory limit ist set @ 768 M (ini_get).

the template consists of 6 cells html table with static text and no token.

still i get a white page when creating pdf letter for 280 contacts.
does anybody have an idea or can at least tell me what the customer should expect being possible?

greets

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: PDF Letters, white pages, internal server error 500
November 27, 2011, 03:19:20 pm

We use dompdf to render HTML -> PDF. As such we really have no idea how much memory or why/how it consumes memory. You might want to check on their forums

If you want to print a lot of PDF's etc, a better bet might be to use pdflib directly. U'll need to write custom code and buy a commercial license for pdflib

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • PDF Letters, white pages, internal server error 500

This forum was archived on 2017-11-26.