Home » Date and Time » Calendar » Bug #2640
Problem with the example file 2.php
Details
| Submitted | 2004-10-28 15:35 UTC |
|---|---|
| From | james at FFFF dot ca |
| Assigned | quipo |
| Status | Closed |
| Package | Calendar |
| PHP Version | 4.3.9 |
| OS | Linux |
| 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.