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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Error when creating a new page format (v4.4.4)
Pages: [1]

Author Topic: Error when creating a new page format (v4.4.4)  (Read 611 times)

tv2011

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: 5
Error when creating a new page format (v4.4.4)
March 12, 2014, 07:53:17 am
When I create an A4 default page format, I get the following errors in Drupal. How do I fix it?

Code: [Select]
Notice: Undefined index: orientation in CRM_Core_BAO_PdfFormat->savePdfFormat() (line 364 of /srv/domain.org/public/htdocs/profiles/civicrm_starterkit/modules/civicrm/CRM/Core/BAO/PdfFormat.php).
Notice: Undefined index: metric in CRM_Core_BAO_PdfFormat->savePdfFormat() (line 364 of /srv/domain.org/public/htdocs/profiles/civicrm_starterkit/modules/civicrm/CRM/Core/BAO/PdfFormat.php).
Notice: Undefined index: margin_top in CRM_Core_BAO_PdfFormat->savePdfFormat() (line 364 of /srv/domain.org/public/htdocs/profiles/civicrm_starterkit/modules/civicrm/CRM/Core/BAO/PdfFormat.php).
Notice: Undefined index: margin_bottom in CRM_Core_BAO_PdfFormat->savePdfFormat() (line 364 of /srv/domain.org/public/htdocs/profiles/civicrm_starterkit/modules/civicrm/CRM/Core/BAO/PdfFormat.php).
Notice: Undefined index: margin_left in CRM_Core_BAO_PdfFormat->savePdfFormat() (line 364 of /srv/domain.org/public/htdocs/profiles/civicrm_starterkit/modules/civicrm/CRM/Core/BAO/PdfFormat.php).
Notice: Undefined index: margin_right in CRM_Core_BAO_PdfFormat->savePdfFormat() (line 364 of /srv/domain.org/public/htdocs/profiles/civicrm_starterkit/modules/civicrm/CRM/Core/BAO/PdfFormat.php).

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Error when creating a new page format (v4.4.4)
March 20, 2014, 12:56:45 pm
Those are 'notices' not errors and CiviCRM is full of them.  I suggest you turn your warning level down in Drupal settings or on your server PHP configuration.  I generally ignore anything less severe than a 'fatal error'.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

tv2011

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 0
  • CiviCRM version: 4.5
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: 5
Re: Error when creating a new page format (v4.4.4)
March 22, 2014, 03:25:14 pm
Will do, thanks.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Error when creating a new page format (v4.4.4)

This forum was archived on 2017-11-26.