Re: Please help: PHP4/postgres db woes

From: Markus Bertheau <twanger(at)bluetwanger(dot)de>
To: "Danny O'Brien" <dannyo(at)steinrogan(dot)com>
Cc: Andrew McMillan <andrew(at)catalyst(dot)net(dot)nz>, "<pgsql-php(at)postgresql(dot)org>" <pgsql-php(at)postgresql(dot)org>
Subject: Re: Please help: PHP4/postgres db woes
Date: 2004-03-15 17:57:51
Message-ID: 1079373470.1983.33.camel@yarrow.bertheau.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)bluetwanger(dot)de>

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Stefan Hans 2004-03-15 20:45:06 Problem: has_function_privilege()
Previous Message Robby Russell 2004-03-09 18:18:04 Re: Please help: PHP4/postgres db woes