Issues

ZF-7106: Circular dependency when loading Zend_Gdata_Calendar

Issue Type: Bug Created: 2009-06-23T14:26:31.000+0000 Last Updated: 2009-06-23T18:18:28.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: Trevor Johns (tjohns) Assignee: Trevor Johns (tjohns) Tags: - Zend_Gdata

Related issues: Attachments:

Description

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

<pre class="literal">
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

Posted by Trevor Johns (tjohns) on 2009-06-23T18:18:28.000+0000

Fixed in trunk by r16266.

<pre class="literal">
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: <a href="http://framework.zend.com/svn/framework/standard/trunk@16266">http://framework.zend.com/svn/framework/…</a> 44c647ce-9c0f-0410-b52a-842ac1e357ba

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

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts