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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Activities Tab Broken
Pages: [1]

Author Topic: Activities Tab Broken  (Read 642 times)

JohnFF

  • I post frequently
  • ***
  • Posts: 235
  • Karma: 6
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.28
  • MySQL version: 5.5.31-1
  • PHP version: 5.3.27
Activities Tab Broken
November 27, 2013, 08:40:22 am
 :'(

After a recent upgrade to an LTS number, I've discovered that the Activities tab on an Individual's page suffers an AJAX crash. The organisations' tabs are fine however.

Please could someone give me baby's first activities tab fixing steps?

Crash is realised below. Thanks all,

Code: [Select]
Its thowing a 500

sitename/civicrm/ajax/contactactivity?snippet=4&context=activity&cid=9300
[1]

Nov 22 10:24:50  [info] $Fatal Error Details = Array

(

    [message] =>  is not of the type Integer

    [code] =>

)

Nov 22 10:24:50  [info] $backTrace = #0
/var/www/html/prod/drupal-7.24/sites/all/modules/civicrm/CRM/Core/Error.php(318):
CRM_Core_Error::backtrace("backTrace", TRUE)

#1
/var/www/html/prod/drupal-7.24/sites/all/modules/civicrm/CRM/Utils/Type.php(227):
CRM_Core_Error::fatal(" is not of the type Integer")

#2
/var/www/html/prod/drupal-7.24/sites/all/modules/civicrm/CRM/Activity/Page/AJAX.php(188):
CRM_Utils_Type::escape(NULL, "Integer")

#3 [internal function]():
CRM_Activity_Page_AJAX::getContactActivity((Array:3))

#4
/var/www/html/prod/drupal-7.24/sites/all/modules/civicrm/CRM/Core/Invoke.php(187):
call_user_func((Array:2), (Array:3))

#5
/var/www/html/prod/drupal-7.24/sites/all/modules/civicrm/CRM/Core/Invoke.php(51):
CRM_Core_Invoke::_invoke((Array:3))

#6
/var/www/html/prod/drupal-7.24/sites/all/modules/civicrm/drupal/civicrm.module(500):
CRM_Core_Invoke::invoke((Array:3))

#7 [internal function](): civicrm_invoke("ajax", "contactactivity")

#8 /var/www/html/prod/drupal-7.24/includes/menu.inc(517):
call_user_func_array("civicrm_invoke", (Array:2))

#9 /var/www/html/prod/drupal-7.24/index.php(21):
menu_execute_active_handler()

#10 {main}

 
[1] sitename/civicrm/ajax/contactactivity?snippet=4&context=activity&cid=9300
If you like empowering charities in a free and open way, then you're going to love Civi.

Email Amender: https://civicrm.org/extensions/email-amender
UK Phone Validator: https://civicrm.org/extensions/uk-phone-number-validator
http://civifirst.com
https://twitter.com/civifirst

JohnFF

  • I post frequently
  • ***
  • Posts: 235
  • Karma: 6
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.28
  • MySQL version: 5.5.31-1
  • PHP version: 5.3.27
Re: Activities Tab Broken
December 05, 2013, 08:54:48 am
It emerges that this was caused by code in a custom php override file.

For anyone attempting to debug this, I'd recommend starting by taking a closer look at your custom php files. When that didn't work for me (it didn't), you can start with the tab and drill down from there. So in this instance the file to start with /sites/all/modules/civicrm/templates/CRM/Activity/Page/Tab.tpl.
If you like empowering charities in a free and open way, then you're going to love Civi.

Email Amender: https://civicrm.org/extensions/email-amender
UK Phone Validator: https://civicrm.org/extensions/uk-phone-number-validator
http://civifirst.com
https://twitter.com/civifirst

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Activities Tab Broken

This forum was archived on 2017-11-26.