Ticket #236 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Protected Property Access Errors

Reported by: SubWolf Assigned to: somebody
Priority: major Milestone: 0.9.6
Component: eAccelerator Version:
Keywords: class, protected, activecollab Cc:

Description

Setup: Apache/1.3.34, PHP 5.2.0-8, eAccelerator V0.9.6-dev / Latest SVN, 0.9.5 causes segfaults.

With eAccelerator enabled (optimize & cache, shm only), errors such as these began occurring on our ActiveCollab installation (docroot removed):

PHP Fatal error: Cannot access protected property !ProjectFile::$manager in /application/models/project_files/base/BaseProjectFile.class.php on line 375

or...

PHP Fatal error: Cannot access protected property !ProjectMessage::$manager in /application/models/project_messages/base/BaseProjectMessage.class.php on line 331

Modifying the script mentioned in the error restores things to normal for a single page load, then the errors start again. I've had to disable eAccelerator altogether for now, when the opportunity arises I will re-enable it and test with different configurations.

BaseProjectMessage.class.php:330-333 :

    function manager() {
      if(!($this->manager instanceof ProjectMessages)) $this->manager = ProjectMessages::instance();
      return $this->manager;
    } // manager

Change History

02/13/07 13:39:30 changed by bart

I saw the bug and after that I cleared my cache and the bug was gone. Can you confirm this? I looks a lot like bug #192

02/13/07 18:43:28 changed by bart

  • status changed from new to closed.
  • resolution set to fixed.

This bug is fixed in rev 294