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) »
  • "Javascript must be enabled" problem
Pages: [1]

Author Topic: "Javascript must be enabled" problem  (Read 4002 times)

sraisz

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
    • sambandha.net
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6
"Javascript must be enabled" problem
March 17, 2011, 10:28:42 am
I'm having a similar problem to some others, but since the details are quite different I'm starting a new thread.

THere are several problems depending on the browser:

in IE9

the CiviCRM menu does not display and I get only:

"Javascript must be enabled in your browser in order to use the dashboard features."

IE9 debug (f12) shows many errors including:

SCRIPT5009: 'jQuery' is undefined
civicrm?reset=1, line 15 character 1

IN Firefox

I get the CIVICRM menu and dashboard, but when I go to edit an event, something breaks and I get no display of fields to edit. etc. If I click on "info & settings" then I get the fields but on a white screen with no graphics, etc. and no way to "save", etc.

Firebug does not display any errors that I can see.

In Chrome

I get the CiviCRM menu but also ""Javascript must be enabled in your browser in order to use the dashboard features."

I've tried changing the theme to Garland, but no luck.

Any advice would be most appreciated.




Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: "Javascript must be enabled" problem
March 17, 2011, 10:44:55 am
What other modules do you have enabled? Such as Google Analytics or any other add-on modules?
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.

sraisz

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
    • sambandha.net
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6
Re: "Javascript must be enabled" problem
March 17, 2011, 11:26:48 am
There are lots of modules enabled.  I attach a spreadsheet containing a listing from drush pm-list which shows everything.

BTW it was working before. 

Then three things happened:

1) I installed a new theme
2) I upgraded manually  Jquery_ui, but then after this problem came I reverted
3) I enabled several modules (but not sure which) and CSS and Java caching in performance.

Sometime after all of this CiviCRM started giving problems. BUt I can't say when.


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: "Javascript must be enabled" problem
March 17, 2011, 11:35:01 am
Many of your modules include JS code, so it would seem logical to presume that one of them is conflicting with CiviCRM's JS. I would suggest you try to disable some until you find the culprit. That's the only way unless you know how to debug the JS via Firebug...
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.

sraisz

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
    • sambandha.net
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6
Re: "Javascript must be enabled" problem
March 18, 2011, 07:27:36 am
I disabled everything that was connected to Jquery, plus Jquery itself.

No luck. NOthing changed

I then tried upgrading from 3.2 to 3.3.5

All that has done is break my views integration (I'll post about that seperately)

with firebug the errors trying to load the dashboard are:

$("#primary-menu ul.sf-menu").superfish is not a function
[Break On This Error] disableHI: true
js_7fc...bf4a.js (line 9106)
$(".slideshow-block .view-content").cycle is not a function
[Break On This Error] $('.slideshow-block .view-content').cycle({
js_7fc...bf4a.js (line 9221)
$(".slideshow-block .view-content").cycle is not a function
[Break On This Error] $('.slideshow-block .view-content').cycle({

and for modifying events it is:


cj is not defined
[Break On This Error] <td class="label"><label for="event...(".helpicon").toolTip(); });</script>
eventI...01_7472 (line 219)
cj is not defined
[Break On This Error] <td><input id="is_map" name="is_map...(".helpicon").toolTip(); });</script>
eventI...01_7472 (line 235)
cj is not defined
[Break On This Error] cj(document).ready(function() {
eventI...01_7472 (line 327)
on_load_init_blocks is not defined
[Break On This Error] on_load_init_blocks( showBlocks, hideBlocks, 'table-row' );
eventI...01_7472 (line 346)
cj is not defined
[Break On This Error] cj( function( ) {

Any other suggestions?


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: "Javascript must be enabled" problem
March 18, 2011, 07:31:32 am
Superfish conflicts with CiviCRM: http://drupal.org/node/761034

For Views Integration, redo the integration step (i.e. the code in settings.php)--the tables probably changed.
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.

sraisz

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
    • sambandha.net
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6
Re: "Javascript must be enabled" problem
March 18, 2011, 07:40:00 am
I'll try to find out where superfish is loading.

What do you mean redo the integration in settings.php? Is there a new list of tables for the array?

sraisz

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
    • sambandha.net
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6
Re: "Javascript must be enabled" problem
March 18, 2011, 07:43:50 am
THe error I am getting is:

user warning: Table '_bhaktilife_drupal.civicrm_event' doesn't exist query: SELECT civicrm_event.id

in settings php I have:

  'civicrm_event'                            => 'bbosch_amb_civicrm.',

views is looking at the drupal db prefix

Is it caching somewhere?

ANy further clues?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: "Javascript must be enabled" problem
March 18, 2011, 07:44:45 am
Check the Drupal Integration Settings page again for that code, yes.
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.

sraisz

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
    • sambandha.net
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6
Re: "Javascript must be enabled" problem
March 18, 2011, 07:57:36 am
I found the js culprit. I had a customization done to the theme by a contract programmer and they put in some custom js code. I disabled that and it works.

sraisz

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
    • sambandha.net
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6
Re: "Javascript must be enabled" problem
March 18, 2011, 07:59:37 am
Quote from: hershel on March 18, 2011, 07:44:45 am
Check the Drupal Integration Settings page again for that code, yes.

I found

http://drupal.demo.civicrm.org/civicrm/admin/setting/uf

ANd put the array settings there into my settings.php, but it still doesn't work.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: "Javascript must be enabled" problem
March 18, 2011, 08:13:50 am
Hmm. not sure. You refreshed all caches also?
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.

sraisz

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
    • sambandha.net
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6
Re: "Javascript must be enabled" problem
March 18, 2011, 08:17:41 am
I think I have cleared all caches. I used the "Clear Caches" option under admin/performance

sraisz

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
    • sambandha.net
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6
Re: "Javascript must be enabled" problem
March 18, 2011, 11:33:34 am
I got it cleared up.

Here's what I did:

1) recreated the settings.php from a default.settings.php
2) moved the db declaration to be above the array declaration. Somehow in the previous settings.php this was not the case.
3) "reverted" the civi_events view

I don't know if any of the above actually did anything, or it just cleared out some cached data that was stuck somewhere.

Anyway it works.

Thanks for your help.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • "Javascript must be enabled" problem

This forum was archived on 2017-11-26.