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 #2640

Problem with the example file 2.php

Details

Submitted2004-10-28 15:35 UTC
Fromjames at FFFF dot ca
Assignedquipo
StatusClosed
PackageCalendar
PHP Version4.3.9
OSLinux
Roadmaps(Not assigned)

Comments

[2004-10-28 15:35 UTC] james at FFFF dot ca

Description:
------------
On a fresh install of Calendar 0.5.2, tried running the example 2.php. Got the following error:

Warning: getengine(Calendar/Engine/UnixTs.php): failed to open stream: No such file or directory in /usr/local/php4/lib/php/Calendar/Calendar.php on line 80

I looked and I have a Calendar/Engine/UnixTS.php file, so there's probably just been a typo made somewhere, perhaps in Calendar.php? Either that, or the UnixTs.php file should be named UnixTS.php in the package.

[2004-10-28 15:38 UTC] james at FFFF dot ca

After looking, it appears that the culprit is 2.php, and not the core Calendar files.

Line 13 reads:

define('CALENDAR_ENGINE','UnixTs');

This should be changed to

define('CALENDAR_ENGINE','UnixTS');

to fix the problem.