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 »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Drupal 6 behaviour on installation of 4.4.2
Pages: [1]

Author Topic: Drupal 6 behaviour on installation of 4.4.2  (Read 1143 times)

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Drupal 6 behaviour on installation of 4.4.2
December 01, 2013, 07:41:34 am
I have a D6 site that is showing some anomalous behaviour, so as there is no D6 demo site I set up a clean install on my localhost with the current version of D6 and CiviCRM 4.4.2.

The installation went very smoothly, but I'm seeing the following warning message:

"warning: Missing argument 2 for variable_get(), called in /Users/graham/Documents/webdocs/d6civi.loc/sites/all/modules/civicrm/drupal/civicrm.module on line 297 and defined in /Users/graham/Documents/webdocs/d6civi.loc/includes/bootstrap.inc on line 587."

I've not come across this one before, and as this is a clean install (using MAMP 2.2) I was curious as to whether this is something that needs to be addressed, or some weird anomaly that is down to my particular environment.

Anyone else seen this?
Graham Mitchell
http://mc3.coop

kmurphychi

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.4.2
  • CMS version: Drupal 6.28
  • MySQL version: 5.5.32-cll
  • PHP version: 5.4.21
Re: Drupal 6 behaviour on installation of 4.4.2
December 03, 2013, 06:56:01 am
I have the exact same problem that I just encountered this morning.  Let me know if you find the solution and I will do the same.

Cyberflyer

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 2
  • It's a piece of cake, Ezra!!
    • North Star Community Foundation
  • CiviCRM version: 4.5.6
  • CMS version: Drupal 7.34 / Commons 7.x-3.20
  • MySQL version: 5.5.13
  • PHP version: 5.4.38
Re: Drupal 6 behaviour on installation of 4.4.2
December 03, 2013, 11:55:51 am
And I have exactly the same problem as well.

Quote
warning: Missing argument 2 for variable_get(), called in /public_html/sites/all/modules/civicrm/drupal/civicrm.module on line 297 and defined in /public_html/includes/bootstrap.inc on line 587.

Any ideas?

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Drupal 6 behaviour on installation of 4.4.2
December 03, 2013, 01:31:30 pm
Which suggests that this might be a bug. I think I may file an issue on this.
Graham Mitchell
http://mc3.coop

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 6 behaviour on installation of 4.4.2
December 03, 2013, 01:36:36 pm

note that drupal6 is community supported and patch fixed. If you have clients on it, might want to give eileen a helping hand, since she's been doing most of the work on managing and maintaining this

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

Cyberflyer

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 2
  • It's a piece of cake, Ezra!!
    • North Star Community Foundation
  • CiviCRM version: 4.5.6
  • CMS version: Drupal 7.34 / Commons 7.x-3.20
  • MySQL version: 5.5.13
  • PHP version: 5.4.38
Re: Drupal 6 behaviour on installation of 4.4.2
December 03, 2013, 02:08:29 pm
Who is Eileen?

Cyberflyer

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 2
  • It's a piece of cake, Ezra!!
    • North Star Community Foundation
  • CiviCRM version: 4.5.6
  • CMS version: Drupal 7.34 / Commons 7.x-3.20
  • MySQL version: 5.5.13
  • PHP version: 5.4.38
Re: Drupal 6 behaviour on installation of 4.4.2
December 28, 2013, 02:46:12 pm
For those of you who don't know who Eileen is -- I still don't -- it turns out if you Google around enough you can find this:

https://github.com/eileenmcnaughton/civicrm-drupal/commit/508e63b1fbd52d221cc2b731d74b66dc7c006430

A patch to solve the problem.

On line 297 of civicrm.module, do this:

Code: [Select]
-  $path = variable_get('civicrm_class_loader');

+  $path = variable_get('civicrm_class_loader', NULL);

Thanks, Eileen, whoever you are.

Leaving this for those who might need it.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Drupal 6 behaviour on installation of 4.4.2

This forum was archived on 2017-11-26.