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) »
  • fixed: Failed opening required 'CRM/Utils/System/Drupal6.php' going to 4.1.6
Pages: [1]

Author Topic: fixed: Failed opening required 'CRM/Utils/System/Drupal6.php' going to 4.1.6  (Read 992 times)

Erich Schulz

  • I post frequently
  • ***
  • Posts: 142
  • Karma: 5
    • When no-one understands what you are going on about its time to start a blog
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.somthing
  • PHP version: 5.3.3
fixed: Failed opening required 'CRM/Utils/System/Drupal6.php' going to 4.1.6
November 11, 2012, 06:01:05 am
Hi

ok i'm daft - but googling this error I found 3 examples of it, but no discussion, so i'm not alone

the cause is you've moved your root havent you? answer is you need to update the paths in your settings:

 cat $t/sites/default/civicrm.settings.php | grep antarqld
$civicrm_root = '/hsphere/local/home/antarqld/antarqld.org.au/sites/all/modules/civicrm';
define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/hsphere/local/home/antarqld/antarqld.org.au/sites/default/files/civicrm/templates_c/' );
define( 'CIVICRM_UF_BASEURL'      , 'http://www.antarqld.org.au/' );

I'm on D6 and trying to upgrade from 3.4.8 going to 4.1.6 (cause I can't go to 4.2)

follwing these instructions:

http://wiki.civicrm.org/confluence/display/CRMDOC41/Upgrade+Drupal+Sites+to+4.1+-+Drupal+6#UpgradeDrupalSitesto4.1-Drupal6-7.Unpackthelatestpackageandverifypermissions

on step 8 and I hit the error

Fatal error: require_once(): Failed opening required 'CRM/Utils/System/Drupal6.php' (include_path='.:/hsphere/local/home/antarqld/antarqld.org.au/sites/all/modules/civicrm:/hsphere/local/home/antarqld/antarqld.org.au/sites/all/modules/civicrm/packages:.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/antarqld/antarqld.org.au/sites/all/modules/civicrm/CRM/Utils/System.php on line 1018

hope that helps someone equally daft

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: fixed: Failed opening required 'CRM/Utils/System/Drupal6.php' going to 4.1.6
November 11, 2012, 01:11:31 pm
If you moved your site, you may need to run this SQL:

Code: [Select]
UPDATE `civicrm_domain` SET `config_backend`=NULL ;
and you may need to delete

Code: [Select]
ConfigAndLog/Config.IDS.ini
from your CiviCRM files directory
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.

Erich Schulz

  • I post frequently
  • ***
  • Posts: 142
  • Karma: 5
    • When no-one understands what you are going on about its time to start a blog
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.somthing
  • PHP version: 5.3.3
Re: fixed: Failed opening required 'CRM/Utils/System/Drupal6.php' going to 4.1.6
November 13, 2012, 03:56:56 am
Thanks Hershel for the tips - but I've tried introducing the first one at different points and always it just seems to break the website....

I can't find that that file - is it a Joomla thing?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: fixed: Failed opening required 'CRM/Utils/System/Drupal6.php' going to 4.1.6
November 13, 2012, 05:42:56 am
Quote from: Erich Schulz on November 13, 2012, 03:56:56 am
I can't find that that file - is it a Joomla thing?

What's a "Joomla?" ;)

Look in sites/default/files/civicrm/ConfigAndLog/Config.IDS.ini

Or it's in sites/default/files/civicrm/templates_c/Config.IDS.ini
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.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • fixed: Failed opening required 'CRM/Utils/System/Drupal6.php' going to 4.1.6

This forum was archived on 2017-11-26.