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) »
  • Missing CiviCRM Menu Items
Pages: [1]

Author Topic: Missing CiviCRM Menu Items  (Read 4017 times)

TJH43

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5.37
  • PHP version: 5.3.10
Missing CiviCRM Menu Items
June 16, 2012, 01:20:35 pm
I recently upgraded a site from Drupal  6.19 to 7.12 and from CiviCRM 3.2.2 to 4.1.2.  The 'Contributions' menu item now does not display either in the top menu bar nor on the Navigation Menu list.  Strangely 'Mailings' does appear on both...but CiviMail is not enabled.  Events, Reports, Membership and Campaigns also appear in the list at civicrm/admin/menu?reset=1...these components are not enabled and these menu items do not appear in the top menu bar.

if I log in with a separate Admin user ID the Mailings menu item does not appear in the top bar. 

Both admin users can access the Contributions Menu item pages (like Import Contributions.../civicrm/contribute/import?reset=1).

Removing all permissions and disabling CiviCRM modules and then re-enabling and permissioning does not seem to affect. 

I am using civicrm/menu/rebuild&reset=1 to rebuild after each change.


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Missing CiviCRM Menu Items
June 17, 2012, 03:30:31 am
Can you clear all Drupal caches and delete your CiviCRM template cache?
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.

TJH43

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5.37
  • PHP version: 5.3.10
Re: Missing CiviCRM Menu Items
June 17, 2012, 12:30:55 pm
I used the Drupal module Administration - Administration menu 7.x-3.0-rc2 "Flush all caches" followed by /civicrm/admin/setting/updateConfigBackend?reset=1 "Cleanup caches". 

This did not appear to affect the problem with the CiviCRM menu.

I also disabled the component CiviContribute and re-enabled and checked that Contribute Permissions were all set. (No other CiviCRM component is activated)

Admin users still do not have 'Contributions' in the top menu nor in the Navigation menu customization page at /civicrm/admin/menu?reset=1. 

One Admin user still has a 'Mailings' menu item the other Admin user does not.

TJH43

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5.37
  • PHP version: 5.3.10
Re: Missing CiviCRM Menu Items
June 17, 2012, 02:44:17 pm
Hershel,

I'm getting an information message at /civicrm/admin?reset=1"Your database is configured to use the MyISAM database engine. CiviCRM requires InnoDB. You will need to convert any MyISAM tables in your database to InnoDB. Using MyISAM tables will result in data integrity issues.

In phpMyAdmin I can see that three tables are MyISAM: civicrm_acl_cache, civicrm_acl_contact_cache, and civicrm_group_contact_cache.  All the rest are InnoDB. 

I'm wondering if this is the problem and how to go about changing the engine on these tables.  There is no data in these (zero rows).

Jim

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Missing CiviCRM Menu Items
June 18, 2012, 02:58:21 am
I don't suspect that is the problem, but you can and should change those tables in phpMyAdmin. Under Structure there is probably a way to change that.
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.

TJH43

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5.37
  • PHP version: 5.3.10
Re: Missing CiviCRM Menu Items
June 18, 2012, 10:53:15 am
I made the table changes in phpMyAdmin using the Operations tab.  These storage engine changes do not appear to correct the missing menu problem.

I then enabled all components and went through all menu items and then disabled all components. I have five other messages appearing at various points in that process.

1. When enabling the CiviCase component:
    "Warning: file_get_contents(/var/www/<mysite>/sites/all/modules/civicrm/sql/case_sample.mysql) [function.file-get-contents]: failed to open stream: No such file or directory in CRM_Admin_Form_Setting_Component->loadCaseSampleData() (line 151 of /var/www/EPLFtest/sites/all/modules/civicrm/CRM/Admin/Form/Setting/Component.php)."
    "Warning: file_get_contents(/var/www/<mysite>/sites/all/modules/civicrm/sql/case_sample1.mysql) [function.file-get-contents]: failed to open stream: No such file or directory in CRM_Admin_Form_Setting_Component->loadCaseSampleData() (line 151 of /var/www/EPLFtest/sites/all/modules/civicrm/CRM/Admin/Form/Setting/Component.php)."

