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 CiviContribute (Moderator: Donald Lobo) »
  • Email Receipt for Recurring payment has blank subject line
Pages: [1]

Author Topic: Email Receipt for Recurring payment has blank subject line  (Read 1340 times)

leez

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: CiviCRM 4.0.4
  • CMS version: Drupal 7
  • MySQL version: MySQL 5.1
  • PHP version: PHP 5.3
Email Receipt for Recurring payment has blank subject line
August 05, 2011, 02:32:04 pm
The email receipt for a recurring payment, that is sent after receiving a response from Authorize.net, has a blank subject line, while the receipts that are sent immediately for a regular contribution have the subject 'Receipt - title_of_contribution. 

Does anyone know where, and if it's possible, to configure this?  Or is this a bug.

Thx!

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: Email Receipt for Recurring payment has blank subject line
August 06, 2011, 06:14:56 am
Can you check the subject of message template used for online contribution receipts.
http://drupal.demo.civicrm.org/civicrm/admin/messageTemplates/add?action=update&id=7&reset=1

It should be something like

Quote
{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title}

HTh
Kurund
Found this reply helpful? Support CiviCRM

leez

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: CiviCRM 4.0.4
  • CMS version: Drupal 7
  • MySQL version: MySQL 5.1
  • PHP version: PHP 5.3
Re: Email Receipt for Recurring payment has blank subject line
August 06, 2011, 11:50:26 am
Thanks for replying, Kurund.  There are no message templates.  Could that be the problem?  I don't understand why one-time contributions get a subject line, and recurring contributions (from the same contributions page) don't. 

leez

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: CiviCRM 4.0.4
  • CMS version: Drupal 7
  • MySQL version: MySQL 5.1
  • PHP version: PHP 5.3
Re: Email Receipt for Recurring payment has blank subject line
August 07, 2011, 01:27:24 pm
Update: I should also mention that there is no option for adding a new message template from within the empty list of message templates.  I've attached a screenshot for clarity.


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: Email Receipt for Recurring payment has blank subject line
August 08, 2011, 02:53:40 am
Looks like some problem with you install. Can you check if you get any javascript errors in the console. If yes may be try switching to Garland theme and check if you can see any messages templates.

Kurund
Found this reply helpful? Support CiviCRM

leez

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: CiviCRM 4.0.4
  • CMS version: Drupal 7
  • MySQL version: MySQL 5.1
  • PHP version: PHP 5.3
Re: Email Receipt for Recurring payment has blank subject line
August 08, 2011, 07:12:16 pm
I tried switching the theme, alas, still no output.  I also checked the civicrm_msg_template table, and it is full of templates, so it should be producing something.  I test-printed and verified the existence of output at the end of the browse function in MessageTemplates.php, but I'm not sure where this function gets called from.  If anyone knows the chain of scripts that produces this output, or has any other advice regarding this issue, I'd appreciate the insight.

Also, now that I've found the templates (in the database table), I'd like to know where the system decides which template is used for the contribution receipts.  I seem to have them all the templates in there, and none of them have a blank subject line, so I'm still confused as to why recurring (and only recurring) contribution receipts would get a blank subject line. 

Thanks!!

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: Email Receipt for Recurring payment has blank subject line
August 09, 2011, 03:47:20 am
If you have firefox, can you check your error console for errors. If you get any errors paste here..

You can also ping us on #civicrm irc channel, might be faster to debug

Kurund
Found this reply helpful? Support CiviCRM

leez

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: CiviCRM 4.0.4
  • CMS version: Drupal 7
  • MySQL version: MySQL 5.1
  • PHP version: PHP 5.3
Re: Email Receipt for Recurring payment has blank subject line
August 10, 2011, 03:35:30 pm
Thanks again for your help, Kurund.  I deleted the directory "templates_c" which seems to have been breaking the script because of permissions issues.  After deleting the directory and fixing the permissions, Message Templates, along with other affected pages, display fine.  Weee!

I'm now waiting for a recurring payment to go through to see if my original problem -- that subject lines of recurring receipts may or may not be missing -- was related to the permissions issue as well.
« Last Edit: August 10, 2011, 09:15:50 pm by leez »

leez

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
  • CiviCRM version: CiviCRM 4.0.4
  • CMS version: Drupal 7
  • MySQL version: MySQL 5.1
  • PHP version: PHP 5.3
Re: Email Receipt for Recurring payment has blank subject line
August 11, 2011, 11:15:17 am
Solved!  You were correct Kurund, that it was a problem with our installation, not a problem with CiviCRM.  Specifically, the web server did not have write access to certain directories, which was breaking functionality -- from displaying pages (Message Templates) to populating receipt content erratically (especially when multiple receipts were sent out at once, like with scheduled recurring contributions).  Thanks again for your help!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Email Receipt for Recurring payment has blank subject line

This forum was archived on 2017-11-26.