Subject Re: [firebird-php] Follow up to PHP paging
Author Lutz BrĂ¼ckner
Robin Davis schrieb:

> I meant to add this to my previous email. When I try to connect to a DB
> via IbWebadmin, I get this error msg:
>
> <<
> InterBase Error:
> Invalid clumplet buffer structure: buffer end before end of clumplet -
> clumplet too long
> >>

I just found that this is caused by a bug in php's ibase_connect
function. Firbird 2 has added extra parmeter checkings and php didn't
pass them. You can work around this by removing the cache, dialect and
role parameters from the ibase_connect function call in the file
inc/functions.inc.php, line 657. But there may be other similar
problems, I didn't have the time for further testings now.

What's the type of your cpu? I have the suspicion that this is 64bit
problem.

Lutz
--
web based Firebird and InterBase administration: http://www.ibwebadmin.net