X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 60EF056380 for ; Wed, 2 Mar 2005 05:35:52 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 26577-07 for ; Wed, 2 Mar 2005 05:35:42 +0000 (GMT) Received: from sisterOfProxy.sherubtse.edu.bt (mail.sherubtse.edu.bt [202.144.141.18]) by svr1.postgresql.org (Postfix) with ESMTP id 1C22B52AA6 for ; Wed, 2 Mar 2005 05:35:37 +0000 (GMT) Received: from [127.0.0.1] ([192.168.1.236]) by sisterOfProxy.sherubtse.edu.bt (8.12.10/8.12.10) with ESMTP id j225dKj0017629 for ; Wed, 2 Mar 2005 11:39:24 +0600 Message-ID: <422550A0.2040104@sherubtse.edu.bt> Date: Wed, 02 Mar 2005 11:35:28 +0600 From: graeme User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-php@postgresql.org Subject: Re: PHP and Error Reporting References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.084 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/6 X-Sequence-Number: 3021 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