PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Date and Time » Calendar » Bug #169

Calendar and APC problems

Details

Submitted2003-10-30 17:55 UTC
Frompear at sapphire dot no
Assignedhfuecks
StatusClosed
PackageCalendar
PHP VersionIrrelevant
OSLinux
Roadmaps(Not assigned)

Comments

[2003-10-30 17:55 UTC] pear at sapphire dot no

Description:
------------
When APC (http://pecl.php.net/package/APC) is activated Calendar stops working after the first run. The second (and all the following runs) returns:"PHP Fatal error: Cannot redeclare class calendar_engine_factory in /usr/share/pear/Calendar/Year.php on line 37" (for example 1).

When disabling APC everything works fine.

[2003-10-30 21:48 UTC] hfuecks at php dot net

That's probably best to report as an APC issue (http://pecl.php.net/bugs/report.php?package=APC) - (tentatively - don't know APC) sounds like a problem with how it's handling require_once.

[2003-11-18 09:22 UTC] hfuecks at php dot net

Problem now being handled here: http://pecl.php.net/bugs/bug.php?id=174