Re: DB_DataObject_FormBuilder Cannot redeclare class db_dataobject in DataObject.php

From: Date: Sat, 25 Jun 2005 11:21:13 +0000
Subject: Re: DB_DataObject_FormBuilder Cannot redeclare class db_dataobject in DataObject.php
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19762@lists.php.net to get a copy of this message
Justin Patrin wrote: > 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. Ok, I was using my name but it could be a Gmail issue using the nickname instead the real name in account settings. I've changed the setting to use my real name as sender, hope it works. > > 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:apachephppearDBDataObject.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:apachephppearDBDataObject.php'; > Yep, this is the line. Read the FAQ above. Ok, thank you very much! I've changed the line to require_once 'DB\DataObject.php'; and worked fine. Maybe that need a change (under Windows?) in the createTables.php because that file was autogenerated as I've posted before. regards

« previous php.pear.general (#19762) next »