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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • WSOD when trying to view detail activity
Pages: [1]

Author Topic: WSOD when trying to view detail activity  (Read 690 times)

kennedy

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 5
  • CiviCRM version: 4.5.5
  • CMS version: Drupal
  • PHP version: 5.3.10
WSOD when trying to view detail activity
May 06, 2014, 09:25:24 am
Are there other special permissions for an authenticated user to view detail contact activity in addition to CiviCRM: view all activities ?
On the contact's tab, user can see all listed activities but clicking on view gives WSOD.
This error message shows up in the recent log messages "Warning: require_once(CRM/Activity/BAO/Contact.php): failed to open stream: No such file or directory in CRM_Core_ClassLoader::loadClass() (line 126 of sites/all/modules/civicrm/CRM/Core/ClassLoader.php)".


The authenticated user has the following permissions:CiviCRM: add contacts, view my contact, edit my contact, import contacts, edit groups, administer CiviCRM, access uploaded files, view all activities, merge duplicate contacts, delete activities, access CiviCRM ...etc.

Has any other person experienced this before?

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: WSOD when trying to view detail activity
May 06, 2014, 09:31:23 am
ClassLoader.php is, if I'm not mistaken, a file that was added in 4.4.3.  If you check for that file in your filesystem, is it present?  Are the file permissions correct?
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

kennedy

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 5
  • CiviCRM version: 4.5.5
  • CMS version: Drupal
  • PHP version: 5.3.10
Re: WSOD when trying to view detail activity
May 06, 2014, 10:40:28 am
the ClassLoader.php is found here: /sites/all/modules/civicrm/CRM/Core/ and  not in this folder: /sites/all/modules/civicrm/CRM/Activity/BAO/

Please note that administrator can view the detail activity of any contact (does it make any difference?)

files permissions is 755
« Last Edit: May 06, 2014, 10:53:59 am by kennedy »

kennedy

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 5
  • CiviCRM version: 4.5.5
  • CMS version: Drupal
  • PHP version: 5.3.10
Re: WSOD when trying to view detail activity
June 23, 2014, 11:52:51 pm
Can someone give me a hint? I am still having this problem, only the admin can view activity details. Other users see only the listing but cannot view the details and they have the "view all activities" permissions. See error message they get below:
Fatal error: require_once(): Failed opening required 'CRM/Activity/BAO/Contact.php' (include_path='.:/sites/all/modules/civicrm:/sites/all/modules/civicrm/packages:.:/usr/share/php:/usr/share/pear') in /sites/all/modules/civicrm/CRM/Core/ClassLoader.php on line 126

using civicrm 4.4.3
« Last Edit: June 23, 2014, 11:56:51 pm by kennedy »

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: WSOD when trying to view detail activity
June 24, 2014, 01:16:08 am
I strongly recommend you upgrade to 4.4.5 - both 4.4.4 & 4.4.5 contained a large number of bug fixes - so it might help. There is one bug fix in 4.4.5 that is a regression - but will only affect you if you use contact images - in which case you might prefer 4.4.4 or 4.4.6 which should come out very soon.

I think your bug is fixed in 4.4.4

https://issues.civicrm.org/jira/browse/CRM-14074
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

kennedy

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 5
  • CiviCRM version: 4.5.5
  • CMS version: Drupal
  • PHP version: 5.3.10
Re: WSOD when trying to view detail activity
June 24, 2014, 06:02:49 am
Thank you Eileen! I will do the upgrade .

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • WSOD when trying to view detail activity

This forum was archived on 2017-11-26.