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 After Installation
Pages: [1]

Author Topic: White Screen of Death After Installation  (Read 3952 times)

rczamor

  • I’m new here
  • *
  • Posts: 20
  • Karma: 2
White Screen of Death After Installation
April 20, 2011, 04:50:52 pm
I just installed CiviCRM 4 with a clean Drupal 7 installation, and once I go to access the CiviCRM dashboard, I get a white screen. I have this installed locally on MAMP. I have MySQL and Apache tuned to handle some large Drupal sites, so I don't think it is a resource allocation.

Is anyone else having this issue?

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 After Installation
April 20, 2011, 04:58:32 pm

check your error logs. they have been other forum reports about a MAMP issue which we have not yet tracked down

http://forum.civicrm.org/index.php/topic,19232.msg81476.html#msg81476

if u can track and figure out whats happening that would be great

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

dotsam

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 3.x, 4.x
  • CMS version: Drupal 6.x, 7.x
  • MySQL version: Various
  • PHP version: Various
Re: White Screen of Death After Installation
April 21, 2011, 08:52:15 am
I am having a similar problem.

I have just successfully clean-installed the new civicrm 3.40 on drupal 6.20, running under apache with fastcgi and memcache. Any requests to example.com/civicrm are met with a completely blank page, and apache's error log is blank.

Any help would be greatly appreciated.

nicol

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 5
  • CiviCRM version: 4.2, 4.3, 4.4
  • CMS version: Joomla 2.5.x, Joomla 3.x Wordpress 3.x, Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.3 / 5.4
Re: White Screen of Death After Installation
April 28, 2011, 04:33:13 am
I'm having the same problem - new Drupal 7 install under MAMP and most of CiviCRM 4 doesn't appear in the interface (ie there's no menu link) - tho I can install the other Civi modules and in the configuration screen it lets me configure CiviMember Roles Sync and CiviGroup Roles Sync, but no other part of Civi.

Can't see anything in the Apache error logs relating to it either.

Have tried with Joomla 1.6 under MAMP and it works well.

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 After Installation
April 28, 2011, 10:43:41 am
Can you post your versions of Apache, PHP and MySQL?
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.

nicol

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 5
  • CiviCRM version: 4.2, 4.3, 4.4
  • CMS version: Joomla 2.5.x, Joomla 3.x Wordpress 3.x, Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.3 / 5.4
Re: White Screen of Death After Installation
April 28, 2011, 11:32:59 am
It's

Apache 2.0.63
MySQL 5.1.44
PHP 5.3.2

PHP memory is set to 32mb

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 After Installation
April 28, 2011, 11:35:19 am
I would increase that limit to at least 128mb and see if that helps.
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.

nicol

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 5
  • CiviCRM version: 4.2, 4.3, 4.4
  • CMS version: Joomla 2.5.x, Joomla 3.x Wordpress 3.x, Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.3 / 5.4
Re: White Screen of Death After Installation
April 28, 2011, 11:42:48 am
Have just increased and that doesn't make any difference unfortunately (unless I need to reinstall, with it at the higher memory setting?).

Thanks

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 After Installation
April 28, 2011, 11:44:59 am
You just need to restart Apache. Can you check your Apache and PHP log settings and make sure that both are set to store error logs?
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.

nicol

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 5
  • CiviCRM version: 4.2, 4.3, 4.4
  • CMS version: Joomla 2.5.x, Joomla 3.x Wordpress 3.x, Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.3 / 5.4
Re: White Screen of Death After Installation
April 28, 2011, 12:18:53 pm
I did reset MAMP and Drupal showed the 128mb limit. I think the logs are enabled as there are errors from other local sites, at least for Apache.

nicol

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 5
  • CiviCRM version: 4.2, 4.3, 4.4
  • CMS version: Joomla 2.5.x, Joomla 3.x Wordpress 3.x, Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.3 / 5.4
Re: White Screen of Death After Installation
April 30, 2011, 07:36:16 am
Sorry, I've been away from my computer with MAMP on it to try this again. While the Apache log was empty, the PHP log has the following whenever I load the civicrm config page:

Code: [Select]
[30-Apr-2011 15:34:44] PHP Notice:  Use of undefined constant DRUPAL_ROOT - assumed 'DRUPAL_ROOT' in /Applications/MAMP/htdocs/bapcad/sites/all/modules/civicrm/CRM/Core/BAO/Website.php on line 56
[30-Apr-2011 15:34:44] PHP Warning:  require_once(DRUPAL_ROOT/includes/errors.inc) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/bapcad/sites/all/modules/civicrm/CRM/Core/BAO/Website.php on line 56
[30-Apr-2011 15:34:44] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'DRUPAL_ROOT/includes/errors.inc' (include_path='.:/Applications/MAMP/htdocs/bapcad/sites/all/modules/civicrm:/Applications/MAMP/htdocs/bapcad/sites/all/modules/civicrm/packages:.:/Applications/MAMP/bin/php5.3/lib/php') in /Applications/MAMP/htdocs/bapcad/sites/all/modules/civicrm/CRM/Core/BAO/Website.php on line 56

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 After Installation
April 30, 2011, 12:38:16 pm
Says here http://forum.civicrm.org/index.php/topic,19232.msg81678.html#msg81678 this:

Quote
Turning off XCache (MAMP > Preferences > PHP > Cache) seems to have fixed the issue for me.

regarding this issue.
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.

nicol

  • I post occasionally
  • **
  • Posts: 95
  • Karma: 5
  • CiviCRM version: 4.2, 4.3, 4.4
  • CMS version: Joomla 2.5.x, Joomla 3.x Wordpress 3.x, Drupal 7.x
  • MySQL version: 5.x
  • PHP version: 5.3 / 5.4
Re: White Screen of Death After Installation
May 02, 2011, 06:18:03 am
Thanks, that's fixed it.

IsaacMars

  • Guest
Re: White Screen of Death After Installation
May 08, 2011, 11:49:29 am
I'll second the fix.  Had the same path problem as Nicol with no apparent path problems.  Switched from xcache to e-accelerate (or something) in the MAMP preferences.... and Presto!  Magic fix.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • White Screen of Death After Installation

This forum was archived on 2017-11-26.