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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Paid Confirmation Emails Blank after Upgrade to 3.2.0
Pages: [1]

Author Topic: Paid Confirmation Emails Blank after Upgrade to 3.2.0  (Read 1378 times)

DeeFisher

  • I’m new here
  • *
  • Posts: 14
  • Karma: 1
    • New York State Psychological Association
  • CiviCRM version: 4.1.5
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.1.45
  • PHP version: 5.3.10
Paid Confirmation Emails Blank after Upgrade to 3.2.0
August 05, 2010, 05:54:19 am
Our paid confirmation e-mails are coming out blank after the upgrade.  The e-mails are sent (both to the attendee and to the bccs indicated), but the subject line and e-mail content are blank.

We just upgraded to CiviCRM 3.2.0 from 3.1.5.

Curiously, confirmations that do not involve a payment are coming through normally. 

Any suggestions on where to look?  We reverted our customized message templates back to default, but that didn't help!
« Last Edit: August 05, 2010, 06:01:29 am by DeeFisher »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Paid Confirmation Emails Blank after Upgrade to 3.2.0
August 05, 2010, 06:06:16 am
1. Can you make sure your System Workflow Messages: http://drupal.demo.civicrm.org/civicrm/admin/messageTemplates&reset=1
2. Try clearing your templates_c / cache

Hth
Kurund
Found this reply helpful? Support CiviCRM

DeeFisher

  • I’m new here
  • *
  • Posts: 14
  • Karma: 1
    • New York State Psychological Association
  • CiviCRM version: 4.1.5
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.1.45
  • PHP version: 5.3.10
Re: Paid Confirmation Emails Blank after Upgrade to 3.2.0
August 05, 2010, 07:11:59 am
Unfortunately neither worked. Still getting blanks.

A fellow staff person said she sent out a bulk e-mail through CiviMail yesterday and people reported receiving a blank message...

More pieces to the puzzle.  Here is a dump of the error log:

PHP Notice:  Undefined index:  3 in /home/nyspa/nyspa15/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/UFGroup.php on line 1844, referer: http://www.nyspa.org/administrator/index2.php?option=com_civicrm&task=civicrm/admin/contribute&reset=1&
PHP Notice:  Undefined index:  3 in /home/nyspa/nyspa15/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/UFGroup.php on line 1844, referer: http://www.nyspa.org/administrator/index2.php?option=com_civicrm&task=civicrm/contribute/transact&reset=1&action=preview&id=1
PHP Notice:  Undefined index:  3 in /home/nyspa/nyspa15/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/UFGroup.php on line 1844, referer: http://www.nyspa.org/administrator/index2.php?option=com_civicrm&task=civicrm/contribute/transact&
PHP Notice:  Undefined index:  log_start_date in /home/nyspa/nyspa15/administrator/components/com_civicrm/civicrm/CRM/Core/Payment/BaseIPN.php on line 379
PHP Warning:  Smarty error: unable to read resource: "string:{strip}[TEST] \n{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}{/strip}" in /home/nyspa/nyspa15/administrator/components/com_civicrm/civicrm/packages/Smarty/Smarty.class.php on line 1093
PHP Warning:  Smarty error: unable to read resource: [actual e-mail text here]
« Last Edit: August 05, 2010, 08:43:52 am by DeeFisher »

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: Paid Confirmation Emails Blank after Upgrade to 3.2.0
August 05, 2010, 10:03:20 am

u'll need to add debug statements here:

CRM/Core/BAO/MessageTemplates.php (near the call to: civicrm_smarty_register_string_resource)

not very sure why u r getting the last warning (unable to read resource: "string .....) thats the main reason for an empty subject/message

not seen this error before, so a bit lost here

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

DeeFisher

  • I’m new here
  • *
  • Posts: 14
  • Karma: 1
    • New York State Psychological Association
  • CiviCRM version: 4.1.5
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.1.45
  • PHP version: 5.3.10
Re: Paid Confirmation Emails Blank after Upgrade to 3.2.0
August 05, 2010, 11:22:33 am
Debug statements don't seem to be producing output.  Were there changes to the database with this upgrade? If not, we might just revert back to old version to get it working...

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: Paid Confirmation Emails Blank after Upgrade to 3.2.0
August 05, 2010, 12:15:29 pm

yes the upgrade has db changes

you will need to trace the code and figure out why the string resource is not being registered. Is the code even hitting the debug statement?

can u try to reproduce the same issue on our demo servers. if so, we can take a look and figure out whats happening and why

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

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Paid Confirmation Emails Blank after Upgrade to 3.2.0
August 05, 2010, 02:13:13 pm
Can I just get you to clarify your workflow - is this the automatically generated e-mail when someone registers for an event themself or an e-mail triggered by a back-office event registration?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

DeeFisher

  • I’m new here
  • *
  • Posts: 14
  • Karma: 1
    • New York State Psychological Association
  • CiviCRM version: 4.1.5
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.1.45
  • PHP version: 5.3.10
Re: Paid Confirmation Emails Blank after Upgrade to 3.2.0
August 11, 2010, 07:03:43 am
Eileen, this is a confirmation email when a user registers from the frontend.

From the debug statements, it seems the tokens are not getting replaced.  The log reports the following when I print subject after the string_resource call:

Aug 11 09:59:20  [info] $subject = {strip}[TEST]{$title}{/strip}


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Paid Confirmation Emails Blank after Upgrade to 3.2.0

This forum was archived on 2017-11-26.