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) »
  • Blank thank you page
Pages: [1]

Author Topic: Blank thank you page  (Read 685 times)

secularaugust

  • I’m new here
  • *
  • Posts: 26
  • Karma: -1
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.1.41-3ubuntu12.10
  • PHP version: 5.3
Blank thank you page
February 04, 2011, 12:53:15 pm
So I'm testing out PayPal Pro as a payment processor for Civi.  I can get it to record donations both in test and live mode, but the transaction takes about three minutes to process and ends up with a blank page for the user.  That is, after the transaction goes through, civi sends the user to BASEURL/civicrm/contribute/transact which is blank.

The test (and real) donations show up in the list of donations, and PayPal (both real and Sandbox) believe that the transactions happen.  The donor just doesn't get told about it.

I'm running Civi version 3.3 and Drupal 6.19 on Win7 XAMPP.

Is there an error log somewhere?

Any other ideas?

Thanks!

secularaugust

  • I’m new here
  • *
  • Posts: 26
  • Karma: -1
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.22
  • MySQL version: 5.1.41-3ubuntu12.10
  • PHP version: 5.3
Re: Blank thank you page
February 07, 2011, 11:39:58 am
So I got this figured out.

The problem was the thank you email.  Civi was set to use SMTP via gmail and I guess that wasn't working (maybe a ports/firewall issue?).  Rather than failing with an error message, it just went to a blank page after three minutes.  Making misconfigured email settings fail more gracefully would be a nice improvement.  (I get that error handing is boring to code.)

Anyhow, I got sendmail working (with Google).  Instructions http://finesoft-llp.com/blog/knowledgesharing/xampp-how-to-use-gmail-for-sendmail-ini/comment-page-1/

And now it sends a thank you email and shows the thank you page just like it should.

Yay!

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: Blank thank you page
February 07, 2011, 12:15:21 pm

we use PEAR/Mail for most of our mail handling needs, so would be great if you can follow up there and potentially provide a patch that traps the below error.

http://pear.php.net/package/Mail/

In general dealing with various mail servers and their implementations is not a trivial thing to handle, IMO. Its a bit more complicated than writing boring error handling code

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

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: Blank thank you page
February 07, 2011, 12:31:13 pm

a quick google search helped. filed and fixed the issue here:

http://issues.civicrm.org/jira/browse/CRM-7510

which hopefully fixes the problem for future users. In general it does help the community and the project a LOT, if folks take the initiative and try to figure out what changes can be done to improve error detection / messages / the code base

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Blank thank you page

This forum was archived on 2017-11-26.