Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id C59241337BEC for ; Thu, 7 Apr 2011 17:40:08 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 94070-08 for ; Thu, 7 Apr 2011 20:39:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail1.hosting.digiweb.ie (mail1.hosting.digiweb.ie [89.234.64.49]) by mail.postgresql.org (Postfix) with SMTP id AD58D133798E for ; Thu, 7 Apr 2011 17:39:47 -0300 (ADT) Received: (qmail 11808 invoked by uid 399); 7 Apr 2011 20:39:46 -0000 Received: from unknown (HELO ?127.0.0.1?) (ray@teladesign.ie@109.77.239.78) by mail1.hosting.digiweb.ie with SMTP; 7 Apr 2011 20:39:46 -0000 X-Originating-IP: 109.77.239.78 Message-ID: <4D9E210C.3080009@iol.ie> Date: Thu, 07 Apr 2011 21:39:40 +0100 From: Raymond O'Donnell Reply-To: rod@iol.ie User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Rich Shepard CC: pgsql-php@postgresql.org Subject: Re: Connecting PHP-based Application to Postgres-9.0.3 References: <201104070920.37258@hal.medialogik.com> <20110407125635.1ae13751.wmoran@potentialtech.com> <20110407132029.be595363.wmoran@potentialtech.com> <4D9DFAB2.2080902@consistentstate.com> <4D9E0B35.3060402@consistentstate.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 110407-1, 06/04/2011), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201104/22 X-Sequence-Number: 4184 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@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@iol.ie