Re: DB_DataObject_FormBuilder Cannot redeclare class db_dataobject in DataObject.php
| From: | Justin Patrin | Date: | Fri, 24 Jun 2005 16:02:12 +0000 |
| Subject: | Re: DB_DataObject_FormBuilder Cannot redeclare class db_dataobject in DataObject.php | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19755@lists.php.net to get a copy of this message | ||
On 6/24/05, PHPDiscuss - PHP Newsgroups and mailing lists
<nyshab@gmail.com> wrote:
First off please change the name you're sending. You're not the PHP
mailing list.
> This is a bug? Any solution or ideas for this?
No, this is not a bug.
>
> Fatal error: Cannot redeclare class db_dataobject in
> c:\apache\php\pear\DB\DataObject.php on line 3532
Please see: http://pear.reversefold.com/dokuwiki/doku.php?id=phpfaqs#why_does_my_script_get_included_multiple_times_with_include_once__require_once
[snip]
> MyClass.php
> require_once 'c:\apache\php\pear\DB\DataObject.php';
Yep, this is the line. Read the FAQ above.
--
Justin Patrin