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) »
  • Problems with Extended Reports
Pages: [1]

Author Topic: Problems with Extended Reports  (Read 1419 times)

bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Problems with Extended Reports
November 28, 2012, 12:45:17 pm
I have looked extensively to find out why I am having problems with the Extended Reports.  I have loaded the zip, validated that all the files are there, that the URLs and Classes are named according to the instructions located here: http://wiki.civicrm.org/confluence/display/CRMDOC42/Extended+Reports+Extension.  I validated that the Directories and Resource URLs are correct. 

So I can open up and use the Contribution Based template just fine.  I am assuming that this validates proper configuration of the items above.

However when I open up the Line Item Report template and the Line Item Membership Report template I get the following error (this one is from lineitemmembership) :

Warning: require_once(CRM/Report/Form/Extended.php) [function.require-once]: failed to open stream: No such file or directory in /home/'mydomain"/public_html/media/civicrm/extensions/nz.co.fuzion.extendedreport/CRM/Extendedreport/Form/Report/Price/Lineitemmembership.php on line 39

Fatal error: require_once() [function.require]: Failed opening required 'CRM/Report/Form/Extended.php' (include_path='/home/"mydomain'/public_html/media/civicrm/extensions/nz.co.fuzion.extendedreport/:.:/home/"mydomain"/public_html/administrator/components/com_civicrm/civicrm:/home/"mydomain'/public_html/administrator/components/com_civicrm/civicrm/packages:.:/usr/lib/php:/usr/local/lib/php') in /home/"mydomain"/public_html/media/civicrm/extensions/nz.co.fuzion.extendedreport/CRM/Extendedreport/Form/Report/Price/Lineitemmembership.php on line 39

Line 39 is of course "require_once 'CRM/Report/Form/Extended.php';"  but there is no file in Eileen's files called Extended.php

When I try and open up Line Item Participant Report, I get this error in yellow at the top: 'Could not find the report template. Make sure the report template is registered and / or url is correct. "  And then (and this seems weird to me), it reloads the template page and rearranges the order of the templates windows from Contact, Event, Contribution (with Extended Report Templates), Member, Mail to Contact, Contribution (without Extended Report Templates), Member, Event, Mail.  To get them back, I can refresh, I have to click on Create Reports from Templates again. 

Can anyone help?  Am I missing something obvious?

Aaron


bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Re: Problems with Extended Reports
November 28, 2012, 12:47:25 pm
I forgot to add that I checked on a previous problem with the class that I saw elsewhere on the forum and all the classes have the right line:  class CRM_Extendedreport_Report_Form_Price_Lineitemparticipant extends CRM_Report_Form_Extended { 

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Problems with Extended Reports
November 28, 2012, 02:11:19 pm
Hi,

I'm pretty sure that is fixed within github - if you uninstall & reinstall you should get the latest from github?

When did you download it?
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

bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Re: Problems with Extended Reports
November 28, 2012, 03:23:36 pm
Two days ago - 11/26/2012.  Is there anything I could look at to determine if I need anything updated?

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Problems with Extended Reports
November 28, 2012, 03:26:23 pm
OK - there was an old packaged version on the downloads page which I just deleted - the dynamic one is at this URL

https://github.com/eileenmcnaughton/nz.co.fuzion.extendedreport/archive/master.zip
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

bighudsonnut

  • I post occasionally
  • **
  • Posts: 84
  • Karma: 2
    • Hudson Essex Terraplane Club site
  • CiviCRM version: 4.6.3
  • CMS version: Joomla 3.4.1
  • MySQL version: 5.5.42
  • PHP version: 5.5.23
Re: Problems with Extended Reports
December 07, 2012, 12:18:41 pm
Sorry I have delayed so long in reporting back on this issue.  Life is busy and I get to this when I can.  The first two reports work fine now.  Contribution Based and Line Item work like a charm.  However I am still having problems with

Line Item Participant  I get the following error at the top of the page : "Could not find the report template. Make sure the report template is registered and / or url is correct."  Once again it removed the four templates from the page, however other reports that I made from the Contribution Based and Line Item are still on the page.  I have checked the URL, the path "price/lineitemparticipant" to make sure there are no mispellings etc...

Line Item Membership - I get a white page with the following error:
Warning: require_once(CRM/Report/Form/Extended.php) [function.require-once]: failed to open stream: No such file or directory in /home/myurl/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/ClassLoader.php on line 99

Fatal error: require_once() [function.require]: Failed opening required 'CRM/Report/Form/Extended.php' (include_path='/home/myurl/public_html/media/civicrm/extensions/nz.co.fuzion.extendedreport-master/:.:/home/myurl/public_html/administrator/components/com_civicrm/civicrm:/home/myurl/public_html/administrator/components/com_civicrm/civicrm/packages:.:/usr/lib/php:/usr/local/lib/php') in /home/myurl/public_html/administrator/components/com_civicrm/civicrm/CRM/Core/ClassLoader.php on line 99

I searched on this error and it looks like it was happening earlier on previous versions.  This was done using the new reports that Eileen provided in the earlier post.  My thanks to her for doing this work.  The reports I am able to use will get me most of what I needed to know.  Any help is appreciated.

Aaron

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Problems with Extended Reports
December 09, 2012, 06:44:22 pm
You're right that those reports had been rather ignored - I think I've got them loading now - although I haven't tested them out past just getting the page up. Latest is in github with 1.2 tag (so reinstalling via gui should get them)
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) »
  • Problems with Extended Reports

This forum was archived on 2017-11-26.