Issues

ZF-7106: Circular dependency when loading Zend_Gdata_Calendar

Description

When attempting to load Zend_Gdata_Calendar using Zend_Loader, the following error is displayed:

php > require_once('Zend/Loader.php');
php > Zend_Loader::loadClass('Zend_Gdata_Calendar');
PHP Fatal error:  Cannot redeclare class Zend_Gdata_Calendar in /Users/trevorjohns/Projects/zf/library/Zend/Gdata/Calendar.php on line 168
PHP Stack trace:
PHP   1. {main}() php shell code:0
PHP   2. Zend_Loader::loadClass() php shell code:1

This can also be caused by calling {{require('Zend/Gdata/Calendar.php')}}.

Comments

Fixed in trunk by r16266.

commit ba7dc0ee681ddff7d28a315aaf6ad6f916cf2ea0
Author: tjohns 
Date:   Wed Jun 24 01:16:04 2009 +0000

    ZF-7106: Remove circular dependency in Zend_Gdata_Calendar caused by
    Zend_Gdata_Calendar_Extension_AccessLevel.
    
    git-svn-id: http://framework.zend.com/svn/framework/… 44c647ce-9c0f-0410-b52a-842ac1e357ba

 .../Zend/Gdata/Calendar/Extension/AccessLevel.php  |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)