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) »
  • jQuery version Issue-Upgrading from 4..2.0 to 4.3.0
Pages: [1]

Author Topic: jQuery version Issue-Upgrading from 4..2.0 to 4.3.0  (Read 1757 times)

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
jQuery version Issue-Upgrading from 4..2.0 to 4.3.0
July 27, 2013, 07:19:57 am
The Contacts View (tabs) are not displayed and not working correctly on upgrading from 4.2.0 to 4.3.0 (on drupal 7.22). See Screenshot.

I found following errors in Browser Console
===============================
GET http://mysite/sites/all/modules/civicrm/packages/jquery/jquery-ui-1.8.11/css/smoothness/jquery-ui-1.8.11.custom.css 404 (Not Found) (program):107
GET http://mysite/sites/all/modules/civicrm/packages/jquery/plugins/jsTree.v.1.0rc2/themes/default/jstree.css 404 (Not Found) (program):115
GET http://mysite/sites/all/modules/civicrm/packages/jquery/plugins/DataTables-1.7.6/media/css/demo_table_jui.css 404 (Not Found)
===========================================

I am on Drupal 7.22 CiviCRM 4.3.0

And when I checked the path "sites/all/modules/civicrm/packages/jquery/" it had a higher verison of jQuery i.e., "jquery-ui-1.9.0" instead of jquery-ui-1.8.11.

and in place of  "jsTree.v.1.0rc2" it has "jquery.jstree.js"
and in place of "DataTables-1.7.6" it is has "DataTables"


I have had issues upgrading  from 4.0.7 to 4.3.0... so I have done stepwise upgrades from to 4.1 and then to 4.2 successfully.
See the forum topic : http://forum.civicrm.org/index.php/topic,29508.0.html

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: jQuery version Issue-Upgrading from 4..2.0 to 4.3.0
July 27, 2013, 01:05:25 pm
Do you have any custom templates? Did you clear all template files?

I would also suggest trying the next upgrade on a dev site--maybe it will fix this.
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.

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
Re: jQuery version Issue-Upgrading from 4..2.0 to 4.3.0
July 28, 2013, 05:54:53 am
1. Yes I have custom template files.
I have created a few template files for Reports
sites/default/files/civicrm/custom/templates/CRM/Report/Form/Contact and few more ...

So, does these need to be cleared?

2. I have tried with clearing templates_c. Is there anything else? Or anything specific for custom templates?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: jQuery version Issue-Upgrading from 4..2.0 to 4.3.0
July 28, 2013, 05:58:28 am
Custom templates do need to be redone for upgrades, but it doesn't sound like that's your problem in this case. You could try to disable those and see if it helps.

Also, try using a core Drupal theme and of course flush all caches there.
 
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.

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
Re: jQuery version Issue-Upgrading from 4..2.0 to 4.3.0
July 31, 2013, 01:22:11 am
I started the upgrading afresh. My starting version was 4.0.7 and I wanted to go to 4.3.5

Because direct upgrades attempts have failed as reported above, I planned to move gradually from one version to higher.

1) Successful from 4.0.7 to 4.1.0
2) Successful from 4.1.0 to 4.20

3) 4.2.0 to 4.3.5 , eventhough it shows successfull it continues to have display issues in Contact Views(  due to same issue of jquery version mismatch)
so I tried 4.2.0 to 4.30 .. failed again due to same jquery version issue

4) From 4.2.0 to 4.2.1 ...again the same display issue of jQuery version mismatch as see on the console
Failed to load resource: the server responded with a status of 404 (Not Found)    http://mysite/sites/all/modules/civicrm/packages/jquery/jquery-ui-1.8.11/js/jquery-ui-1.8.11.custom.min.js
When I check the jQuery in file path it is  jQuery-ui-1.8.16

I think there is something missing in upgrading jQuery. and this issue starts when upgrading from 4.2.0


I have cleaned template_c in every upgrade. I have custom reports .. but I am told that that does not seem to be the cause. I have retained the civicrm_root directory structure.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: jQuery version Issue-Upgrading from 4..2.0 to 4.3.0
July 31, 2013, 03:31:49 am
I'm not sure. The only other thing I can suggest is to delete files/civicrm/ConfigAndLog/Config.IDS.ini also.

And be sure to visit admin/settings/url each upgrade as sometimes that helps.
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.

Barnacle

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 2
    • White Fuse Media
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5.3
Re: jQuery version Issue-Upgrading CiviCRM on Drupal
January 12, 2015, 04:10:18 am
Was this ever resolved? I am having the same problem, except that it is looking for sites/all/modules/civicrm/packages/jquery/jquery-ui-1.9.0/css/smoothness/jquery-ui-1.9.0.custom.min.css and the file is actually located at sites/all/modules/civicrm/packages/jquery/jquery-ui/jquery-ui.min.js.

I can't see where it is invoking the 1.9.0 or where I can change this. Has anyone encountered this difficulty or knows what is causing it?

I am using Drupal 6 and have upgraded to CiviCRM 4.5.2
--
http://whitefusemedia.com/

Aahar

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 3
  • CiviCRM version: 3.4 and 4.0
  • CMS version: Drupal 6.17, 6.x and Drupal 7.x
  • PHP version: 5.2
Re: jQuery version Issue-Upgrading from 4..2.0 to 4.3.0
January 12, 2015, 05:06:15 am
We were able to resolve that.

I do not remember exactly what we did. But I do know that I configured the jQuery Update version in Drupal and that resolved it.

Barnacle

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 2
    • White Fuse Media
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5.3
Re: jQuery version Issue-Upgrading from 4..2.0 to 4.3.0
January 12, 2015, 06:10:13 am
Thanks for your reply. I have now fixed this!

The jquery code was coming from a CiviCRM profile's auto-generated signup HTML which had been copied and pasted into a Drupal block. I re-generated the code from the upgraded CiviCRM profile and the error went away.

For future reference if anyone else ever has this problem :)
--
http://whitefusemedia.com/

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • jQuery version Issue-Upgrading from 4..2.0 to 4.3.0

This forum was archived on 2017-11-26.