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 » HTML » HTML_Template_Flexy » Bug #8113

Example does not work on windows

Details

Doc Bug #8113Example does not work on windows
Submitted2006-07-04 12:28 UTC
Fromstuart dot mackay at netcabo dot pt
Assignedcweiske
StatusClosed
PackageHTML_Template_Flexy
PHP VersionIrrelevant
OSWindows
Roadmaps(Not assigned)

Comments

[2006-07-04 12:28 UTC] stuart dot mackay at netcabo dot pt

Description:
------------
The sections of code presented on the page http://pear.php.net/manual/en/package.html.html-template-flexy.intro.php
cannot be used as-is to make a working Flexy example under PHP/Apache on Windows.

There are two important points missing:

1. require_once 'PEAR.php'; is missing from the list of requires
2. The comments wrapped in <?php ?> directives on the home.html template generate errors when the template is compiled.

Being a PEAR and Flexy newbie not being able to get the example working was a major annoyance.

Admittedly it did not take too long to figure out the problems however the lack of a functioning example does not exactly present a positive message when evaluating Flexy.