Re: Cannot redeclare class pear in PEAR.php
| From: | austin swinney | Date: | Fri, 08 Mar 2002 16:24:23 +0000 |
| Subject: | Re: Cannot redeclare class pear in PEAR.php | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-948@lists.php.net to get a copy of this message | ||
nevermind,
i have two copies of the pear library and i reset the include_path, but
there was a require() instead of an include and require being called
first when a page loads causes a conflict between the system
include_path and the reset version. i.e. require is sandwiched between
the two.
thanks,
austin
Austin Swinney wrote:
>
> Fatal error: Cannot redeclare class pear in PEAR.php on line 67
>
> Hi, i am getting that above error. line 67 of PEAR.php is a class
> declaration. i cant seem to find anyplace other than the PEAR.php file
> where class pear is declared. i did do a search of the internet and
> found other sites that have the same error message.
>
> any thoughts?
>
> --
> austin swinney ___ ___ _
> information specialist II /_ / /_> SCZ, CA
> Education.Training.Research /__ / / | r r r r r
> austins@etr.org pirates of programming