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) »
  • White screen of death installing CiviCRM 4.4.3 on Drupal 7.26
Pages: [1]

Author Topic: White screen of death installing CiviCRM 4.4.3 on Drupal 7.26  (Read 2746 times)

damaxl

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
  • CiviCRM version: 4.1.2 DE
  • CMS version: Drupal 7.12 / 7.14
  • MySQL version: 14.12
  • PHP version: 5.2.6
White screen of death installing CiviCRM 4.4.3 on Drupal 7.26
January 20, 2014, 12:54:35 am
Hello everybody,

today a got a white screen of death, when installing CiviCRM 4.4.3 on Drupal 7.26 (both german versions).

The Installation startet with the message (this will take a few minutes) , worked some seconds and ended in a white screen of death. The Website wasn't accessable anymore.

I found out that deleting the last lines in civicrm.settings.php ...
Code: [Select]
require_once 'CRM/Core/ClassLoader.php';
CRM_Core_ClassLoader::singleton()->register();
... bring back the Drupal part of the website, but CiviCRM isn't accessable.

Apache error.log contains

PHP Fatal error:  Cannot redeclare class crm_core_classloader in /var/www/drupal/sites/all/modules/civicrm/CRM/Core/ClassLoader.php on line 36

Does anybody know what causes this problem?

Thanks in advance!

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: White screen of death installing CiviCRM 4.4.3 on Drupal 7.26
January 20, 2014, 03:22:38 am
Are you certain you have the correct version of CiviCRM? There is one for Drupal 6 and a separate one for Drupal 7.
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.

damaxl

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
  • CiviCRM version: 4.1.2 DE
  • CMS version: Drupal 7.12 / 7.14
  • MySQL version: 14.12
  • PHP version: 5.2.6
Re: White screen of death installing CiviCRM 4.4.3 on Drupal 7.26
January 20, 2014, 06:02:37 am
Hello Hershel,

yes I'm sure, because the same source runs well with Drupal 7.23.

The initial situation was, Drupal 7.23 with CiviCRM 4.4.0 running for 3 month. But there is a problem with multiple phone number entries and so we upgraded to CiviCRM 4.4.3. After that we upgraded to Drupal 7.26 with led to the described problem.
Next try was to delete the upgraded CiviCRM 4.4.3 version and installing it from scratch, just for test purposes. But this showed the same error.

Greetings

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: White screen of death installing CiviCRM 4.4.3 on Drupal 7.26
January 20, 2014, 06:22:23 am
Is your Drupal a "standard" one or did you use the CiviCRM Starter Kit?
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.

damaxl

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
  • CiviCRM version: 4.1.2 DE
  • CMS version: Drupal 7.12 / 7.14
  • MySQL version: 14.12
  • PHP version: 5.2.6
Re: White screen of death installing CiviCRM 4.4.3 on Drupal 7.26
January 20, 2014, 07:00:59 am
It's a standard one ..

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: White screen of death installing CiviCRM 4.4.3 on Drupal 7.26
January 20, 2014, 07:22:43 am
I'm not sure. I would suggest you remove the CiviCRM module files and all files in sites/default/files/civicrm and try again from the start.
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.

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: White screen of death installing CiviCRM 4.4.3 on Drupal 7.26
January 20, 2014, 10:04:15 am

check and ensure that there is only one copy of civicrm within your drupal's web directory

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

damaxl

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
  • CiviCRM version: 4.1.2 DE
  • CMS version: Drupal 7.12 / 7.14
  • MySQL version: 14.12
  • PHP version: 5.2.6
Re: White screen of death installing CiviCRM 4.4.3 on Drupal 7.26
January 21, 2014, 02:44:23 pm
@Hershel
Yes, this is what I did first, removed CiviCRM files completely and even civicrm.settings.php to get a new one (maybe the existing is corrupted in any way) and the installed CiviCRM from scratch. The same second when the installation is over, the white screen of death appeares.

@Lobo
There was definitely only one copy of CiviCRM in Drupal's web directory


Switching back to Drupal 4.23 with CiviCRM 4.4.3 runs like a charm. Drupal 7.26 upgrade was necessary because of a security warning.

Next thing I'll try is to setup Drupal 4.26 with CiviCRM 4.4.3 on an evaluation environement. But this would last a few days, because I'm very busy theese days.

damaxl

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
  • CiviCRM version: 4.1.2 DE
  • CMS version: Drupal 7.12 / 7.14
  • MySQL version: 14.12
  • PHP version: 5.2.6
Re: White screen of death installing CiviCRM 4.4.3 on Drupal 7.26
January 29, 2014, 08:10:19 pm
Today I dumped the production site (Drupal 7.23 + CiviCRM 4.4.3) and installed it on a local virtual machine for test purposes.

The site comes up and is running well, as long as I don't activate a new Drupal modul. Every activation leads to that white screen of death. The apache error log shows 'Fatal error:  Allowed memory size of .... exhausted'. The memory of the vm machine is 1024MB and I thing sufficient enough.

Deactivating CiviCRM with 'drush dis civicrm' brings back the Drupal site again. With this, CiviCRM Theme is deacvtivated as well.

Reactivating CiviCRM is without problems, but as soon as CiviCRM Theme is reactivated, the site is down again.

Max Hunter

  • I’m new here
  • *
  • Posts: 21
  • Karma: 1
  • CiviCRM version: 4.4.x
  • CMS version: Drupal 7
Re: White screen of death installing CiviCRM 4.4.3 on Drupal 7.26
February 13, 2014, 12:40:49 pm
Have you tried deleting the civicrm_class_loader variable?  This variable contains the absolute path to classloader.php, and can cause problems if you're moving your site around. 

It worked for me to delete this variable using: drush vdel civicrm_class_loader

I believe that drush cc all should accomplish this after 4.4.4

ehowland

  • I’m new here
  • *
  • Posts: 25
  • Karma: 0
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6
  • MySQL version: various
  • PHP version: various
Re: White screen of death installing CiviCRM 4.4.3 on Drupal 7.26
November 26, 2014, 11:39:07 pm
I was having the same error when I was trying to run step 13 on the Moving+an+Existing+Installation+to+a+New+Server+or+Location page.

I.e. Drupal sites: http://<drupal_site>/index.php?q=civicrm/admin/setting/updateConfigBackend&reset=1

This command would have presumably fixed the error.

Max Hunter's solution posted on Feb 13, 2014 worked for me:
drush vdel civicrm_class_loader

I was moving a 4.5.4 site.  I did clear the cache but not from drush.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • White screen of death installing CiviCRM 4.4.3 on Drupal 7.26

This forum was archived on 2017-11-26.