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) »
  • Getting non-recoverable error message when clicking print icon
Pages: [1]

Author Topic: Getting non-recoverable error message when clicking print icon  (Read 2508 times)

nutbuster

  • Guest
Getting non-recoverable error message when clicking print icon
April 11, 2008, 05:43:10 pm
After I register for an event, it goes to the confirmation/thank you page. That all looks good, but when I click the print icon in the top right to show the printer-friendly version of the confirmation, I get the following error:

Sorry. A non-recoverable error has occurred.

We experienced an unexpected error. Please file an issue with the backtrace


I ran it again w/ backtrace enabled and got this:

/home/events/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php, backtrace, 258
/home/events/administrator/components/com_civicrm/civicrm/CRM/Core/DAO.php, fatal, 627
/home/events/administrator/components/com_civicrm/civicrm/CRM/Event/StateMachine/Registration.php, getFieldValue, 57
/home/events/administrator/components/com_civicrm/civicrm/CRM/Event/Controller/Registration.php, __construct, 47
/home/events/administrator/components/com_civicrm/civicrm/CRM/Event/Invoke.php, __construct, 99
/home/events/administrator/components/com_civicrm/civicrm/CRM/Core/Component.php, main, 130
/home/events/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php, invoke, 158
/home/events/components/com_civicrm/civicrm.php, invoke, 82
/home/events/components/com_civicrm/civicrm.php, civicrm_invoke, 26
/home/events/libraries/joomla/application/component/helper.php, require_once, 161
/home/events/includes/application.php, renderComponent, 124
/home/events/index.php, dispatch, 68



Now, the print icon works fine on all other pages, such as the event details page.  The error only occurs on the event confirmation page.

Any ideas?

Using civicrm 2.02 and joomla.


Thanks!

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: Getting non-recoverable error message when clicking print icon
April 11, 2008, 09:51:16 pm

This is a bug. Can you please file an issue and we'll fix it in 2.1

I dont think that page can have a print icon, since we clean up the session to get rid of credit card numbers in the session on the final page. So the solution will be to remove the print button from the event, contribution, member confirmation pages. This is not great but avoids a user stumbling on bad error

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

nutbuster

  • Guest
Re: Getting non-recoverable error message when clicking print icon
April 11, 2008, 10:56:39 pm
Will do, thanks.

In the mean time, I disabled the print icon altogether to avoid people getting that error.

civicrm/templates/CRM/common/joomla.tpl
commented out line 53

seanick

  • Guest
Re: Getting non-recoverable error message when clicking print icon
April 14, 2008, 09:03:04 am
FYI - this is not just Joomla -- does it on Drupal too.

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: Getting non-recoverable error message when clicking print icon
April 14, 2008, 11:00:34 am

this will be fixed in v2.1

issue here: http://issues.civicrm.org/jira/browse/CRM-2985

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

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Getting non-recoverable error message when clicking print icon
May 07, 2008, 04:05:04 am
We found a different solution for giving users an easy prompt to print Registration and Contribution Thank-you pages. Rather than eliminating the Print icon - it's behavior is switched to call the javascript window.print function when clicked (this as the same as if the user clicked File / Print from browser menu).

The affected files are referenced in this issue for anyone who might be interested in backporting:

http://issues.civicrm.org/jira/browse/CRM-2985
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Getting non-recoverable error message when clicking print icon

This forum was archived on 2017-11-26.