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) »
  • after install, fatal error getConfigObject() on a non-object
Pages: [1]

Author Topic: after install, fatal error getConfigObject() on a non-object  (Read 4420 times)

venturewise

  • Guest
after install, fatal error getConfigObject() on a non-object
September 05, 2008, 06:43:41 am
Hi there,
I searched around but didn't see any posts like this.
I just installed Drupal 5 and it worked fine, then I installed civiCRM successfully (or so it seemed), then when I went to activate the module, I get this now:

Fatal error: Call to a member function getConfigObject() on a non-object in /var/www/virtual/venturewise.com/htdocs/demostuff/nonprofit/sites/all/modules/civicrm/CRM/Core/Config/Defaults.php on line 205

everything seemed to go OK up to this point, not sure what happened... thanks to anyone who can help!

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: after install, fatal error getConfigObject() on a non-object
September 05, 2008, 06:56:53 am
Hey,

Can you provide detailed version of PHP you're using? (I can see PHP 5 in your forum profile information, but would need more detailed version).

Also, can you verify that your civicrm_component table in the database is populated?

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

venturewise

  • Guest
Re: after install, fatal error getConfigObject() on a non-object
September 05, 2008, 07:18:40 am
I am asking my server guy about the PHP version... and yes to the table entry
Screenshot:
http://venturewise.com/Picture4.jpg

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: after install, fatal error getConfigObject() on a non-object
September 05, 2008, 07:39:16 am
Hey,

Attached screenshot shows table structure - how about the contents of the table?

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

venturewise

  • Guest
Re: after install, fatal error getConfigObject() on a non-object
September 05, 2008, 09:05:16 am
Ok sorry -
PHP version: 5.2.0-8+etch11

I am really dumb with mySQL - How do I find the contents?

When I clicked on the "Browse" button I get this;
MySQL returned an empty result set (i.e. zero rows). (Query took 0.0003 sec)


Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: after install, fatal error getConfigObject() on a non-object
September 05, 2008, 09:49:47 am
Quote from: venturewise on September 05, 2008, 09:05:16 am
When I clicked on the "Browse" button I get this;
MySQL returned an empty result set (i.e. zero rows). (Query took 0.0003 sec)

It means that civicrm_component is not populated with appropriate values. Something went wrong during installation - your other tables might be empty as well, so please make sure the are all right. If it's only civicrm_component table, please run following queries:

INSERT INTO civicrm_component (name, namespace) VALUES ('CiviEvent', 'CRM_Event' );
INSERT INTO civicrm_component (name, namespace) VALUES ('CiviContribute', 'CRM_Contribute' );
INSERT INTO civicrm_component (name, namespace) VALUES ('CiviMember', 'CRM_Member' );
INSERT INTO civicrm_component (name, namespace) VALUES ('CiviMail', 'CRM_Mailing' );
INSERT INTO civicrm_component (name, namespace) VALUES ('CiviGrant', 'CRM_Grant' );

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

venturewise

  • Guest
Re: after install, fatal error getConfigObject() on a non-object
September 05, 2008, 10:52:42 am
damn, I just reinstalled evrything, and as soon as I go to activate - same thing happens.
Ok - next question - who can I hire to install for me :-)

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: after install, fatal error getConfigObject() on a non-object
September 05, 2008, 02:30:43 pm
Check http://civicrm.org/professional.

Kurund
Found this reply helpful? Support CiviCRM

hallman

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 10
Re: after install, fatal error getConfigObject() on a non-object
January 04, 2009, 11:56:06 am
Thank you Michał Mach! I had CiviCRM running on a couple of sites, but when I set up a new site, I was getting this error. I was banging my head against the wall thinking the error was in civicrm.settings.php and kept looking at the $civicrm_root setting. The problem was that I had not completed the installation of CiviCRM data -- phpmyadmin showed 0 records for all the civicrm tables. All I had to do was:

...  < civicrm_data.mysql

Whew!

Maybe some day I'll learn to follow directions.


Judy Hallman

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • after install, fatal error getConfigObject() on a non-object

This forum was archived on 2017-11-26.