For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > March 2004 > Fatal error: Unknown():









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Fatal error: Unknown():
Maurice Kevenaar

2004-03-30, 4:37 am

Hi all,

I'm using Firebird as an database. I'm gettin BLOB's form the database
(memo)

On one pc I receve the folloing 2 errors:

Fatal error: Unknown(): You can lose data. Close any blob after reading of
writing it. Use ibase_blob_close() before calling ibase_close() in Unknown
on line 0

Warning: Unknown(): Unable to call shutdown() - function does not exist in
Unknown on line 0

I'm sure that I close the BLOB after reading it.

function getblob($blob) {
$blob_data = ibase_blob_info($blob);
$blob_hndl = ibase_blob_open($blob);
return ibase_blob_get($blob_hndl, $blob_data[0]);
$close = ibase_blob_close($blob_hndl);
if (!$close) {
print 'Unable to close BLOB.' . "<br>";
exit;
}
}

Does anyone know what I am doing worng?

Maurice
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com