php-db | 2001071

[PHP-DB] about "PHP Warning: failed to rollback outstanding transactions!" From: Michael Cheung (vividy <email protected>)
Date: 07/05/01

Hi;

Linux 2.2.18 + oracle 8.1.7i + php 4.0.5 + oci8
I got a warning in log file.
"PHP Warning: failed to rollback outstanding transactions!"

I have simplify the script.
it will cause the warning.

function ShowError($errormsg,$dbh=false)
{
        if($dbh!=false) OCILogOff($dbh);
        exit();
}

$dbh=OCILogon("weboracle","cyber","");
ShowError("Login Error",$dbh);

Regards;
Michael

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>