php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15281 OleMainThreadWndName: php.exe application error
Submitted: 2002-01-29 13:35 UTC Modified: 2002-05-21 23:19 UTC
From: phil dot noon at fairhavenconsulting dot com Assigned:
Status: Not a bug Package: ODBC related
PHP Version: 4.1.1 OS: Windows NT4 SP6
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
49 - 34 = ?
Subscribe to this entry?

 
 [2002-01-29 13:35 UTC] phil dot noon at fairhavenconsulting dot 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 --

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-21 23:19 UTC] 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-06-11 08:53 UTC] vito dot moscato at katamail dot com
I have same problem when I turn ON
register_globals = Off
in php.ini
I have NT4 system and mysql 1.4

tanks
Vito
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 23:01:27 2024 UTC