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 »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • CiviCRM Menu Missing
Pages: [1]

Author Topic: CiviCRM Menu Missing  (Read 4296 times)

nzampella

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 2
  • CiviCRM version: 4.5.3
  • CMS version: Joomla 3.3.6
  • MySQL version: 5.5.36
  • PHP version: 5.4.31
CiviCRM Menu Missing
May 14, 2012, 12:59:40 pm
OK ... I moved the site from J1.5 to J2.5, a month ago, but didn't decide to reinstall CiviCRM until now.   The first time I tried to reinstall, a bunch of errors appeared concerning directories already in use, menus with same alias, and so on.

Decided to remove then do a fresh install.   Tried to do an uninstall through Joomla .. no go.

Deleted the old CiviCRM tables from the database, went through all the directories and manually removed the files, edited the Joomla extension and menu table to remove any traces of CiviCRM, and the install went fine.

EXCEPT ... no CiviCRM menu.   The link to CiviCRM appears fine in the Joomla Components drop down, but when I get there, I see the normal dashboard, but no CiviCRM menu.

OK, searched the forums, found a few threads that recommended checking the Resource URLs, did that. They were fine by the way.   Tried the menu reset URL suggestion, no go.

The funny part, is when I look at the page using Firebug, I see the CiviCRM  menu items but the overall CSS container has a style of 'display:none'.

Code: [Select]
<div id="crm-container" lang="en" xml:lang="en">
<script type="text/javascript">
cj('#crm-container')
.live('click', function(event) {
if (cj(event.target).is('.btn-slide')) {
var currentActive = cj('#crm-container .btn-slide-active');
currentActive.children().hide();
currentActive.removeClass('btn-slide-active');
cj(event.target).children().show();
cj(event.target).addClass('btn-slide-active');
} else {
cj('.btn-slide .panel').hide();
cj('.btn-slide-active').removeClass('btn-slide-active');
}
});
</script>
<div id="menu-container" style="display:none;">
<ul id="civicrm-menu">
<li id="crm-qsearch" class="menumain">
<li class="menumain crm-link-home">
<li class="menumain crm-Search">
<li class="menumain crm-Contacts">
<li class="menumain crm-Events">
<li class="menumain crm-Mailings">
<li class="menumain crm-Administer">
<li class="menumain crm-Help">
<li id="menu-logout" class="menumain">
</ul>
</div>
<script type="text/javascript">
<table id="crm-content" cellspacing="0" cellpadding="0" border="0">
<script type="text/javascript">
<script type="text/javascript">
</div>
<div class="clr"></div>
</div>
</div>
<noscript> Warning! JavaScript must be enabled for proper operation of the Administrator backend. </noscript>


When I remove the "display:none" from this line:
Code: [Select]
<div id="menu-container" style="display:none;">
Some of the menu appears, but not the administration link.  And only the HOME link works.    I've installed CiviCRM on other sites without much of a problem, but this one has me stumped.


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 Missing
May 15, 2012, 07:24:23 am
Can you load the site in Firefox and look for any JS errors in 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.

nzampella

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 2
  • CiviCRM version: 4.5.3
  • CMS version: Joomla 3.3.6
  • MySQL version: 5.5.36
  • PHP version: 5.4.31
Re: CiviCRM Menu Missing
May 16, 2012, 11:24:11 am
Quote from: Hershel on May 15, 2012, 07:24:23 am
Can you load the site in Firefox and look for any JS errors in Firebug?

Didn't find any ... just decided to uninstall and try again.  Had to do the uninstall manually, then when I tried to install, got an error about not finding the XML file !!


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 Missing
May 16, 2012, 12:06:02 pm
To uninstall and then reinstall you must remove sites/default/civicrm.settings.php.
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.

dflorence

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: joomla 2.5 and testing 3.2.1
  • MySQL version: 5.1.69
  • PHP version: 5.3.3
Re: CiviCRM Menu Missing
June 11, 2012, 05:11:58 am
This has been driving me crazy, finally found a fix.

The issue seems to be that the settings used to define the URLs used to access CiviCRM resources (CSS files, Javascript files, images, etc.) are not actually set on first installation. The dashboard states that "Default values will be inserted the first time you access CiviCRM - based on the CIVICRM_UF_BASEURL specified in your installation's settings file (civicrm.settings.php)."  - But they're not!!

I found that all you need to do is open the Resource urls link under settings in the administer civicrm page and then save it straightaway and presto, the CIVICRM menu is there.

HOWEVER, the problem is you cannot access the Civicrm menu to get to the resource urls setting. Bit I found if you click the "go" link for configuration checklist then on the page that opens you can click on the administer link near the top, which takes you to the page you need.

I think this is a bug that could be easily fixed, but being a civicrm newbie myself, not sure how to go about reporting this...


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 Missing
June 11, 2012, 05:15:30 am
Hi. I'm not sure what version is situation precisely you think has this bug, but when I install CiviCRM, it creates the civicrm.settings.php file with the correct value for CIVICRM_UF_BASEURL and the menu works the first time. I install CiviCRM quite regularly and this aspect works just fine.

Can you give more details?
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.

dflorence

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: joomla 2.5 and testing 3.2.1
  • MySQL version: 5.1.69
  • PHP version: 5.3.3
Re: CiviCRM Menu Missing
June 11, 2012, 07:18:54 am
Hello,

The versions, etc that I'm using are listed under my details on this post, basically the latest version of everything.

I think that the civicrm.settings.php does contain the baseurl correctly, its just that , when trying to access the civicrm menu its not displayed correctly along the top. - Other posts on this have suggested that the resource urls in the administration menu are not configured correctly.

Now, when I go to the resource url link (which is very difficult in the first place cos the Civicrm menu is missing, but I got there eventually) I see that there are resources urls already entered in in the relevant text boxes. When I select save (i.e. I haven't done anything except go to the resource url page)  the settings get saved and the menu now appears where it should be.

Anyway, I'm happy that this has fixed the issue, thanks.


alltraders

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Joomla 2.5.6
  • MySQL version: 5.0.95-community
  • PHP version: 5.2.17
Re: CiviCRM Menu Missing
June 12, 2012, 12:29:37 am
Hi,

I an new to CiviCRM but have just installed it onto a couple of different servers running Joomla 2.5. Both installations didn't generate any errors however one server showed the administrator toolbar menu (styled in black) and the other didn't show it at all. It took a little while to resolve but I can tell you how I did.

1) Install a Joomla JQuery plugin (and activate it). If you had no menu at all (proved by looking in the code) then this will let you see the menu. Another sign that this is needed is that you get no response when trying to add a dashlet.

2) If the styling is missing as it was for me after the menu finally became visible, check and set the correct paths in "Administrator - System Settings - Resource URLs". The most important field to set here is called "CiviCRM Resource URL".

Those two points were enough for me to get the missing menu. Prior to doing them, the menu wasn't even showing in the pages live source code.

The server it worked on was a WAMPserver living on a fully patched Windows XP box. The server it didn't work on was a Centos Linux server, also fully patched.

Good luck,

Michael

PS: I searched for hours to work this out. I hope it helps someone.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • CiviCRM Menu Missing

This forum was archived on 2017-11-26.