pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Bertheau <twanger@bluetwanger.de>
To: Danny O'Brien <dannyo@steinrogan.com>
Cc: Andrew McMillan <andrew@catalyst.net.nz>
Cc: " <pgsql-php@postgresql.org>
Cc: " <pgsql-php@postgresql.org>
Subject: Re: Please help: PHP4/postgres db woes
Date: Mon, 15 Mar 2004 18:57:51 +0100
Message-ID: <1079373470.1983.33.camel@yarrow.bertheau.de> (raw)
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>

В Пнд, 08.03.2004, в 17:55, Danny O'Brien пишет:

> **********************************
> auth.php:
> 
> <?
>          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.

-- 
Markus Bertheau <twanger@bluetwanger.de>




view thread (12+ messages)

Message-ID: <1079373470.1983.33.camel@yarrow.bertheau.de>
Permalink:  ../1079373470.1983.33.camel@yarrow.bertheau.de/
Also on:    postgresql.org/message-id/1079373470.1983.33.camel@yarrow.bertheau.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: twanger@bluetwanger.de, dannyo@steinrogan.com, andrew@catalyst.net.nz
  Subject: Re: Please help: PHP4/postgres db woes
  In-Reply-To: <1079373470.1983.33.camel@yarrow.bertheau.de>
  References: <8B7737C2-6ED1-11D8-98CD-0050E466B453@steinrogan.com> <1078689585.4134.410.camel@kant.mcmillan.net.nz> <6089DB42-7121-11D8-85B0-0050E466B453@steinrogan.com> <1079373470.1983.33.camel@yarrow.bertheau.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