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) »
  • Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
Pages: [1] 2

Author Topic: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5  (Read 4286 times)

gholt

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 19, 2011, 11:29:38 am
It seems that since I upgraded to 3.4.5, some of my confirmation emails are incomplete.

I'm running CiviCRM in a Drupal 6 site. I'm allowing online registration, as well as entering mailed paper registrations using the administration menus.

The only customization that I'm doing to the message templates is to put a header at the top before the "Begin Content." The header includes the name of the participant, and their "institution" (custom field). And the confirmation emails were working fine before the upgrade to 3.4.5.

First, none of the confirmation emails have PDF receipts attached any more. Same behavior for both online registration, and entering registrations using the admin menus.

Another problem, is that some of the confirmation emails are incomplete. When this happens, the email shows the usual event info and location, registered email, only the first part of the fee summary, and none of the profile results.

And I've been trying to narrow down when the confirmation emails get truncated, and it seems that it's only happening for online registration, when the participant pays via credit card. I just had a registration come through fine (except for the lack of PDF receipt) that used the Pay Later option.

I tried to "revert to default" for the message templete, and just paste the header code in. But no change.

Any ideas on what would be causing this and how to fix it? Thanks in advance for any help you can provide.

gholt

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 19, 2011, 03:18:39 pm
As a follow-up. I just had an event registration come through for one person, and everything in the confirmation email was fine, except of course that it didn't have the PDF receipt attached.

I suppose I should have mentioned this as well. The email that is sent by the profile submission (I have my email address entered for "Notify when profile form is submitted?"), is truncated -- even on this participant where the confirmation email, including the profile info, was fine. The truncated profile notification email includes:
Submitted For (no problem)
Date (no problem)
Contact Summary (this is just the link; no problem)
Title of the profile that was submitted (no problem)
And the first line of the info submitted in the profile just says "0            Array" with the 0 and "Array" lined up with the 2 columns in the table.

It seems that the truncation of the confirmation email being truncated is only happening when a participant registers multiple participants. But the profile notification email is getting truncated every time. But the information from the profile submission is getting entered into the system just fine.

Oh, and it's not connected to credit card payment. When I looked back at some of the registrations over the past week, I found "pay later" registrations that were truncated.

Can anyone help me understand and correct this bizarre behavior? The profile looks fine, and seems to be capturing the information to the database without errors.

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Re: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 20, 2011, 06:45:40 am
If you were upgrading a 3.4.3 or earlier version, the absence of the PDF is probably caused because you have not selected YES for  'Attach PDF copy to receipts' which is an option under Home › CiviCRM › Administer CiviCRM › Global Settings - Miscellaneous. This setting was introduced in 3.4.4 (?).  The default was set to "NO" as events where the receipt was more than one pdf page were causing a WSOD for people registering with no receipt going out at all.


I have no idea about the incomplete receipts - I am just a user not a developer. 

gholt

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 20, 2011, 02:48:24 pm
Thanks for pointing out the Attach PDF option in Miscellaneous. I went looking for an option that could have been somehow toggled off, but I always to forget to look in Miscellaneous! You were correct that this wasn't set to Yes. I wasn't aware that this became an option in 3.4.4. I thought the PDFs were still working in 3.4.4. Anyway, I'm sure they'll work fine now. Thanks, jchester!

Now if someone can help with the incomplete emails... Please?

sussdorff

  • I post occasionally
  • **
  • Posts: 36
  • Karma: 4
  • CiviCRM version: 3.4
  • CMS version: Drupal 6
Re: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 22, 2011, 08:33:29 am
I got a bug report this morning about the missing custom profile data as well. It seems to happen only if you are not going through the pending from .... process though and we need to narrow the occurrences down even further. Once we do, I will dive into that and try to fix it.

gholt

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 22, 2011, 09:01:48 pm
Great! Thanks! If you think of anything I can do to help narrow it down, please let me know.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 25, 2011, 07:06:50 am
I also have a bug report about the

0   Array

output for custom fields. I would like to investigate the code myself, but I'm not actually sure where this code is...
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.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 25, 2011, 08:55:30 am
We 'll investigate this and revert back with our findings.

