Re: php 4.3.10 and DB_DataObject - segfaults

From: Date: Sat, 18 Dec 2004 02:04:26 +0000
Subject: Re: php 4.3.10 and DB_DataObject - segfaults
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-16296@lists.php.net to get a copy of this message
yes - 4.3.10 is totatlly borked - please do not upgrade untill this is fixed http://bugs.php.net/31106 Should be before christmas hopefully. Regards Alan Michael wrote:
[This message has been brought to you via pear.php.net.] Fatal error: <i>Call to a member function on a non-object</i> in <i>c:\php4\pear\DB\DataObject\Generator.php</i> on line <i>132</i></th></tr> <tr><th bgcolor='#7777dd' colspan='3'>Call Stack</th></tr> <tr><th bgcolor='#9999ee'>#</th><th bgcolor='#9999ee'>Function</th><th bgcolor='#9999ee'>Location</th></tr> <tr><td bgcolor='#ddddff' align='center'>1</td><td bgcolor='#ddddff'>{main}()</td><td bgcolor='#ddddff'>C:\php4\PEAR\DB\DataObject\createTables.php<b>:</b>0</td></tr> <tr><td bgcolor='#ddddff' align='center'>2</td><td bgcolor='#ddddff'>db_dataobject_generator->start()</td><td bgcolor='#ddddff'>c:\php4\pear\DB\DataObject\Generator.php<b>:</b>46</td></tr> </table></font> If I use tables previously created with 4.3.9, apache crashes--complaining about php4ts.dll. Here's what I'm running: Windows XP SP2 Apache 2.0.52 PHP 4.3.10 Everything works with 4.3.9. phpBB2 is working in 4.3.10 (of course, it doesn't use pear). I'm not sure where the bug might be so I thought I'd email you first. Could I be doing something wrong? Let me know if I can help out with this. Thanks, Michael" >I'm getting the following error when I run createTables.php <code><B>db_dataobject_generator: 0:</B> CREATING FOR dreams </code><BR> <code><B>db_dataobject_generator: 0:</B> calling generatedefinitions</code><BR> <br /> <font size='1'><table border='1' cellspacing='0'> <tr><th bgcolor='#ee5555' colspan="3">Fatal error: <i>Call to a member function on a non-object</i> in <i>c:\php4\pear\DB\DataObject\Generator.php</i> on line <i>132</i></th></tr> <tr><th bgcolor='#7777dd' colspan='3'>Call Stack</th></tr> <tr><th bgcolor='#9999ee'>#</th><th bgcolor='#9999ee'>Function</th><th bgcolor='#9999ee'>Location</th></tr> <tr><td bgcolor='#ddddff' align='center'>1</td><td bgcolor='#ddddff'>{main}()</td><td bgcolor='#ddddff'>C:\php4\PEAR\DB\DataObject\createTables.php<b>:</b>0</td></tr> <tr><td bgcolor='#ddddff' align='center'>2</td><td bgcolor='#ddddff'>db_dataobject_generator->start()</td><td bgcolor='#ddddff'>c:\php4\pear\DB\DataObject\Generator.php<b>:</b>46</td></tr> </table></font> If I use tables previously created with 4.3.9, apache crashes--complaining about php4ts.dll. Here's what I'm running: Windows XP SP2 Apache 2.0.52 PHP 4.3.10 Everything works with 4.3.9. phpBB2 is working in 4.3.10 (of course, it doesn't use pear). I'm not sure where the bug might be so I thought I'd email you first. Could I be doing something wrong? Let me know if I can help out with this. Thanks, Michael


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