pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Philipp Ottlinger <ottlinger@computer-systeme.de>
To: Postgres Liste <pgsql-php@postgresql.org>
Subject: Re: function not valid
Date: Mon, 31 Mar 2003 18:51:32 +0200
Message-ID: <3E887214.2050008@computer-systeme.de> (raw)
In-Reply-To: <00ad01c2f771$c4540140$a6f0cda7@informatika.lipi.go.id>
References: <00ad01c2f771$c4540140$a6f0cda7@informatika.lipi.go.id>

Devi Munandar wrote:
> ************************************
1:

> Warning: pg_connect() unable to connect to PostgreSQL server: FATAL 1: No
> pg_hba.conf entry for host 127.1.1.0, user postgres, database pegawai in
> /var/www/html/pgclass/database.inc.php on line 94
2:

> 
> Warning: pg_exec(): supplied argument is not a valid PostgreSQL link
<snip>

> resource in /var/www/html/pgclass/database.inc.php on line 155

> *****************************************

2:
Did you compile PHP with postgresql-support ?

1:
Furthermore you need to start and create a database - please follow the 
documentation of your postgresql package or see
http://www.postgresql.org/docs/

After having started the database you have to adjust your local 
pg_hba.conf-File and restart the DB.
If this operation completed successfully try to add a dumyy user, which 
you use in your php to connect to the DB.

Yours,
Philipp

-- 
Philipp Ottlinger
cS Computer & Systeme GmbH
Menckenstr. 29

12169 Berlin
Tel. +49-30-79748317
Fax  +49-30-7226748
E-Mail:ottlinger@computer-systeme.de




view thread (3+ messages)  latest in thread

Message-ID: <3E887214.2050008@computer-systeme.de>
Permalink:  ../3E887214.2050008@computer-systeme.de/
Also on:    postgresql.org/message-id/3E887214.2050008@computer-systeme.de

 · 

reply

Reply instructions:

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

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: ottlinger@computer-systeme.de
  Subject: Re: function not valid
  In-Reply-To: <3E887214.2050008@computer-systeme.de>
  References: <00ad01c2f771$c4540140$a6f0cda7@informatika.lipi.go.id> <3E887214.2050008@computer-systeme.de>

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

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox