Re: PHP error-message on wiki.postgresql.org

From: Jeff MacDonald <jam(at)zoidtechnologies(dot)com>
To: pgsql-www(at)postgresql(dot)org
Subject: Re: PHP error-message on wiki.postgresql.org
Date: 2009-08-02 15:51:08
Message-ID: 200908021151.08162.jam@zoidtechnologies.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

On Friday 31 July 2009 15:51:59 Tommy Gildseth wrote:
> The page at http://wiki.postgresql.org/wiki/Backend_killer_function is
> throwing a PHP notice:
> Notice: Undefined variable: string_attributes in
> /usr/local/www/mediawiki/extensions/SyntaxHighlight_GeSHi/geshi/geshi.php
> on line 2159
>
> It would maybe be a good idea to set
>
> display_errors = Off
> log_errors = On
>
> in php.ini?
>

I would do that, and also set error_reporting to E_ALL (if it is not set that
way already).

also, I make sure to send php notices/errors/etc to syslog instead of to the
webserver's log:

error_log = syslog

> --
> Tommy Gildseth

regards,
--
Jeff MacDonald
Zoid Technologies, LLC: Custom Information Systems
http://zoidtechnologies.com/

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Josh Berkus 2009-08-02 19:15:40 Re: Put up Professional Services listing policies
Previous Message Magnus Hagander 2009-08-01 09:03:49 Re: [pgsql-slavestothewww] planet-es.postgresql.org