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) »
  • Live Contribution Page Issue
Pages: [1]

Author Topic: Live Contribution Page Issue  (Read 540 times)

jaymcgraw

  • I post occasionally
  • **
  • Posts: 106
  • Karma: 6
  • CiviCRM version: 4.1.2
  • CMS version: Drupal 7.12
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.11
Live Contribution Page Issue
July 01, 2011, 10:59:32 am
We've created a contribution page for memberships. If I try it in test-drive mode, everything works as expected. But using the live mode, I get a long wait when clicking "Make Contribution" after reviewing the information and then eventually an error message (not the same each time) and do not receive an email receipt. Looking in Civi afterwards, the transaction actually completes and the membership and contribution records are there as expected. I'm not sure what's causing this.

What are the differences between the live mode and test-drive mode? Any suggestions on debugging this?

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: Live Contribution Page Issue
July 02, 2011, 08:50:09 am

Check:

http://drupal.demo.civicrm.org/civicrm/admin/setting/misc?reset=1

and disable the "Attach PDF copy..."

most likely this is due to the PDF generation

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

jaymcgraw

  • I post occasionally
  • **
  • Posts: 106
  • Karma: 6
  • CiviCRM version: 4.1.2
  • CMS version: Drupal 7.12
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.11
Re: Live Contribution Page Issue
July 05, 2011, 03:11:55 pm
I disabled the PDF generation and that seems to have resolved the issue. Thank you for that!

Now new questions arise, very much non-urgent: What's causing the PDF generation issue and how can it be fixed?

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Live Contribution Page Issue
July 06, 2011, 12:14:14 am
The library use to generate the pdf takes html and convert it to pdf. Depending on the complexity of the html, this can quickly takes a lot of calculation and memory, more than what is allowed.

IMO, the solution would be to generate directly the pdf using the native function to do the layout (what we did for the badges). Means that you need to create a new code to do a new format, but allow more precise things and advanced function (eg generate codebar).

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Live Contribution Page Issue

This forum was archived on 2017-11-26.