You  might wanna debug  $customProfile at the end of  buildCustomProfile function in CRM/Event/BAO/Event.php

HTH
-Yashodha
« Last Edit: August 26, 2011, 02:08:34 am by Yashodha Chaku »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 26, 2011, 03:37:52 am
filed http://issues.civicrm.org/jira/browse/CRM-8746 for the same

-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

hbergin

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 6
  • CiviCRM version: 3.4.5 to 4.4.1
  • CMS version: Drupal 6.28 to 7.23
  • MySQL version: 5.5.34
  • PHP version: 5.3.10
Re: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 30, 2011, 08:23:48 am
Some more field data:
On a site recently upgraded to 3.4.5, we are seeing the 0 Array issue in the confirmation emails for events where we include profiles at the top and/or bottom of the page.  The Profiles show 0 Array in the confirmation email only, whether they contain custom data or not, e.g. including the "New Individual" profile.

If there is any other information that might help, let me know.

Thanks,
Helen

wjm

  • I post occasionally
  • **
  • Posts: 88
  • Karma: 0
  • CiviCRM version: Latest
  • CMS version: Joomla (Latest)
Re: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 30, 2011, 11:39:42 am
I stopped getting any emails since upgrading to 3.4.5.  I sent myself the test email in the SMTP Setup in global settings, but no luck having any generated ones sent to me from an event registration.

Correction... it's working now... somehow when I went back in, I hadn't done the "database upgrade".
« Last Edit: September 01, 2011, 10:55:09 am by wjm »

hbergin

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 6
  • CiviCRM version: 3.4.5 to 4.4.1
  • CMS version: Drupal 6.28 to 7.23
  • MySQL version: 5.5.34
  • PHP version: 5.3.10
Re: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 31, 2011, 03:13:57 pm
Around Ln 1250, at the end of the buildCustomDisplay function in CRM/Event/BAO/Event.php, if I make the following changes, I get the profiles showing up correctly in the confirmation email.

Basically, comment out the $val assignment, and change the $val references to $values.  Not sure if this is the right fix, so will post info to CRM-8746 to see if it helps resolve the issue.

Code: [Select]
                //$val[] = $values;
            }
        }
        if (count( $values ) ) {
            $template->assign( $name, $values );
        }
       
        if ( count ($groupTitles)) {
            $template->assign( $name.'_grouptitle', $groupTitles );
        }
        //return if we only require array of participant's info.
        if ( $isCustomProfile ) {
            if ( count($values) ) {
                return array( $values, $groupTitles );
            } else {
                return null;
            }
        }

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 31, 2011, 03:24:57 pm
I have had 3 instances of Membership 'receipts' (though all were actually pay later 'Tax Invoices') fwded to me by a client on 4.0.5 where all the Contact and Custom fields were replaced with the word ARRAY - also the field labels are replaced by field name - I also just spotted that an earlier array problem still had our Custom Member fields filled correctly (see img 1) but the later ones don't and also isn't showing the Profile title any more (see img 2)

Happy to look in to these examples further if you think I can shed any light but it is a major problem in the eyes of clients when it was working (in their view) correctly previously.

We have modified the Msg Tpl and am happy to supply details if that might be a factor.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 31, 2011, 03:25:53 pm
can we pls get the file size limit upped so attaching multiple images isnt such a pain?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

gholt

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5
August 31, 2011, 07:56:26 pm
Thank you to all who are working on this.

I don't know if this helps, but my membership renewal receipt emails are always fine. It's the event registration receipt emails that I'm seeing as incomplete.

And here's a weird one. I recently got an event registration receipt that looks fine, but the profile submission email is incomplete. This is just one event registration -- in other words, the profile submission email, and the event registration receipt, are from a single person's event registration. The conference delegate profile is imbedded in the event registration form. I've attached images of the emails. Sorry for the redaction paint-over, but this is a live site.

Let me know if I can do anything else to help track it down. I'm not a programmer, so I can only test.

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Incomplete confirmation emails, no PDFs; since upgrade to 3.4.5

This forum was archived on 2017-11-26.