Posted by R on 10/20/07 11:46
Hi all,
I found the reason - one of my class has __destruct function and was
calling
a method on object that was already destroyed by PHP5.
the solution to my problem was to call Finalize method that closes
all streams, connections, sessions etc - it was called always when
exception wasn't thrown.
so I simply added:
catch (LIZException $e)
{
$e->printDebug();
}
catch (Exception $e)
{
LIZException::printException($e);
}
// PHP5 doesn't have finally block... sux
//finally
//{
if (false == $module->isFinalized())
{
$module->Finalize();
}
//}
I'm missing the finally block very much ;)
best redards
R
Navigation:
[Reply to this message]
|