#22162 [Opn]: Program performs "illegal operation"
| From: | webber123456 at hotmail dot com | Date: | Tue, 11 Feb 2003 22:21:11 +0000 |
| Subject: | #22162 [Opn]: Program performs "illegal operation" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32830@lists.php.net to get a copy of this message | ||
ID: 22162
User updated by: webber123456@hotmail.com
Reported By: webber123456@hotmail.com
Status: Open
Bug Type: COM related
Operating System: win98/pws/ie5
PHP Version: 4.3.1-dev
New Comment:
what does this mean
"updated version info" ?
Previous Comments:
------------------------------------------------------------------------
[2003-02-11 15:39:39] sniper@php.net
updated version info. (and next time, DO NOT USE THE 'Add Comment' link
when you reply to your OWN report!!)
------------------------------------------------------------------------
[2003-02-11 15:36:37] webber123456@hotmail.com
using latest snapshot made no difference
still get following
(error message dialog box)
Php
This program has performed an illegal operation and will be shut down
If the problem persists, contact the program vendor
(click close - browser then returns following message)
CGI Error
The specified CGI application misbehaved by not returning a complete
set of HTTP headers. The headers it did return are:
------------------------------------------------------------------------
[2003-02-11 09:57:54] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-02-11 02:19:51] webber123456@hotmail.com
creating a disconnected recordset with access_db/ADO/COM does not work
///////////////////////////////////////////////////
# to disconnect a recordset it must be created explicitly
$DB_RS = new COM("ADODB.Connection") or die("Cannot start ADO");
$DB_RS->Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" .
realpath($DB_Path));
$rstemp= new COM("ADODB.Recordset") or die("Cannot create
Recordset");;
$rstemp->cursorlocation=3;
$rstemp->ActiveConnection = $DB_RS;
$rstemp->Open ($SQL,$DB_RS,2,1,0) ;
# this line below disconnects the recordset
$rstemp->ActiveConnection=null;
///////////////////////////////////////////////////
error from this line
$rstemp->ActiveConnection = $DB_RS;
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22162&edit=1