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) »
  • Fatal errors upon re-installation of 4.2
Pages: [1]

Author Topic: Fatal errors upon re-installation of 4.2  (Read 775 times)

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Fatal errors upon re-installation of 4.2
September 13, 2013, 01:06:29 pm
I am on Drupal 7 running CiviCRM 4.2.9. My drupal installation is part of a drupal profile that included CiviCRM in the profile. However, because of many CiviCRM errors that I am getting with CiviMail, I want to re-install CiviCRM in sites/all/modules folder.

I did the following:
- disabled all civicrm extension modules
- disabled civicrm
- uninstalled civicrm from drupal
- deleted civicrm.settings.php file

then i moved the civicrm folder out of my drupal base completely, reloaded my modules page and ensured that CiviCRM wasn't showing up. Then I placed the civicrm installation folder in sites/all/modules and proceeded with the installation instructions here: http://wiki.civicrm.org/confluence/display/CRMDOC42/Drupal+Installation+Guide+for+CiviCRM+4.2+-+Drupal+7

I am able to check civicrm requirements on the civicrm installation screen and get everything green. Then when I go ahead and tell it to install, it eventually gives me a white screen. I check my apache logs and there is no fatal error, and I check my database and all the civi tables are installed. In addition, I see it has written a new civicrm.settings.php file. But what appears to have not happened is that in the drupal modules list, civicrm appears to be disabled. Upon attempting to manually enable it, I get a fatal error of:

PHP Fatal error:  require_once(): Failed opening required 'civicrm_user.inc' (include_path='.:/usr/share/pear:/        usr/share/php') in /drupalroot/profiles/cm_starterkit_difficult/modules/civicrm/drupal/civicrm.module on line 31

This is odd because I did a complete uninstall and removed civicrm completely.  Is there a drupal database table that seems to be retaining the old location of the files? Where would this be stored?


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: Fatal errors upon re-installation of 4.2
September 14, 2013, 11:49:54 am
Not sure but this might be related to http://forum.civicrm.org/index.php/topic,19950.0.html

Kurund
Found this reply helpful? Support CiviCRM

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Fatal errors upon re-installation of 4.2
September 15, 2013, 05:10:34 am
Did you use a fresh copy of the CiviCRM codebase? And flush all caches in Drupal before?
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.

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Fatal errors upon re-installation of 4.2
September 17, 2013, 09:01:37 am
Ahhhhh. Stupid error. still had a sites/default/files/civicrm/upload folder with items in it! Completely removed sites/default/files/civicrm folder along with civicrm.settings.php and now fresh install and database swap out worked.

FYI because I am indeed running APC in order to speed things up I did check the APC thread mentioned by Kurund and in case anyone else experiences that it seems it was fixed in APC release 3.1.9.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Fatal errors upon re-installation of 4.2

This forum was archived on 2017-11-26.