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) »
  • Error when Invoicing
Pages: [1]

Author Topic: Error when Invoicing  (Read 959 times)

KilakwaBT

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 11
  • CiviCRM version: 4.5.5
  • CMS version: WordPress 4.1
  • MySQL version: 5.1.68
  • PHP version: 5.3
Error when Invoicing
April 15, 2015, 09:31:33 am
I was working on setting up email invoicing in 4.6 and got an error. I went to http://wp46.demo.civicrm.org and got a similar error that is below.

Warning: require_once(packages/dompdf/dompdf_config.inc.php): failed to open stream: No such file or directory in /srv/buildkit/build/wp46/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/Task/Invoice.php on line 632 Fatal error: require_once(): Failed opening required 'packages/dompdf/dompdf_config.inc.php' (include_path='.:/srv/buildkit/build/wp46/wp-content/plugins/civicrm/civicrm:/srv/buildkit/build/wp46/wp-content/plugins/civicrm/civicrm/packages:.:/srv/buildkit/build/wp46/wp-content/plugins/civicrm/civicrm/:/srv/buildkit/build/wp46/wp-content/plugins/civicrm/civicrm//packages:.:/usr/share/php:/usr/share/pear') in /srv/buildkit/build/wp46/wp-content/plugins/civicrm/civicrm/CRM/Contribute/Form/Task/Invoice.php on line 632

The invoice came through from my install with no issue as a pdf attachment. I did not receive the invoice from the demo site.

I believe dompdf was removed in a recent upgrade release. I will try to debug further later today.

Generating pdf invoices for print seems to work fine.

BT

KilakwaBT

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 11
  • CiviCRM version: 4.5.5
  • CMS version: WordPress 4.1
  • MySQL version: 5.1.68
  • PHP version: 5.3
Re: Error when Invoicing
April 16, 2015, 07:22:47 am
I dis some more tests and found the following:

  • If trying to email invoices to multiple contacts the first goes through and the others do not.
  • There is no activity being recorded regarding the emailing of the invoice.

I did try to comment out the code related to dompdf beginning at line 632 but got additional errors. Debugging beyond this is a bit above my level.

Has anyone else experienced these issues or should I submit a bug report.

BT

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Error when Invoicing

This forum was archived on 2017-11-26.