public inbox for rhdb@sourceware.org
 help / color / mirror / Atom feed
From: Benilton de Sa Carvalho <carvalho@ime.unicamp.br>
To: Deepak Bhole <dbhole@redhat.com>
Cc: rhdb@sources.redhat.com
Subject: Re: Red Hat Databse 3.0 in RH 9.0
Date: Fri, 23 May 2003 13:09:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.10.10305230958440.15718-100000@athenas.ime.unicamp.br> (raw)
In-Reply-To: <1053620197.29803.16.camel@totally-bodacious.toronto.redhat.com>

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 <dbhole@redhat.com>
Red Hat Canada Ltd.

      reply	other threads:[~2003-05-23 13:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-21 15:25 Benilton de Sa Carvalho
2003-05-22 16:16 ` Deepak Bhole
2003-05-23 13:09   ` Benilton de Sa Carvalho [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.10.10305230958440.15718-100000@athenas.ime.unicamp.br \
    --to=carvalho@ime.unicamp.br \
    --cc=dbhole@redhat.com \
    --cc=rhdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).