Bug #15281: OleMainThreadWndName: php.exe application error
| From: | phil dot noon at fairhavenconsulting dot com | Date: | Tue, 29 Jan 2002 18:35:15 +0000 |
| Subject: | Bug #15281: OleMainThreadWndName: php.exe application error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-78458@lists.php.net to get a copy of this message | ||
From: phil.noon@fairhavenconsulting.com
Operating system: Windows NT4 SP6
PHP version: 4.1.1
PHP Bug Type: ODBC related
Bug description: OleMainThreadWndName: php.exe application error
I am running PHP 4.1.1 as a CGI with Apache 1.3.20. I have an Oracle
database, version 8.1.7, running on the same machine. I am trying to read
the database using ODBC.
I am using the MS ODBC driver for Oracle 2.573.6019.00. I get the same
result using an Oracle ODBC driver.
I get the following error:
"OleMainThreadWndName: php.exe application error"
"The instruction at 0x77f6cc80 referenced memory at 0x00000031. The memory
could not be read."
I can connect successfully to the database with no errors using OCI.
---- Script ------
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<table>
<td><b>Dname</b></td>
</tr>
<?php
$connectionstring = odbc_pconnect("ODBCMSORACLE", "scott", "tiger");
//$Query = "SELECT dname FROM dept";
//$queryexe = odbc_do($connectionstring, $Query);
//odbc_fetch_row($queryexe);
//$fname = odbc_result($queryexe, 1);
//print ("<tr><td>$fname</td></tr>");
odbc_close($connectionstring);
?>
</table>
</body>
</html>
---- End Script --
--
Edit bug report at: http://bugs.php.net/?id=15281&edit=1