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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.1 Release Testing (Moderator: Kurund Jalmi) »
  • Drupal Warning & WSOD
Pages: [1]

Author Topic: Drupal Warning & WSOD  (Read 2021 times)

mhm

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 2
Drupal Warning & WSOD
December 15, 2011, 01:03:31 pm
The install seemed to go fine, but with CiviCRM enabled, I get constant white screen of death. I have set max_execution_time and other variables sufficiently high that I doubt that's the source of the problem. I also get this warning error in my logs:
Quote
   Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'civicrm_invoke' was given in menu_execute_active_handler() (line 503 of /home2/username/public_html/example/includes/menu.inc).

This is a relatively fresh install of Drupal 7.10, and disabling the module makes everything back to normal.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Drupal Warning & WSOD
December 15, 2011, 03:26:23 pm
No other errors appear in the logs? Can you post your PHP and MySQL version?
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.

mhm

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 2
Re: Drupal Warning & WSOD
December 15, 2011, 04:22:05 pm
PHP 5.2.17
MySQL 5.1.60

The PHP logs from my host show:
Quote
[15-Dec-2011 13:40:18] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /home2/username/public_html/example/includes/menu.inc on line 337 [15-Dec-2011 13:41:55]


(Can someone explain how an attempt to allocate 71 bytes can run through 67108864 bytes of memory?)
and

Quote
PHP Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in /usr/lib/php/PEAR.php:773) in /home2/username/public_html/example/sites/all/modules/civicrm/packages/PEAR.php on line 811

(This latter error is repeated 19 times - for all the things I attempted - while the former appears only once, possibly on install.)

(Apologies for not posting those initially. Dreamhost (on which I manage another CiviCRM install) makes them difficult to get to. Bluehost, on the other hand, does not.)

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Drupal Warning & WSOD
December 17, 2011, 11:55:24 am
Quote from: mhm on December 15, 2011, 04:22:05 pm
PHP 5.2.17
MySQL 5.1.60

Those are OK.

Quote from: mhm on December 15, 2011, 04:22:05 pm
[15-Dec-2011 13:40:18] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /home2/username/public_html/example/includes/menu.inc on line 337 [15-Dec-2011 13:41:55]

(Can someone explain how an attempt to allocate 71 bytes can run through 67108864 bytes of memory?)

The system allocated 67108864 bytes for the process and then tried to allocate another 71 bytes and could not. Seems you need more memory.

Quote from: mhm on December 15, 2011, 04:22:05 pm
PHP Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in /usr/lib/php/PEAR.php:773) in /home2/username/public_html/example/sites/all/modules/civicrm/packages/PEAR.php on line 811

This issue has been reported many times on the forums and is usually due to a conflict with another module--you can search on the forums here to see different solutions.
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.

mhm

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 2
Re: Drupal Warning & WSOD
December 18, 2011, 09:02:36 pm
Thanks - the explanation re: bytes makes sense, but with 90 MB available on the first try, and 128 MB for subsequent, I'm not sure how it's exhausting them all.

I'll see what I can find on the pear error. I now remember having to hunt for solutions to this before. Thanks, hopefully something will work.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.1 Release Testing (Moderator: Kurund Jalmi) »
  • Drupal Warning & WSOD

This forum was archived on 2017-11-26.