pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Keary Suska <hierophant@pcisys.net>
To: Postgres-PHP <pgsql-php@postgresql.org>
Subject: Re: Where can I get error messages?
Date: Wed, 28 Aug 2002 23:37:33 -0600
Message-ID: <B9930F3C.127B7%hierophant@pcisys.net> (raw)
In-Reply-To: <193857726615.20020829095734@surguttel.ru>

on 8/28/02 9:57 PM, dr_sad@surguttel.ru purportedly said:

> Hi, Jean-Luc.
> Can't find any documents about "DB::connect" at www.php.net :(
> Give me please any links to that.
> And why "pg_connect" does not work properly?
> Script ex.:
> ---- cut ---------
> <html>
> <body>
> <?
> printf("Hello, world!<br>");
> $s="host=dbserv port=5432 dbname=ll user=postgres password=gecnzr";
> if (($db=pg_pconnect ($s))===false) {printf("FALSE! No connection!<br>");}
> printf("This is the end of script<br>");
> ?>
> </body>
> </html>
> --- cut -----------
> No errors messages... "Hello, world!<br>" - is the last line in
> generated html text :\
> 

This would mean that something is interfering with PHP's standard error
reporting mechanism. Look for set_error_handler in any PHP code you invoke
and check your php.ini for any related directive, as well as any auto-append
or auto-prepend scripts if defined.

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"




view thread (8+ messages)  latest in thread

Message-ID: <B9930F3C.127B7%hierophant@pcisys.net>
Permalink:  ../B9930F3C.127B7%25hierophant@pcisys.net/
Also on:    postgresql.org/message-id/B9930F3C.127B7%hierophant@pcisys.net

 · 

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: hierophant@pcisys.net
  Subject: Re: Where can I get error messages?
  In-Reply-To: <B9930F3C.127B7%hierophant@pcisys.net>
  References: <193857726615.20020829095734@surguttel.ru> <B9930F3C.127B7%hierophant@pcisys.net>

* 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