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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • dashboard error
Pages: [1]

Author Topic: dashboard error  (Read 3450 times)

sean01

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
dashboard error
January 14, 2011, 12:10:43 pm
dashboard won't load get this error message..........  Javascript must be enabled in your browser in order to use the dashboard features. I have not disable anything in my browser..????? can you help.

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: dashboard error
January 14, 2011, 12:18:35 pm
This is most likely theme conflict ( jquery conflict) with CiviCRM. Can provide more information about your install like CiviCRM version, CMS etc ( also update forum profile)  Also check firebug console for any javascript errors.

Kurund
Found this reply helpful? Support CiviCRM

sean01

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
Re: dashboard error
January 14, 2011, 02:53:54 pm
running drupal 6 ,civicrm 3.3, template 'SimplyCivi' ---- windows-vista ---- also with win ie menu will not work, but works fine with firefox?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: dashboard error
January 15, 2011, 11:27:52 am
Can you try switching to Garland theme and try it with that? If Garland works and SimplyCivi fails then we have reason to suspect SimplyCivi. But if Garland also fails, then it's something else.

Also check the online demo: http://drupal.demo.civicrm.org/ and make sure that works in your IE.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: dashboard error
January 16, 2011, 10:43:57 am
This jQuery conflict issue seems to be a fairly significant problem. I've got a couple of sites where I have added CiviCRM as a result of changing client requirements some time after the initial Drupal site went live, and in both cases CiviCRM's javascript breaks, and I'm pretty sure it is this jQuery conflict issue.

I've read several threads offering guidance as to how to to identify the cause of the problem, disabling blocks, switching themes and turning off modules until the issue goes away to isolate the cause, but I've found precious little information about to actually fix it, especially when my knowledge of javascript and jQuery is limited.

In both of the above cases I'm considering fairly substantial changes to the way the site is built (such as rebuilding the theme using a different starter theme, recreating image slideshows/rotators to use different modules, etc.) in an effort to resolve this, with significant time and cost implications, mainly as I've tried most everything else with no effect. CiviCRM simply refuses to play nicely.

Is there any work going on to ensure that CiviCRM is somewhat more resilient when it comes to this jQuery issue? Or at least writing up some useful guidance as to how to debug and fix the issue when it arises. Maybe I'm just unlucky, but as things stand, and as CiviCRM is becoming increasingly reliant on javascript, this issue quickly becomes something of a show-stopper.
Graham Mitchell
http://mc3.coop

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: dashboard error
January 17, 2011, 05:47:24 am
Which theme do you use? Can you copy paste the error that you get in your firebug console.

Kurund
Found this reply helpful? Support CiviCRM

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: dashboard error
January 17, 2011, 06:21:52 am
Kurund, hi

Thanks for offering to take a look.

I've got two client sites that are giving problems. The first uses a customised version of Acquia Slate 6.x-1.1
when loading http://www.thehandmadebakery.coop/civicrm?reset=1 Firebug console reports the following errors:

Code: [Select]

$("#header-top label").overlabel is not a function
(?)()                                                                                     civicrm?reset=1 (line 68)
noConflict(i=function())                                                        jquery.js?N (line 28)
inArray()                                                                              jquery.js?N (line 36)
[Break On This Error] containerheight: '100px'                      civicrm?reset=1 (line 68)


$("#portfolio2").innerfade is not a function
[Break On This Error] containerheight: '100px'                      civicrm?reset=1 (line 68)

$("#portfolio2").innerfade is not a function
(?)()                                                                                    civicrm?reset=1 (line 68)
noConflict(i=function())jquery.js?N (line 28)
[Break On This Error] containerheight: '100px'                     civicrm?reset=1 (line 68)


Thickbox and Nice Menus have both been disabled (but not uninstalled) as part of my attempt to minimise the use of javascript/jQuery on the site, but without effect.  There is a simple script that uses the innerfade jQuery plugin that rotates a set of images in the banner of the site, and I've modified the call to this script from
Code: [Select]
$(document).ready(...
to
Code: [Select]
jQuery(document).ready(... in line with the post at http://www.danetsoft.com/resolve-conflict-civicrm-jquery-plugins

I'm looking at replacing this with Views Slideshow, which might be a cleaner and more CivicRM approach.

Many thanks for any tips or pointers.

Best wishes
Graham
Graham Mitchell
http://mc3.coop

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: dashboard error
January 17, 2011, 09:05:07 am
I have also seen such conflicts. When I have seen it it apparently had to do with differing jQuery versions between Drupal and CiviCRM. Each case must thus be addressed individually, at least with the current CiviCRM releases.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: dashboard error
January 17, 2011, 09:17:33 am
In the above case it looks like Civi is using jQuery 1.4.2 or 1.4.3 (both files seem to be includes in packages/jquery) while the Drupal install includes jQuery 1.2.6
Graham Mitchell
http://mc3.coop

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: dashboard error
January 17, 2011, 09:21:10 am
Given that this is a Drupal 6 site, you could certainly try installing this module:

http://drupal.org/project/jquery_update

for Drupal and see if it helps. It will update your jQuery to a later version. If it doesn't help, or if it makes things worse, simply disabling the module will return the site to as it was before.

CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: dashboard error
January 17, 2011, 09:22:47 am
Thanks hershel I'll give that a spin and report back.
Graham Mitchell
http://mc3.coop

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: dashboard error
January 17, 2011, 09:37:02 am
OK, we're getting somewhere. Installing jQuery Update and removing the innerfade script call from page.tpl.php and I get a result. I'll try to replace the innerfade with Views Slideshow and see if that fixes the problem.

Thanks for the tip.
Graham Mitchell
http://mc3.coop

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: dashboard error
January 17, 2011, 09:39:32 am
My pleasure. :)
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • dashboard error

This forum was archived on 2017-11-26.