Re: pear upgrade (was: [PEAR] HTML_IT doesn't parse)
| From: | Bertrand Mansion | Date: | Wed, 04 Jun 2003 12:15:03 +0000 |
| Subject: | Re: pear upgrade (was: [PEAR] HTML_IT doesn't parse) | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5785@lists.php.net to get a copy of this message | ||
<martin@bugs.unl.edu.ar> wrote :
> On Mié 04 Jun 2003 08:39, Pierre-Alain Joye wrote:
>> Hello,
>>
>> On Wed, 4 Jun 2003 08:33:07 -0300
>>
>> Martin Marques <martin@bugs.unl.edu.ar> wrote:
>>> <?php
>>> require_once "HTML/IT.php";
>>> ...
>>> $tpl = new IntegratedTemplate(".");
>>> ...
>>
>> It seems you use an old version, please upgrade HTML_Template_IT
>> package using 'pear upgrade HTML_Template_IT'. Then alter your script
>> as follows:
>
> # pear upgrade HTML_Template_IT
>
> Notice: Use of undefined constant PEAR_CONFIG_SYSCONFDIR - assumed
> 'PEAR_CONFIG_SYSCONFDIR' in Config.php on line 177
>
> Notice: Use of undefined constant PEAR_CONFIG_SYSCONFDIR - assumed
> 'PEAR_CONFIG_SYSCONFDIR' in Config.php on line 408
> downloading HTML_Template_IT-1.1.tgz ...
> ...done: 18,563 bytes
> HTML_Template_IT not installed
> #
Upgrade pear first, use go-pear, see instructions on pear website.
Then use: pear install HTML_Template_IT (or HTML_Template_Sigma, if you are
going to have to change all your scripts anyway) because the installer
apparently doesn't allow you to upgrade a package that is not already
installed (not very clever).
Bertrand Mansion
Mamasam