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) »
  • Custom Report deployment error
Pages: [1]

Author Topic: Custom Report deployment error  (Read 778 times)

sggreener

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 0
    • The SpatialDB Advisor
  • CiviCRM version: 4.6.15
  • CMS version: Joomla 5.5.1
  • MySQL version: 5.6.29
  • PHP version: 5.3.8
Custom Report deployment error
October 03, 2012, 09:18:31 pm
Folks,

Joomla  2.5.6 and CiviCRM 4.1.2.

I followed the recipe at
http://wiki.civicrm.org/confluence/display/CRMDOC41/Creating+A+Custom+Search+Extension
to create a report based on a SQL statement.

When I try to create a report from the template I get:

Warning: require_once(CRM/Contact/Form/Search/Custom/MembershipHistory.php) [function.require-once]: failed to open stream: No such file or directory in /home/<mysite>/www/www/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php on line 392

Fatal error: require_once() [function.require]: Failed opening required 'CRM/Contact/Form/Search/Custom/MembershipHistory.php' (include_path='/home/<mysite>/www/www/civicrm_custom_code/CRM/Contact/Form/Search/Custom:.:/home/<mysite>/www/www/administrator/components/com_civicrm/civicrm:/home/<mysite>/www/www/administrator/components/com_civicrm/civicrm/packages:.:/usr/local/php53/lib/php') in /home/<mysite>/www/www/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php on line 392


The report MembershipHistory.php is located in the following directory:
/home/<mysite>/www/www/civicrm_custom_code/CRM/Contact/Form/Search/Custom
I have checked with a file brower via my ISP's control panel application. All file and folder permissions are 775.

regards
S

poorhaus

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
    • Music Nova Scotia
  • CiviCRM version: 4.4.10
  • CMS version: Drupal 7
  • MySQL version: 5.5.27
  • PHP version: 5.3.17
Re: Custom Report deployment error
January 21, 2014, 08:39:08 am
Have you set your Custom PHP directory in Civi?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Custom Report deployment error

This forum was archived on 2017-11-26.