Bug #15281 Updated: OleMainThreadWndName: php.exe application error
| From: | vito dot moscato at katamail dot com | Date: | Tue, 11 Jun 2002 12:53:46 +0000 |
| Subject: | Bug #15281 Updated: OleMainThreadWndName: php.exe application error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10099@lists.php.net to get a copy of this message | ||
ID: 15281
Updated by: vito.moscato@katamail.com
Reported By: phil.noon@fairhavenconsulting.com
Status: Bogus
Bug Type: ODBC related
Operating System: Windows NT4 SP6
PHP Version: 4.1.1
New Comment:
I have same problem when I turn ON
register_globals = Off
in php.ini
I have NT4 system and mysql 1.4
tanks
Vito
Previous Comments:
------------------------------------------------------------------------
[2002-05-21 23:19:34] kalowsky@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
------------------------------------------------------------------------
[2002-01-29 13:35:13] phil.noon@fairhavenconsulting.com
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 this bug report at http://bugs.php.net/?id=15281&edit=1