"Javascript must be enabled in your browser in order to use the dashboard features"
I started getting this error from some of my testers when they were using IE9. Sure enough, I couldn't access the CiviCRM dashboard or CiviCRM menu (it acted like it was disabled).
Yep, well JavaScript is enabled.
Stats on the site:
CiviCRM version 3.4.8
Latest Drupal (6.24)
Drupal module jquery_update installed (giving Drupal the jQuery version 1.3.2)
Hmmmmmm.....It works FINE with Chrome (16.0.912.77 m), Opera (11.61), Safari (5.1.2), and Firefox (10).
Oh YEAH! That's right!!! Internet Explorer doesn't handle a lot of JavaScript files very well. CSS files are limited to 32(?) I think. Not sure what the JS limit is.
So on the TEST site I enabled "Optimize JavaScript files" and all works well in IE8/IE9.
Things to look at:
http://drupal.org/project/javascript_aggregator
Great article by Vlad http://shvetsgroup.com/blog/optimizing-javascript-and-css-files-drupal
I encountered this problem when moving to a new host. Turns out it was a permissions problem sites/default/files/js directory was not executable by everyone. #chmod a+x sites/default/files/js fixed it for me.
ReplyDeleteIf you still have an issue you may want to clear CiviCRM Cache
ReplyDeletego to /sites/default/files/civicrm/templates_c and delete the files and folders inside it.
Alternatively, you can also visit to /civicrm/menu/rebuild&reset=1