Re: DatatObject AUTOCODE fails
| From: | Alan Knowles | Date: | Sat, 16 Aug 2003 03:58:10 +0000 |
| Subject: | Re: DatatObject AUTOCODE fails | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7236@lists.php.net to get a copy of this message | ||
Andreas Ljunggren made a change that should help - it's in CVS,
http://cvs.php.net/diff.php/pear/DB_DataObject/DataObject/Generator.php?r1=1.32&r2=1.33&ty=h&num=10
It's probably your editor replacing/modifying the spaces infront of ###START_AUTOCODE..
Regards
Alan
Mike Carter wrote:
Hi, I have a number of dataobjects generated earlier. I've just updated my database by adding some additional table fields. I then re-ran createTables.php to update my existing objects. The ini file which describes the fields updated fine with my new additions. However the PHP code between the ###START_AUTOCODE and ###END_AUTOCODE didn't get touched. The createTables.php script didn't produce any errors either. Why could this be? I'm running Apache/PHP on WindowsXP, with PEAR DataObject.php,v 1.115 2003/07/31 04:58:53 alan_k Exp regards, MIke Carter