RE: [PEAR] Re: PEAR_Info - undefined function getconfig()?
| From: | Ben Lake | Date: | Mon, 12 May 2003 13:40:45 +0000 |
| Subject: | RE: [PEAR] Re: PEAR_Info - undefined function getconfig()? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5324@lists.php.net to get a copy of this message | ||
"My Code", you say this as if I had to do something. Heh.
require_once("PEAR/Info.php");
PEAR_Info::PEAR_Info("/path/to/pear");
PEAR_Info::show();
-----Original Message-----
From: Davey [mailto:davey@php.net]
Sent: Monday, May 12, 2003 3:59 AM
To: pear-general@lists.php.net
Subject: [PEAR] Re: PEAR_Info - undefined function getconfig()?
yup, AFAICT my code is all good.
Care to post your code?
Also it would look like you're trying to call getconfig as a function?
Try to upgrade to PEAR_Info 1.0.6, thought as far as I can see, its all
good since 1.0.4 when the getConfig method was introduced...
- Davey
Davey wrote:
> Ben, what version of PEAR_Info are you using?
>
> ::checks he did $this->getConfig() on line 97::
>
> - Davey
> (Lead on PEAR_Info)
>
> Ben Lake wrote:
>
>> Howdy,
>>
>> Anyone out there seen this before?
>>
>> Fatal error: Call to undefined function: getconfig() in
>> /path/to/PEAR/Info.php on line 97
>>
>> Just did a:
>>
>> % pear install PEAR_Info
>>
>> Made a little page which calls the constructor, sets the PEAR dir,
>> then I call show().
>>
>> Shouldn't be too hard? :)
>>
>> Any ideas welcome.
>>
>> Ben
>>
>
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php