pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: graeme <graeme_foster@sherubtse.edu.bt>
To: pgsql-php@postgresql.org
Subject: Re: PHP and Error Reporting
Date: Wed, 02 Mar 2005 11:35:28 +0600
Message-ID: <422550A0.2040104@sherubtse.edu.bt> (raw)
In-Reply-To: <OF901127F6.9DA3944D-ON88256FB7.00761864-88256FB7.00767B34@sybex.com>
References: <OF901127F6.9DA3944D-ON88256FB7.00761864-88256FB7.00767B34@sybex.com>

You want:
error_reporting(E_ALL);
ini_set("display_errors", "1");

but first check the ini file with phpinfo()
what happens if you throw in an error, such as a syntax error?

graeme.

Thom Dyson wrote:

>I use Gyozo Papp's error handler class.  Very useful because you can set 
>errors to go to a pop-up window or to a log depending on where you are in 
>the testing process.
>
>http://freshmeat.net/projects/errorhandler/
>
>It hasn't been updated in a couple years, but don't let that put you off. 
>It works just fine.
>
>Thom Dyson
>Director of Information Services
>Sybex, Inc.
> 
>
>
>pgsql-php-owner@postgresql.org wrote on 03/01/2005 11:14:35 AM:
>
>  
>
>>i'm running php with postgresql.  i just finished
>>polishing off a pretty long query sequence.  my page
>>returns a blank page.
>>    
>>
>
>  
>
>>how do i turn on error reporting when running php as a
>>cgi on my development xp / cygwin box?
>>    
>>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>
>  
>

-- 
Experience is a good teacher, but she sends in terrific bills.

Minna Antrim





view thread (6+ messages)

Message-ID: <422550A0.2040104@sherubtse.edu.bt>
Permalink:  ../422550A0.2040104@sherubtse.edu.bt/
Also on:    postgresql.org/message-id/422550A0.2040104@sherubtse.edu.bt

 · 

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: graeme_foster@sherubtse.edu.bt
  Subject: Re: PHP and Error Reporting
  In-Reply-To: <422550A0.2040104@sherubtse.edu.bt>
  References: <OF901127F6.9DA3944D-ON88256FB7.00761864-88256FB7.00767B34@sybex.com> <422550A0.2040104@sherubtse.edu.bt>

* 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