2. On Mail Opened Report: "Warning: htmlspecialchars() expects parameter 1 to be string, array given in HTML_Common->_getAttrString() (line 144 of /var/www/<mysite>/sites/all/modules/civicrm/packages/HTML/Common.php)."  I also get this same message on Mail Bounce and Clickthrough menu items.

3. On SYBUNT and LYBUNT Reports: "Notice: Undefined index: eq in CRM_Report_Form->filterStat() (line 2065 of /var/www/<mysite>/sites/all/modules/civicrm/CRM/Report/Form.php)."

4. /civicrm/admin/contribute/add?reset=1&action=add: "Notice: Undefined index: 3 in CRM_Core_BAO_UFGroup::getFields() (line 416 of /var/www/<mysite>/sites/all/modules/civicrm/CRM/Core/BAO/UFGroup.php)." I get seven of these all the same.

5. Upon disabling all components and saving the change:"Notice: Undefined index: enableComponents in CRM_Admin_Form_Setting_Component::formRule() (line 86 of /var/www/EPLFtest/sites/all/modules/civicrm/CRM/Admin/Form/Setting/Component.php)." I then checked config backend and it looks like no components are enabled which is what I would expect.





Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Missing CiviCRM Menu Items
June 18, 2012, 10:59:31 am
Hmmm. I'm not sure now. One of these errors was reported once http://forum.civicrm.org/index.php?topic=21117.0 with no resolution.
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.

TJH43

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5.37
  • PHP version: 5.3.10
Re: Missing CiviCRM Menu Items
June 18, 2012, 12:08:07 pm
Hershel,

I do not have the same Common.php problem on my Constituent Summary report. 

Jim

TJH43

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5.37
  • PHP version: 5.3.10
Re: Missing CiviCRM Menu Items
June 18, 2012, 03:42:00 pm
Hershel,

I am running three instances of CiviCRM and Drupal on the same server at vps.net.  All the problems above are in the second instance which was an older site that was upgraded.

 Inst      Drupal   CiviCRM
1          6.2            3.3.5
2          7.14          4.1.2
3          7.9            4.0.7

The first instance has none of these problems.  The third instance is a clean new install and shares problems #2, 3 & 5.

Jim
« Last Edit: June 18, 2012, 03:57:58 pm by TJH43 »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Missing CiviCRM Menu Items
June 19, 2012, 02:56:12 am
So both D7 installs have issues. Your MySQL version is old and buggy and should be updated, but that doesn't appear to be the issue. Your PHP version is actually also old and maybe that is the issue. Can you upgrade that?
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.

TJH43

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5.37
  • PHP version: 5.3.10
Re: Missing CiviCRM Menu Items
June 20, 2012, 10:53:38 pm
I upgraded Ubuntu host from from Hardy to Lucid.  Also upgraded MySQL and PHP ...new versions are in my profile.  All the above Warning and Notice messages remain pretty much as they were.  The differences between older and newer CiviCRM versions also remain.

For instance #2 above,  I manually created a "Contributions" menu item using the demo site URL's and it is now appearing and disappearing as I enable and disable the CiviContribute component.  So it appears I can work-around the missing menu issue originally reported. 

I will also delete and manually recreate the "Mailings" menu item that still seems to persist for one admin user and not the other and see if that might also be a work-around.

TJH43

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
  • CiviCRM version: 4.4.5
  • CMS version: Drupal 7.27
  • MySQL version: 5.5.37
  • PHP version: 5.3.10
Re: Missing CiviCRM Menu Items
June 21, 2012, 01:26:18 pm
The Mailings menu item now appears fixed.  It was persistent despite disabling the CiviMail component for one of two Admin users.  I removed the permission "CiviMail: access CiviMail" and  disabled the top level 'Mailings' menu item.  I don't remember in which order.  But after enabling both the "Mailings" menu item and resetting the "Mailings" menu item permission the "Mailings" menu item now appears in synch with the CiviMail component for both Admin users.

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

This forum was archived on 2017-11-26.