From:             sarusij at yahoo dot com
Operating system: redhat 8
PHP version:      4.3.1
PHP Bug Type:     InterBase related
Bug description:  fail to "select and fetch"

I was using RedHat 7.3 with Interbase 6.0.1 every thing worked fine (Apache
1.3.x php 4.1.x).
In order to get better performance updated to redhat 8 (apache 2.0.40 php
4.2.2) and interbase 7 (trial)
generated interbase.so using ./compile
--with-interbase=shared,/opt/interbase
all in place, restart httpd, when accesing page with a database select it
returns:-
Warning: InterBase: Dynamic SQL Error SQL error code = -804 Incorrect
values within SQLDA structure in /home/web-site/htdocs/main.inc on line
31

line 31 =  $arr=ibase_fetch_row($sth);

By mistake I have, in one of the time forgot to change to interbase.so
that was compiled with interbase 7 and left interbase.so related to
interbase 6, the warning above did not appear and seemed like everything
operates ok.

Using the tests within ext/interbase I found that test 5 (transactions)
failed, it alsio failed when I have interbase 6.0.1. It did not fail using
the original installation (RH7.3, IB6.0.1, php4.1.x apache 1.3.x)

I have been doing it all also with php 4.3.1 with same results.

What should I do in order to get the basic RH8 (apache 2.0.40 and php
4.2.2) instalation to operate correctly with interbase 7 (module
interbase.so)
Thanks for help
Jacob




-- 
Edit bug report at http://bugs.php.net/?id=23936&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23936&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23936&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23936&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23936&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23936&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23936&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23936&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23936&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23936&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23936&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23936&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23936&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23936&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23936&r=gnused

Reply via email to