Re: Please help: PHP4/postgres db woes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



В Пнд, 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@xxxxxxxxxxxxxx>



[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux