Skip site navigation (1) Skip section navigation (2)

Re: Connecting PHP-based Application to Postgres-9.0.3

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
Date: 2011-04-07 20:39:40
Message-ID: 4D9E210C.3080009@iol.ie (view raw or flat)
Thread:
Lists: pgsql-php
On 07/04/2011 21:25, Rich Shepard wrote:
> On Thu, 7 Apr 2011, Rich Shepard wrote:
>
>> The error had been on line 85 before. And the access_log still shows an
>> internal server error:
>
> That's an artifact of lines wrapping. Same error.
>
> To clarify: the application directory on the Web server is
> /var/www/htdocs/cmsms (a.k.a. /srv/htdocs/cmsms). The name of the database
> in postgres is cms. I turned on the page display in config.php so now I see
> the error there:
>
> Fatal error: Attempt to connect to database cms on rshepard(at)localhost
> failed
> in /var/www/htdocs/cmsms/lib/adodb.functions.php on line 87

Have you located the Postgres log yet? ISTM that that's where you need 
to be looking.

Ray.

-- 
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie

In response to

Responses

pgsql-php by date

Next:From: Daniel CarreroDate: 2011-04-07 20:51:43
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3
Previous:From: Rich ShepardDate: 2011-04-07 20:25:55
Subject: Re: Connecting PHP-based Application to Postgres-9.0.3

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group