#33863 [NEW]: the object PDOObj Row must be detroyed after use

2005-07-26 Thread lmelloul at free dot fr
From: lmelloul at free dot fr
Operating system: win32
PHP version:  5.1.0b3
PHP Bug Type: PDO related
Bug description:  the object PDOObj Row must be detroyed after use

Description:

Error Apache.
The PDO object row is not reinitialize.
I need to write $PDOobj = null after use.
Not necessary with other fetch mode.

I Use extension=php_pdo_oci.dll

Reproduce code:
---
$st = $db-prepare(SELECT * FROM NIVEAU4);
$st-execute();
while($PDOobj = $st-fetch(PDO_FETCH_LAZY)) {
echo $PDOobj-CODNIV4 - $PDOobj-LIBNIV4 br /;
$PDOobj = null; // this statement repare the bug
}


Expected result:

Liste of code

Actual result:
--
Ok when I write $PDOobj = null
othewise Apache.exe - Application error
l'instuction à 0x00769c7a emploie l'adresse mémore 0x0017. la
mémoire ne peut être read.


-- 
Edit bug report at http://bugs.php.net/?id=33863edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33863r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33863r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33863r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=33863r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=33863r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=33863r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=33863r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=33863r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33863r=support
Expected behavior:   http://bugs.php.net/fix.php?id=33863r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=33863r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=33863r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=33863r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33863r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=33863r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=33863r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33863r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33863r=float
No Zend Extensions:  http://bugs.php.net/fix.php?id=33863r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33863r=mysqlcfg


#33864 [NEW]: Odbc connection

2005-07-26 Thread lmelloul at free dot fr
From: lmelloul at free dot fr
Operating system: win32
PHP version:  5.1.0b3
PHP Bug Type: PDO related
Bug description:  Odbc connection

Description:

Problem to execute query on progress database USING php_pdo_odbc.dll

I am connected successfull.

but when I execute a query - I have apache error.

it works with standard odbc functions.

I Use Progress OpenEdge V10 environnement 
with Data direct 4.2 32 Bit 





-- 
Edit bug report at http://bugs.php.net/?id=33864edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33864r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33864r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33864r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=33864r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=33864r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=33864r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=33864r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=33864r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33864r=support
Expected behavior:   http://bugs.php.net/fix.php?id=33864r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=33864r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=33864r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=33864r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33864r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=33864r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=33864r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33864r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33864r=float
No Zend Extensions:  http://bugs.php.net/fix.php?id=33864r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33864r=mysqlcfg


#33863 [Fbk-Opn]: the object PDOObj Row must be detroyed after use

2005-07-26 Thread lmelloul at free dot fr
 ID:   33863
 User updated by:  lmelloul at free dot fr
 Reported By:  lmelloul at free dot fr
-Status:   Feedback
+Status:   Open
 Bug Type: PDO related
 Operating System: win32
 PHP Version:  5.1.0b3
 New Comment:

OK the last php 5.1 DEV solve the bug


Previous Comments:


[2005-07-26 11:26:21] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip





[2005-07-26 11:20:10] lmelloul at free dot fr

Description:

Error Apache.
The PDO object row is not reinitialize.
I need to write $PDOobj = null after use.
Not necessary with other fetch mode.

I Use extension=php_pdo_oci.dll

Reproduce code:
---
$st = $db-prepare(SELECT * FROM NIVEAU4);
$st-execute();
while($PDOobj = $st-fetch(PDO_FETCH_LAZY)) {
echo $PDOobj-CODNIV4 - $PDOobj-LIBNIV4 br /;
$PDOobj = null; // this statement repare the bug
}


Expected result:

Liste of code

Actual result:
--
Ok when I write $PDOobj = null
othewise Apache.exe - Application error
l'instuction à 0x00769c7a emploie l'adresse mémore 0x0017. la
mémoire ne peut être read.






-- 
Edit this bug report at http://bugs.php.net/?id=33863edit=1