Bug #1621: pg_fetch_row & pg_fieldname ok | pg_fetch_array & pg_fetch_object -> PHP dies

From: Date: Tue, 29 Jun 1999 03:36:49 +0000
Subject: Bug #1621: pg_fetch_row & pg_fieldname ok | pg_fetch_array & pg_fetch_object -> PHP dies
Groups: php.dev 
Request: Send a blank email to php-dev+get-7791@lists.php.net to get a copy of this message
From: bandit@freeside.elte.hu Operating system: Linux 2.0.37 PHP version: 3.0.11 PHP Bug Type: PostgreSQL related Bug description: pg_fetch_row & pg_fieldname ok | pg_fetch_array & pg_fetch_object -&gt; PHP dies Intel/Linux 2.0.37 libc 5.4.33 gcc version 2.7.2p 970821 (egcs-970821) PostgresSQL 6.5 PHP 3.0.11 compiled as Apache module Apache 1.3.6 /usr/src/php-3.0.11# ./configure --with-apache=../apache_1.3.6 --enable-track-vars --with-pgsql --with-zlib Apache 1.3.4 compiled with PHP 3.0.6, same environment (same pgsql and database, same php3.ini, same script) works. $result1=pg_exec($conn,"select topic,count(*) as count from \"msgboard messages\" where expired<>'t' group by topic;"); $rows=pg_numrows($result1); for($row=0;$row<$rows;$row++) { $obj=pg_fetch_array($result1,$row); // here it happens //$darab[$obj[topic]]=$obj[count]; } I apologize for the lack of a backtrace, but my efforts to generate a core file by following the instructions remained fruitless. Regards, Andras

« previous php.dev (#7791) next »