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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • [SOLVED] Javascript error when loading Dashlet after upgrade to 4.4.1
Pages: [1]

Author Topic: [SOLVED] Javascript error when loading Dashlet after upgrade to 4.4.1  (Read 437 times)

Stautz

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.4.1
  • CMS version: 7.23
  • PHP version: 5.3.3
[SOLVED] Javascript error when loading Dashlet after upgrade to 4.4.1
November 18, 2013, 05:47:13 am
We recently upgraded our servers to 4.4.1. Everything went smoothly on the test-server, but on the live server, we had a small issue with the CiviCRM news dashlet on the dashboard.

When loading the dashlet, Firebug logs an error in the console:
Code: [Select]
TypeError: CRM.url is not a function
CRM.url('init', '/civicrm/example?placeholder');
The specific dashlet area then stops loading and prompts for username and password instead.  Now obviously, I could just deactivate this dashlet, but I am just worried that this might have an impact on other elements as well.

Since this works on the testserver, I'm sure it must be a setting somewhere that we forgot, does anyone have any ideas on what might trigger this?
« Last Edit: November 18, 2013, 06:42:33 am by Stautz »

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: Javascript error when loading Dashlet after upgrade to 4.4.1
November 18, 2013, 06:18:04 am
I would recommend following:

- clear your templates_c folder
- clear your drupal cache
- clear your browser cache

Hth
Kurund
Found this reply helpful? Support CiviCRM

Stautz

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
  • CiviCRM version: 4.4.1
  • CMS version: 7.23
  • PHP version: 5.3.3
Re: Javascript error when loading Dashlet after upgrade to 4.4.1
November 18, 2013, 06:42:09 am
Thanks a lot, that seemed to do the trick.
« Last Edit: November 18, 2013, 06:44:54 am by Stautz »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • [SOLVED] Javascript error when loading Dashlet after upgrade to 4.4.1

This forum was archived on 2017-11-26.