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) »
  • CiviCRM 1.8b / EACCELERATOR incompatibility
Pages: [1]

Author Topic: CiviCRM 1.8b / EACCELERATOR incompatibility  (Read 1851 times)

TallDavid

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 2
    • ATO Zeta Mu Alumni
  • CiviCRM version: 3.4.8
  • CMS version: Drupal 6.22
  • MySQL version: 5.1.52
  • PHP version: 5.2.13
CiviCRM 1.8b / EACCELERATOR incompatibility
August 03, 2007, 11:18:25 am
I've discovered an incompatibility between CiviCRM 1.8 beta (civicrm-1.8.beta.10676-drupal-php5) and eaccelerator.  When the CiviCRM module is enabled under Drupal 5.2, the Drupal site crashes with a white screen.  Viewing the apache error logs shows:

    [Thu Aug  2 19:03:34 2007] [error] Premature end of script headers: /home/.../public_html/.../index.php
    [26197] EACCELERATOR: PHP crashed on opline 1 of __construct() at /home/.../public_html/.../sites/all/modules/civicrm/CRM/Core/Session.php:85


Disabling eaccelerator in the php.ini file enables the site to work properly. 
Code: [Select]
eaccelerator.enable="0"
A similar problem has been reported before at: http://forum.civicrm.org/index.php/topic,81.0.html

Should this be formally reported as 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: CiviCRM 1.8b / EACCELERATOR incompatibility
August 03, 2007, 12:27:17 pm

yes. To the e-accelerator issue tracker:

The line it is dying on is:

    function __construct( $key = 'CiviCRM' ) {
        $this->_key     = $key;
        $this->_session =& $_SESSION;

the above function is a pretty innoncous PHP function

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • CiviCRM 1.8b / EACCELERATOR incompatibility

This forum was archived on 2017-11-26.