Re: PEAR 1.4.0 dev UNOFFICIAL testing tarball available

From: Date: Sun, 23 May 2004 16:12:48 +0000
Subject: Re: PEAR 1.4.0 dev UNOFFICIAL testing tarball available
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-29584@lists.php.net to get a copy of this message
Arnaud Limbourg wrote:
There are a couple of warnings. Notice: ob_end_clean(): failed to delete buffer. No buffer to delete. in /usr/local/lib/php/pearcmd.php on line 23 Notice: Use of undefined constant mirror - assumed 'mirror' in ChannelFile.php on line 1305 Notice: Use of undefined constant mirror - assumed 'mirror' in ChannelFile.php on line 1305 Notice: Use of undefined constant mirror - assumed 'mirror' in ChannelFile.php on line 1305 Notice: Use of undefined constant mirror - assumed 'mirror' in ChannelFile.php on line 1305 Notice: Use of undefined constant mirror - assumed 'mirror' in ChannelFile.php on line 1305
I found the problem - missing $ in if (!$mirror)
It also broke the 'pear' script. I had to run php /usr/local/lib/php/pearcmd.php directly.
That must be because I packaged the source on windows - the pear command probably has windows line breaks. I've manually fixed this, it should work in the PEAR-1.4.0dev2 tarball. http://www.chiaraquartet.net/PEAR-1.4.0dev2.tgz Greg

« previous php.pear.dev (#29584) next »