Re: Please help: PHP4/postgres db woes - Mailing list pgsql-php

From Markus Bertheau
Subject Re: Please help: PHP4/postgres db woes
Date
Msg-id 1079373470.1983.33.camel@yarrow.bertheau.de
Whole thread Raw
In response to Re: Please help: PHP4/postgres db woes  (Danny O'Brien <dannyo@steinrogan.com>)
List pgsql-php
В Пнд, 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>


pgsql-php by date:

Previous
From: "Tom Hebbron"
Date:
Subject: Re: Table Size
Next
From: "Stefan Hans"
Date:
Subject: Problem: has_function_privilege()