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) »
  • Re: 4.2 Updating error : class 'CRM_Core_Config_Variables' not found
Pages: [1]

Author Topic: Re: 4.2 Updating error : class 'CRM_Core_Config_Variables' not found  (Read 695 times)

moondancerjen

  • I’m new here
  • *
  • Posts: 29
  • Karma: 1
Re: 4.2 Updating error : class 'CRM_Core_Config_Variables' not found
September 06, 2012, 03:17:24 pm
I am also getting this error on extern/url.php

I think my error may be caused by something Dave said in his first comment.  See, I have civicrm in sites/all/modules/contrib/civicrm I've already modified civicrm.config.php to go up another directory to find the civicrm.settings.php file, as instructed to here: http://danmcewan.com/hard-coded-directory-reference-fix-civicrm-40-and-drupal-7 and that did help resolve a load of issues we were having on this page, but now that those are cleared out, we are left with this one:
Quote
Fatal error: Class 'CRM_Core_Config_Variables' not found in /var/www/vhosts/example.org/httpdocs/sites/all/modules/contrib/civicrm/CRM/Core/Config.php on line 43 

This broke after our upgrade to 4.2.0 on our Drupal 6.26 site.

As such, our click-through tracking on our mailings aren't working anymore.  Can someone please help!

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: 4.2 Updating error : class 'CRM_Core_Config_Variables' not found
September 07, 2012, 11:14:32 am
Quote
http://mywebsite.com/sites/mywebsite.com/modules/civicrm/extern/url.php?u=1&qid=1

Seems to be working fine on my local ..

Kurund
Found this reply helpful? Support CiviCRM

moondancerjen

  • I’m new here
  • *
  • Posts: 29
  • Karma: 1
Re: 4.2 Updating error : class 'CRM_Core_Config_Variables' not found
September 13, 2012, 08:15:00 am
I believe the issue may be because we have civicrm in sites/all/modules/contrib/  I've already had to alter civicrm.config.php as demonstrated here: http://danmcewan.com/hard-coded-directory-reference-fix-civicrm-40-and-drupal-7  could there be other places in civi where the path is messed up.

I just discovered that I am getting this same error when I try to run the new civicrm cron job as well...

edc1

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Drupal 6
  • MySQL version: 5.1
  • PHP version: 5.3
Re: 4.2 Updating error : class 'CRM_Core_Config_Variables' not found
October 09, 2012, 12:02:52 pm
Did you ever find a solution to this? I'm seeing the same thing on 4.2.2 when running curl to call cron.php:

Code: [Select]
<br />
<b>Fatal error</b>:  Class 'CRM_Core_Config_Variables' not found in <b>/home/admin/domains/d6.windmilers.org.uk/public_h         tml/sites/all/modules/civicrm/CRM/Core/Config.php</b> on line <b>43</b><br />

Em.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Re: 4.2 Updating error : class 'CRM_Core_Config_Variables' not found

This forum was archived on 2017-11-26.