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) »
  • Activities not Showing
Pages: [1]

Author Topic: Activities not Showing  (Read 2334 times)

Keith

  • I post occasionally
  • **
  • Posts: 42
  • Karma: 0
Activities not Showing
September 14, 2012, 12:55:22 pm
I am using Civi 4.2.0 on Drupal 7.15 and am getting the same problem described in
http://forum.civicrm.org/index.php?topic=23195.0

All the bug reports indicate that this was fixed in 4.1, but I am getting the error non the less

The activities tab shows 2 activities (they are there, I checked in the table), but when you click, you get the spinning disk with no listing.

I am not seeing any error messages in the logs nor in the firebug console.




Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Activities not Showing
September 19, 2012, 03:36:26 pm
You should be able to see the results of the ajax request in the console. What does it say?
Try asking your question on the new CiviCRM help site.

al

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Drupal 7.18
  • MySQL version: 5.1.66-cll
  • PHP version: 5.3.17
Re: Activities not Showing
December 26, 2012, 04:16:15 pm
I too am having this issue.

Here is the error in my JS consol:

Uncaught SyntaxError: Unexpected token ILLEGAL jquery.dataTables.min.js:1
Uncaught TypeError: Object [object Object] has no method 'dataTable'

Any ideas?

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Activities not Showing
December 26, 2012, 05:11:43 pm
What browser are you using, and does it work if you try a different browser?
Can you upgrade to the latest version of Civi?
Try asking your question on the new CiviCRM help site.

al

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Drupal 7.18
  • MySQL version: 5.1.66-cll
  • PHP version: 5.3.17
Re: Activities not Showing
December 27, 2012, 12:55:23 am
Hi Coleman,

I have just upgraded to 4.2.6 and tried using both Chrome 23 and Internet Explorer 9 - still no luck, any other ideas?

Cheers,
Allan
« Last Edit: December 27, 2012, 05:14:32 am by al »

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Activities not Showing
February 01, 2013, 05:20:12 pm
Often these problems are caused by improperly escaped translated strings which crash the browser's js parser. Basically it amounts to doing this:
var str = '{ts}Hello{/ts}'; // wrong
Instead of this
var str = '{ts escape="js"}Hello{/ts}'; // right

I recently did a grep for all suspicious-looking uses of {ts} and found a few (not many) that were not being escaped. I committed the fix to trunk.
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Activities not Showing

This forum was archived on 2017-11-26.