From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26742 invoked by alias); 23 May 2003 13:09:12 -0000 Mailing-List: contact rhdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rhdb-owner@sources.redhat.com Received: (qmail 26711 invoked from network); 23 May 2003 13:09:11 -0000 Received: from unknown (HELO pretoria.ime.unicamp.br) (143.106.22.7) by sources.redhat.com with SMTP; 23 May 2003 13:09:11 -0000 Received: from athenas.ime.unicamp.br (athenas.ime.unicamp.br [143.106.22.3]) by pretoria.ime.unicamp.br (8.9.0/8.9.0) with ESMTP id KAA06036; Fri, 23 May 2003 10:09:04 -0300 (EST) Date: Fri, 23 May 2003 13:09:00 -0000 From: Benilton de Sa Carvalho To: Deepak Bhole cc: rhdb@sources.redhat.com Subject: Re: Red Hat Databse 3.0 in RH 9.0 In-Reply-To: <1053620197.29803.16.camel@totally-bodacious.toronto.redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-q2/txt/msg00042.txt.bz2 The first error I get is: PLEASE FILL IN YOUR NAME. when I click Submit button. For a reason that I don't know, the reguser.php doesn't get the variables values. The second error is when I try listmembers.php: Warning: pg_connect() unable to connect to PostgreSQL server: FATAL: user "apache" does not exist in /var/www/html/listmembers.php on line 20 Could not establish connection. Then I changed the user name in listmembers.php to postgres (first with and last without password), and the error was: Warning: pg_connect() unable to connect to PostgreSQL server: server closed conection in /var/www/html/listmembers2.php on line 20 Could not establish connection. But, if I put the following lines in /var/lib/pgsql/data/pg_hba.conf # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD local all all trust host all all 0.0.0.0 0.0.0.0 trust and change the pg_connect() line to pg_connect("dbname=sample port=5432 user=postgres password=postgres") it works... Best regards, Benilton Hi Benilton, I tried the example on the Red Hat page you mentioned and it worked correctly. Could you please post the exact error(s) you get (with the line number in the php file)? Regards, Deepak -- Deepak Bhole Red Hat Canada Ltd.