PHP 4.0 Bug #4163: pg_ functions-Call to undefined function: ()

From: Date: Mon, 17 Apr 2000 18:06:24 +0000
Subject: PHP 4.0 Bug #4163: pg_ functions-Call to undefined function: ()
Groups: php.dev 
Request: Send a blank email to php-dev+get-17973@lists.php.net to get a copy of this message
From: jmh3@engr.uark.edu Operating system: Redhat 6.2 PHP version: 4.0 Release Candidate 1 PHP Bug Type: PostgreSQL related Bug description: pg_ functions-Call to undefined function: () <? $db_server = "localhost"; //internet address of database $db_name = "add_book"; //name of the database $db_login = "jmh3"; //login name of the db owner $db_password = ""; //password corresponding to login $connect_mb = pg_pconnect ("host=$db_server user=$db_login dbname=$db_name"); echo "connect result:$connect_mb<BR>"; echo "Connect string: host=$db_server user=$db_login dbname=$db_name<BR>"; $pg_exec($connect_mb, "begin"); ?> this is the result (HTML) of the script: connect result:1<BR>Connect string: host=localhost user=jmh3 dbname=add_book<BR><br> <b>Fatal error</b>: Call to undefined function: () in <b>/home/jmh3/public_html/mb/test.php</b> on line <b>11</b><br> other info: PHP Version 4.0RC1 Configure command: './configure' '--with-apxs=/usr/sbin/apxs' '--with-mysql' '--with-pgsql=/usr/lib/pgsql/' redhat 6.2 Apache/1.3.12 the only simular bug report i have found is this: <A HREF=http://bugs.php.net/bugs.php3?id=2716>http://bugs.php.net/bugs.php3?id=2716</A> i recompiled/reconfigured from the tar.gz file and it didnt fix it <snip>function: () in</snip> this ^^ is what i find odd. it seems to have forgotten the function. i know in the example i am just beginning the transaction. i get the same result when i do a select or an insert.

« previous php.dev (#17973) next »