Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 0C84C13364DE for ; Thu, 7 Apr 2011 17:26:16 -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 98408-10 for ; Thu, 7 Apr 2011 20:25:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from salmo.appl-ecosys.com (appl-ecosys.com [216.99.206.23]) by mail.postgresql.org (Postfix) with ESMTP id C71E4133616B for ; Thu, 7 Apr 2011 17:25:55 -0300 (ADT) Received: by salmo.appl-ecosys.com (Postfix, from userid 1000) id 4EE3037BC6; Thu, 7 Apr 2011 13:25:55 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by salmo.appl-ecosys.com (Postfix) with ESMTP id 4C5F037B42 for ; Thu, 7 Apr 2011 13:25:55 -0700 (PDT) Date: Thu, 7 Apr 2011 13:25:55 -0700 (PDT) From: Rich Shepard To: pgsql-php@postgresql.org Subject: Re: Connecting PHP-based Application to Postgres-9.0.3 In-Reply-To: Message-ID: References: <201104070920.37258@hal.medialogik.com> <20110407125635.1ae13751.wmoran@potentialtech.com> <20110407132029.be595363.wmoran@potentialtech.com> <4D9DFAB2.2080902@consistentstate.com> <4D9E0B35.3060402@consistentstate.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/21 X-Sequence-Number: 4183 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 Rich