Re: [newbie]
| From: | Stig S. Bakken | Date: | Wed, 03 Jul 2002 20:13:09 +0000 |
| Subject: | Re: [newbie] | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-1805@lists.php.net to get a copy of this message | ||
On Wed, 2002-07-03 at 14:57, corentin merot wrote:
> Hello,
> I'm trying to follow the tutorial for the class HTML_Table.php of
> Bertrand Mansion.
>
> The error message is :
> - Fatal error: Cannot redeclare class pear in D:\Program
> Files\EasyPHP\php\pear\PEAR.php on line 69
>
> If i delete the line :
> - require_once "PEAR.php";
> in HTML/QuickForm.php and in DB.php it works.
>
> It's the same thing for every class i want to use.
>
> Does anyone know about that ?
>
> Thanks,
> Corentin Merot
>
> PS : win2kus sp2, apache 1.3.24 - php 4.2.0 - mysql 3.23.49 - with
> EasyPHP 1.6
Hi,
Do you include "PEAR.php" with just "require" or "include" somewhere
else in your script?
- Stig
--
Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway
http://pear.php.net/wishlist.php/ssb