Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 4.1.0
-
Fix Version/s: 4.1.2
-
Component/s: CiviContribute
-
Labels:None
Description
So, I've set up a view to show the amounts raised for people's personal campaign pages, added a few fields, then added 'amount raised' and a 500 server error, with the resulting entry in the Drupal error log:
Warning: require_once(CRM/Contribute/BAO/PCP.php): failed to open stream: No such file or directory in civicrm_handler_field_pcp_raised_amount::construct() (line 37 of /home/pilch-vic/public_html/sites/all/modules/civicrm/drupal/modules/views/civicrm/civicrm_handler_field_pcp_raised_amount.inc).
I looked into the fie structure and the files isn't there, neither are it's matches in teh DAO folder. As a quick and dirty fix, I found copies of the files in versions 4.x and copied them in, which fixes teh problem and means i can create a functioning view.