Zend Framework

Missing require_once for Zend_Log in Zend_Cache_Core

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.10.6
  • Fix Version/s: 1.10.7
  • Component/s: Zend_Cache
  • Labels:
    None

Description

In _loggerSanity(), if Zend_Cache_Core is initialised before autoloading has been turned on, a missing require_once statement for Zend_Log causes:

Fatal error: Class 'Zend_Log' not found in /path/to/library/Zend/Cache/Core.php on line 717

(as at revision 21293).

Can be easily worked around by autoloading earlier, requiring Zend_Log yourself or turning off logging, but probably should be fixed nonetheless.

Activity

Hide
Ramon Henrique Ornelas added a comment -

Thank you by report.
Fixed in trunk r22651, applied r22652 to 1.10 branch.

Greetings
Ramon

Show
Ramon Henrique Ornelas added a comment - Thank you by report. Fixed in trunk r22651, applied r22652 to 1.10 branch. Greetings Ramon

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: