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) »
  • PLEASE HELP: Activities not showing on contac's activities tab
Pages: [1]

Author Topic: PLEASE HELP: Activities not showing on contac's activities tab  (Read 3027 times)

rosvain

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.0.4
  • CMS version: drupal 7
  • MySQL version: 5
  • PHP version: 5
PLEASE HELP: Activities not showing on contac's activities tab
January 30, 2012, 10:52:51 pm
Hi,
first thank you for your help.
I am have a problem that I have can only describe by posting screen shots of the issue.
In the first screenshot it can be seen that there are activities for contact isero but when you go to her summary and click on
the activities tab no activities are shown (the tab itself counts 8 activities).

I have searched online, I upgraded to the latest versions of drupal and civicrm.
I am not sure how to proceed.

Please help.
Thank you

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: PLEASE HELP: Activities not showing on contac's activities tab
January 31, 2012, 02:39:55 am
I think upgrading to latest stable 4.0.8 should fix this issue.

Hth
Kurund
Found this reply helpful? Support CiviCRM

rosvain

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.0.4
  • CMS version: drupal 7
  • MySQL version: 5
  • PHP version: 5
Re: PLEASE HELP: Activities not showing on contac's activities tab
January 31, 2012, 06:00:08 am
 I did,
I upgraded to the latest version of civi 4.0.8.
you can see it in the second screen shot.

Thank you

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: PLEASE HELP: Activities not showing on contac's activities tab
February 01, 2012, 11:22:44 am
Oh then I think it might be related to http://issues.civicrm.org/jira/browse/CRM-9408

Kurund
Found this reply helpful? Support CiviCRM

rosvain

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.0.4
  • CMS version: drupal 7
  • MySQL version: 5
  • PHP version: 5
Re: PLEASE HELP: Activities not showing on contac's activities tab
February 02, 2012, 06:59:01 pm
Thank you so much. I am going to give this a try.
I have never use a patch, I hope it goes well

I'll let you know how it goes.

rosvain

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.0.4
  • CMS version: drupal 7
  • MySQL version: 5
  • PHP version: 5
Re: PLEASE HELP: Activities not showing on contac's activities tab
February 02, 2012, 08:28:34 pm
quick question:
how does one apply a patch to civicrm?
could you describe the process?

Thank you

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: PLEASE HELP: Activities not showing on contac's activities tab
February 02, 2012, 11:10:16 pm
this might help:

http://www.cyberciti.biz/faq/appy-patch-file-using-patch-command/
http://jungels.net/articles/diff-patch-ten-minutes.html

( if above does not work, google is your friend )

Kurund
Found this reply helpful? Support CiviCRM

andyw

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 4
  • CiviCRM version: 4.x
  • CMS version: Drupal, Joomla
Re: PLEASE HELP: Activities not showing on contac's activities tab
February 03, 2012, 02:47:00 pm
Hi there,

We managed to fix this issue on a site we have running on 3.4.7 earlier. It turned out to be some sort of weird invisible characters (a 'vertical tab' or \v in our case) in some of the Activity subjects that were getting returned which, in turn, seems to break the jQuery code that builds the table.

It may well be a different character in your case - so it might require some further digging around on your part, but I managed to fix this by by creating a custom template for CRM/Activity/Selector/Selector.tpl

and changing (around line 112):

Code: [Select]
cj.ajax( {
  "dataType": 'json',
  "type": "POST",
  "url": sSource,
  "data": aoData,
  "success": fnCallback
} );

to

Code: [Select]
cj.ajax( {
  "dataType": 'json',
  "type": "POST",
  "url": sSource,
  "data": aoData,
  "success": fnCallback,
  "dataFilter": function(data, type) { return data.replace(/\v/g, ""); }
} );

That should strip out any \v characters before the data is processed - but like I say, it may be a different character in your case - or maybe a different issue altogether, but it sounds very similar, so I'd say that was certainly something to look into.

Also, removing these characters from the data in the database via some sort of query might be a good solution, if they turn out to be the cause.

Hope that helps you in some way!

Andy
Andrew Walker, Developer at Circle Interactive

rosvain

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.0.4
  • CMS version: drupal 7
  • MySQL version: 5
  • PHP version: 5
Re: PLEASE HELP: Activities not showing on contac's activities tab
February 05, 2012, 09:51:58 am
Thank you. that make a lot of sense.

I am going to give it a try.

Thank you again

marktuma

  • I’m new here
  • *
  • Posts: 10
  • Karma: 1
Re: PLEASE HELP: Activities not showing on contac's activities tab
February 14, 2012, 08:10:08 am
I'm having this problem on a 4.08 installation.  I've tried both the suggestions listed here, but unfortunately with no result.  Can anyone suggest any other solutions?

Cheers,
Mark

andyw

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 4
  • CiviCRM version: 4.x
  • CMS version: Drupal, Joomla
Re: PLEASE HELP: Activities not showing on contac's activities tab
February 14, 2012, 09:10:30 am
Hi there,

Well, a colleague of mine fixed this issue on another site last week (a 4.0.8 one) - it turned out to be a newline character (\n) in one of the Activity subjects in that case. We were discussing how these were getting in there and have concluded, in the case of that site, it's down to the fact we've imported the data from another system - but I suppose if people are potentially pasting Activity subjects in from another document, it might occur that way too?

If it helps, we've used Firebug to display the JSON response, then pasted that into JSONLint.

http://jsonlint.com/

That will show you where any invalid characters in the response are, then you'll probably need to paste that section into a text editor that can show invisible characters to find out what they are.

Hope that helps,

Andy

Andrew Walker, Developer at Circle Interactive

rosvain

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.0.4
  • CMS version: drupal 7
  • MySQL version: 5
  • PHP version: 5
Re: PLEASE HELP: Activities not showing on contac's activities tab
March 04, 2012, 08:30:15 am
I have a solution for this problem, thank you Andy,
in the case of this installation the problem was the javascript file that creates the activity table.

solution:
rename jquery.dataTables.min.js.gz to .gz.back
in this location sites/all/modules/civicrm/packages/jquery/plugins/DataTables-1.7.6/media/js/

Also check the encoding of the files in there.

Thank you for your help.
Ramiro

sgchan

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 0
Re: PLEASE HELP: Activities not showing on contac's activities tab
March 16, 2012, 09:13:47 am
I have the same problem with Activities tab too... running 4.1.1 on Drupal 7. Anyone knows how to resolve this? The tab just seems to be forever loading... the spinning wheel goes on and on, but data doesn't load. Also, the data doesn't load on the Dashboard too.

Firebug is showing "Illegal Character" on jquery.DataTable.min.js

The spinning wheel goes on and on for Group and Relationships too but the data gets loaded.

Help please! ???
« Last Edit: March 16, 2012, 09:29:47 am by sgchan »

b0b_z

  • I post occasionally
  • **
  • Posts: 49
  • Karma: 0
  • CiviCRM version: 4.1.6
  • CMS version: Drupal 7.19
  • MySQL version: 5.1.63
  • PHP version: 5.2.17
Re: PLEASE HELP: Activities not showing on contac's activities tab
January 05, 2013, 06:15:05 am
Try this
http://forum.civicrm.org/index.php/topic,27203.msg116206.html#msg116206

It seemed to take care of the problem and has been working for several day

Do back up the directory first, just in case

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • PLEASE HELP: Activities not showing on contac's activities tab

This forum was archived on 2017-11-26.