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) »
  • CiviCRM admin menu gone missing
Pages: [1]

Author Topic: CiviCRM admin menu gone missing  (Read 1016 times)

ashok

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7
  • MySQL version: 5.5.24
  • PHP version: 5.3.10
CiviCRM admin menu gone missing
January 19, 2015, 01:14:12 am
Hi there,

I am using CiviCRM 4.3.5  with  Drupal-7.22. Things were working fine until now. I did not work on this site for a long time and when I opened the site CiviCRM menu had gone missing. I can redirect to Civi home page from Drupal navigational menu but CiviCRM menu is not visible at all (see attached screenshot). I dont really have any idea what must have caused this and dont remember doing anything for a really long time.

Can anyone point me to the right direction to debug this problem?

Any help much appreciated.

Negi
« Last Edit: January 19, 2015, 05:27:00 am by ashok »

Fabian_SYSTOPIA

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 3
  • CiviCRM version: 4.3.x, 4.4.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.4.10
  • PHP version: 5.4.10
Re: CiviCRM Menu gone missing
January 19, 2015, 02:37:48 am
Hi Negi,

You could try to check the drupal navigation menu settings (admin/structure/menu) - in particular if the CiviCRM menu is activated.

If that is not the case I vaguely remember that the drupal menu can overlap the civicrm navigation - you may want to search the forum of Jira regarding that issue.

Regards
Fabian

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CiviCRM Menu gone missing
January 19, 2015, 04:59:37 am
Can you look at this site with Firebug for Firefox and see if there are any JS errors?
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.

ashok

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7
  • MySQL version: 5.5.24
  • PHP version: 5.3.10
Re: CiviCRM Menu gone missing
January 19, 2015, 05:26:08 am
Thanks for responding guys.

@Fabian - Did not get what exactly did you mean by "CiviCRM menu is activated". There is no option to activate CiviCRM admin menu from Drupal Menu settings.

@Hershel - There are js errors and they all of them are iframe issues "Blocked a frame with origin". Dont think they might be the cause.

Regards,
Negi


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CiviCRM admin menu gone missing
January 19, 2015, 05:38:33 am
The CiviCRM admin menu is created via JS code. If an error occurs before the menu is created, it can prevent the code from continuing and thus the menu is never made.

Can you fix those JS errors and see if 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.

ashok

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7
  • MySQL version: 5.5.24
  • PHP version: 5.3.10
Re: CiviCRM admin menu gone missing
January 19, 2015, 06:00:40 am
I have a local version of the site and it has the same console errors as the staging site and Civi menu is appearing fine here. Will still try resolving these issues and see if that helps.

FYI  - I can access civi admin pages by pasting urls.

Fabian_SYSTOPIA

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 3
  • CiviCRM version: 4.3.x, 4.4.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.4.10
  • PHP version: 5.4.10
Re: CiviCRM Menu gone missing
January 19, 2015, 06:07:24 am
Sorry, my mistake - there is indeed no entry for the CiviCRM-menu (mixed it up with something else)


Quote from: ashok on January 19, 2015, 05:26:08 am
Thanks for responding guys.

@Fabian - Did not get what exactly did you mean by "CiviCRM menu is activated". There is no option to activate CiviCRM admin menu from Drupal Menu settings.

@Hershel - There are js errors and they all of them are iframe issues "Blocked a frame with origin". Dont think they might be the cause.

Regards,
Negi

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: CiviCRM admin menu gone missing
January 19, 2015, 07:00:53 am
Ok I'll ask the obvious question: did you look under the couch cushions?

And if that doesn't turn it up, open up your page source and search for the string "menujs" which should turn up a link to the script that generates the menu. What do you see when you click the link to that script? Check that it opens up some real js, and it doesn't have anything malformed in it like php error messages (which would screw up the js parsing in your browser).

Soooo many people experience problems with Civi due to having php warnings displayed on screen (basically messes up all js & ajax) that we probably ought to check for it in-app and warn about that setting.
Try asking your question on the new CiviCRM help site.

ashok

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7
  • MySQL version: 5.5.24
  • PHP version: 5.3.10
Re: CiviCRM admin menu gone missing
January 20, 2015, 02:31:57 am
Thanks for responding Coleman!

I checked the the page source and there is no script as "menujs". It is not there on my local site as well where Civi Navigation menu is displaying fine.

In the page source, html for Navigation Menu does not exist at all. Template generating Navigation Menu HTML (sites/all/modules/civicrm/templates/common/Navigation.tpl) is not getting called at all (issue here?).

Copied Navigation.tpl to my custom templates directory, did not help.

Disabling php warnings did not help either.
« Last Edit: January 20, 2015, 02:53:22 am by ashok »

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: CiviCRM admin menu gone missing
January 20, 2015, 06:08:30 am
Ashok sorry I didn't read until now that you are on 4.3.5. I think upgrading to the latest in the 4.3 series would be a minimal first step. If that doesn't solve it, upgrading beyond that, to 4.4 or 4.5, probably will.
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • CiviCRM admin menu gone missing

This forum was archived on 2017-11-26.