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 CiviReport (Moderator: Dave Greenberg) »
  • Setting Up Extended Reports Fatal Error
Pages: [1]

Author Topic: Setting Up Extended Reports Fatal Error  (Read 882 times)

rlevine9

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.8
  • MySQL version: 5.5.23-55
  • PHP version: 3.4.10.1
Setting Up Extended Reports Fatal Error
December 30, 2012, 02:08:14 pm
Module shows as installed in Manage Extension. I uploaded files via FTP as clicking install was not working. Then I clicked install and module did install. I also tried replacing uploaded files based on files posted in recent URL provided by developer of module: h-t-t-p://github.-c-o-m/eileenmcnaughton/nz.co.fuzion.extendedreport/archive/master.zip

I registered each report with this type of info:
URL: price/contributionbased
CLASS: CRM_Extendedreport_Form_Report_Price_Contributionbased

Yet, I receive this fatal error when tying to create a report from this template:
Fatal error: Class 'CRM_Extendedreport_Form_Report_ExtendedReport' not found in /home/rlevine9/public_html/hphspto.org/civiextensions/nz.co.fuzion.extendedreport.newversion/CRM/Extendedreport/Form/Report/Price/Contributionbased.php on line 5

Can anyone advise what I should do to fix?

Thanks.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Setting Up Extended Reports Fatal Error
January 13, 2013, 12:43:23 pm
I take it you are on 4.1? I kind of removed the 4.1 support because it got tricky – 4.2 shouldn't have the 'require_once' statements but 4.1 should.

You could probably get to work by adding

require_once 'CRM/Extendedreport/Form/Report/ExtendedReport.php';

to
/home/rlevine9/public_html/hphspto.org/civiextensions/nz.co.fuzion.extendedreport.newversion/CRM/Extendedreport/Form/Report/Price/Contributionbased.php
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

rlevine9

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.8
  • MySQL version: 5.5.23-55
  • PHP version: 3.4.10.1
Re: Setting Up Extended Reports Fatal Error
January 13, 2013, 05:21:44 pm
That got me past first class required, but another one immediately followed.

Fatal error: Class 'CRM_Report_Form' not found in /home/rlevine9/public_html/hphspto.org/civiextensions/nz.co.fuzion.extendedreport.newversion/CRM/Extendedreport/Form/Report/ExtendedReport.php on line 3

I am having trouble finding path to this for the require statement. Can you help?

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Setting Up Extended Reports Fatal Error
January 13, 2013, 05:34:21 pm
CRM_Report_Form =

CRM/Report/Form.php
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Setting Up Extended Reports Fatal Error

This forum was archived on 2017-11-26.