X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id BDB10D1E138 for ; Mon, 15 Mar 2004 17:58:04 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 14537-06 for ; Mon, 15 Mar 2004 13:58:02 -0400 (AST) Received: from web11.manitu.net (web11.manitu.net [217.11.48.111]) by svr1.postgresql.org (Postfix) with ESMTP id 614FFD1DC6F for ; Mon, 15 Mar 2004 13:57:59 -0400 (AST) Received: from [192.168.0.1] (dsl-082-082-191-040.arcor-ip.net [82.82.191.40]) (authenticated) by web11.manitu.net (8.10.2-SOL3/8.10.2) with ESMTP id i2FHvlF17773; Mon, 15 Mar 2004 18:57:47 +0100 Subject: Re: Please help: PHP4/postgres db woes From: Markus Bertheau To: "Danny O'Brien" Cc: Andrew McMillan , "" In-Reply-To: <6089DB42-7121-11D8-85B0-0050E466B453@steinrogan.com> References: <8B7737C2-6ED1-11D8-98CD-0050E466B453@steinrogan.com> <1078689585.4134.410.camel@kant.mcmillan.net.nz> <6089DB42-7121-11D8-85B0-0050E466B453@steinrogan.com> Content-Type: text/plain; charset=UTF-8 Message-Id: <1079373470.1983.33.camel@yarrow.bertheau.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Mon, 15 Mar 2004 18:57:51 +0100 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/31 X-Sequence-Number: 2630 =D0=92 =D0=9F=D0=BD=D0=B4, 08.03.2004, =D0=B2 17:55, Danny O'Brien =D0=BF= =D0=B8=D1=88=D0=B5=D1=82: > ********************************** > auth.php: >=20 > include('dbconnect.php'); Hi Danny, if you haven't fixed this already, you can look for a pg_connect function call in dbconnect.php and remove the @ in front of it - ifg it's there. (the @ doesn't have to be there neccessarily. It switches off error reporting for that function call.) Additionally, you can search the php code for a call to the function error_reporting, which also controls, which error messages are reported and which not. In particular, a parameter value of 0 to this function instructs php to suppress all error output. Another thing you might want to look at is enabling logging in the postgresql server / startup script. --=20 Markus Bertheau