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 CiviEvent (Moderator: Yashodha Chaku) »
  • Sporadic Blank Reminders
Pages: [1]

Author Topic: Sporadic Blank Reminders  (Read 383 times)

friendswoodtech

  • I’m new here
  • *
  • Posts: 28
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7
  • MySQL version: 5.1.56
  • PHP version: 5.3.6
Sporadic Blank Reminders
January 21, 2015, 11:47:02 am
I currently use CiviEvent on a site to manage a calendar for HOA Meetings.  I have an Event Template setup that includes a reminder to 5 Board members.  The content of the message is:

        The next Board Meeting is scheduled for {event.start_date} and will be held at {event.location}.

For quite some time, with no rhyme or reason that I can figure out, sporadically, the content of the message is missing either all or a portion.  But it's not across the board for all 5 messages that go out at a time.

Sometimes all 5 are perfect.  Other times, 4 are perfect and 1 may be completely blank or may have the text but no tokens were replaced (though the token holder was removed).

This has happened in several previous versions, and is still happening in 4.5.5.

Any suggestions on how to troubleshoot or even where to start?  I know it will take some time to track down, as I only send these every 2 weeks and often they are all good.

friendswoodtech

  • I’m new here
  • *
  • Posts: 28
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7
  • MySQL version: 5.1.56
  • PHP version: 5.3.6
Re: Sporadic Blank Reminders
February 17, 2015, 06:52:38 am
It's happened again.  I have pulled the files from template_c regarding this reminder and here's what I found.

This is the file that pertains to one of the messages received - in this message, the text came through but the tokens were not replaced.  The subject was populated with the constant text as well as the body.

Code: [Select]
<?php /* Smarty version 2.6.27, created on 2015-02-16 16:50:04
         compiled from string:The+next+Boca+Raton+HOA+Board+Meeting+is+scheduled+for%0A+and+will+be+held+at+. */ 
?>

<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'crmScope', 'string:The next Boca Raton HOA Board Meeting is scheduled for
 and will be held at .'
, 1, false),)), $this); ?>

<?php $this->_tag_stack[] = array('crmScope', array('extensionKey' => "")); $_block_repeat=true;smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>The next Boca Raton HOA Board Meeting is scheduled for
 and will be held at .<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>

Here is another received message from the same reminder.  In this one, the subject and body was blank.

Code: [Select]
<?php /* Smarty version 2.6.27, created on 2015-02-16 16:50:04
         compiled from string:Upcoming+Boca+Raton+HOA+Board+Meeting */ 
?>

<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'crmScope', 'string:Upcoming Boca Raton HOA Board Meeting', 1, false),)), $this); ?>

<?php $this->_tag_stack[] = array('crmScope', array('extensionKey' => "")); $_block_repeat=true;smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Upcoming Boca Raton HOA Board Meeting<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_crmScope($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>

They were both generated from the same reminder job.  It looks like of the 5 reminders that were sent, 2 received the text without tokens and 3 were completely blank.

Maybe I'm wrong about these files though.  I see the reminders log in upload for the event and there are no errors.  Still digging.
« Last Edit: February 17, 2015, 07:18:04 am by friendswoodtech »

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Sporadic Blank Reminders
February 17, 2015, 02:39:44 pm
We had something like this happening on our site at one stage.  The problem was tracked to people having more than one primary email address.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Sporadic Blank Reminders

This forum was archived on 2017-11-26.