Re: Basic? problem with logger not solved

From: Date: Fri, 19 Aug 2005 18:00:11 +0000
Subject: Re: Basic? problem with logger not solved
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20494@lists.php.net to get a copy of this message
Hello Laurent, thanks for your answer! Laurent Laville schrieb:
but answers are not mandatory, i know because i've myself some post still without answers!
Yes, I know, but I really want to use the package. And now asking again was successful ;-)
That was my question: With the Log-package I must do something totally wrong. I think it's a basic problem, but I'm blind to it. Perhaps you see it on the first glance? With every logger I get "Call to undefined function"-messages. <script> require_once('./inc_pear.php'); require_once('PEAR.php'); require_once('Log.php'); $conf = array('title' => 'Sample Log Output'); $logger = &Log::singleton('win', 'LogWindow', 'ident', $conf); </script> --> Fatal error: Call to undefined function: upto() in /mypearpath/PEAR/Log/win.php on line 78
i've tried myself this example with Log 1.8.7, PEAR 1.3.6 and got no fatal error. What version of Log and PEAR did you used ? For the first thing, now I know it's noz a problem of my code.
Log 1.8.7, PEAR 1.3.5, PHP 4.3.10 I just installed all the pear stuff during the last few days. Text_Password and Mail_queue worked fine. The testscript is in the same directory as those for the other packages and has the same include to define the pear-path. The Log-Scripts are at their appropiate places, I deleted and reinstalled the package . The object is instantiated. Now I'll upgrade to Pear 1.3.6 and try again. Best regards Sabine

« previous php.pear.general (#20494) next »