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 »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Contact record tabs not rendering
Pages: [1]

Author Topic: Contact record tabs not rendering  (Read 1637 times)

kgilnack

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • a beautiful mix of Drupal & CiviCRM.. when things are going right
Contact record tabs not rendering
July 21, 2009, 08:55:34 am
We have had a number of people in our office be unable to see the tabs in contact records.  The problem is intermittent and we've found that Google Chrome least often encounters this problem. On some computers no browsers will display them, on others Chrome only will work, and for some all browsers are loading fine.

It's possible that this is more of an internal network or hosting issue, but I'm wondering if anyone else has experienced the same and how the issue was resolved. 

Thanks in advance for any guidance you can provide.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Contact record tabs not rendering
July 21, 2009, 09:50:48 pm

If this happens to you on a regular basis, can u install firebug and see what is happening.

If this seems intermittent, most likely the ajax calls to display the tabs are failing / timing out. firebug should be able to give u more details

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

RealMark

  • I’m new here
  • *
  • Posts: 17
  • Karma: 1
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Re: Contact record tabs not rendering
August 30, 2009, 06:25:02 am
We too are having the same problem of intermittent problems with the tabs on the contact record (using 2.2.5 and Garland Theme).  This is true for both IE and Firefox.  Instead of tabs we see two scroll bars to the right (IE only have one scroll bar).

Using Firefox I have installed Firebug.

Under the Console tab in Firebug I get the error:
Quote
Could not load 'dojo.nls.commonWidgets_en-us'; last tried './nls/commonWidgets_en-us.js'
Quote
Bundle not found: loading in dijit , locale=en-us

Just to make sure I looked in the CivCRM Settings - Resource URLs - I have
http://<www.oursite.org>/sites/all/modules/civicrm/

Not sure what do do at this point - how can I solve this problem?  Any help would be appreciated.  Thanks.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Contact record tabs not rendering
August 30, 2009, 05:11:01 pm

can u upgrade to 2.2.8 and try again. I think we might have fixed this issue in recent releases

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

RealMark

  • I’m new here
  • *
  • Posts: 17
  • Karma: 1
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Re: Contact record tabs not rendering
September 04, 2009, 08:36:30 am
Thanks for the reminder to upgrade to 2.2.8 (I like the reports module)

But, alas the problems continue.  When I search for a member and then click on their name the tab do not render.  If instead I select View the tabs will display properly.  This works for both IE and Firefox. The only difference in the URL links is www is inserted before the domain name for the View link.

My playing with 3.0 suggest that this same problem does not exist in this version.


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Contact record tabs not rendering
September 04, 2009, 09:43:11 am

1. what does firebug tell u

2. the statement: "www is inserted before the domain name for the View link." is a bit concerning. Note that CiviCRM works with the hostname being either www.example.com OR example.com. Does not work with both of them at the same time.

You might want to use the Redirect clause in .htaccess to ensure that all visitors to www.example.com get redirected to example.com

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

RealMark

  • I’m new here
  • *
  • Posts: 17
  • Karma: 1
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Re: Contact record tabs not rendering
September 04, 2009, 08:29:19 pm
Thanks for your continued response - this is very helpful (while challenging).  Each response allows me to learn more.

1. When the URL is sans WWW - Firebug complains
Could not load 'dojo.nls.commonWidgets_en-us'; last tried './nls/commonWidgets_en-us.js'
and
Bundle not found: loading in dijit , locale=en-us

and Java Script is not on the page.

When a URL is www.mysite.com - Firebug does not report an error.

So I went to AdminCRM -> Global Settings -> Resource URLs and changed this to mysite.com/drupal/sites/all/modules/civicrm/

This make the java script work on all mysite.com pages (but not www.mysite.com) - the reverse.

2. Following your advice on the htaccess - I tried to change this to make all any URL be redirected to mysite.com but since I have place Drupal in a subdirectory I am not getting this to work.  I will look into this further.

When observing the URL for many pages within CiviCRM - these seem to vary between having the www prefix or not.  It there a setting in Drupal or CiviCRM that I am missing.

Thanks for your help.  Much appreciated.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Contact record tabs not rendering
September 05, 2009, 08:03:56 am

check and read this document:

http://wiki.civicrm.org/confluence/display/CRMDOC/Moving+an+Existing+Installation+to+a+New+Server+or+Location

the redirect is also key and super important :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

RealMark

  • I’m new here
  • *
  • Posts: 17
  • Karma: 1
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Re: Contact record tabs not rendering
September 05, 2009, 09:48:19 am
Yes, changing the CIVICRM_UF_BASEURL to mysite.com worked to make all the links now correct.

Next I will work on correcting the redirect.

Appreciate the help.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Contact record tabs not rendering

This forum was archived on 2017-11-26.