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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Drupal, Content Types, Menu, Cache
Pages: [1]

Author Topic: Drupal, Content Types, Menu, Cache  (Read 2481 times)

zzolo.ctc

  • Guest
Drupal, Content Types, Menu, Cache
September 11, 2008, 10:13:47 am
Environment:
Drupal 6.4,
CiviCRM 2.1.alpha2 Drupal PHP5

I was creating a module that creates a CCK field that references CiviCRM contacts.  So, all these things came together at once, amking it a difficult thing to troubleshoot:
1) installed CCK base modules, 2) installed my new module, 3) then created a new content type.  Getting this error:

Code: [Select]
Fatal error: require_once() [function.require]: Failed opening required 'CRM/Core/Menu.php' (include_path='.:/usr/share/php:/usr/share/pear') in /srv/gfb/htdocs/test/sites/default/modules/civicrm/drupal/civicrm.module on line 727
This also happens when I add new CCK fields or delete CCK fields or delete Content Types.  I also disabled, New Module, All CCK Modules, and Devel Modules, and I still get this behavior.

It can be fixed by clearing the Drupal Menu_Cache.  It basically seems like the CiviCRM Drupal Module menu item is being cached and its not including the CiviCRM settings file.

So, has anyone seen this?  Will upgrading to new beta fix this (as I should anyway)?

Thanks for the help and good work, as always.

--
Zzolo

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: Drupal, Content Types, Menu, Cache
September 11, 2008, 10:29:36 am

this error is fixed in the latest version

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

zzolo.ctc

  • Guest
Re: Drupal, Content Types, Menu, Cache
September 11, 2008, 12:10:11 pm
Thanks, lobo.  Will upgrade.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Drupal, Content Types, Menu, Cache

This forum was archived on 2017-11-26.