You might try upgrading - it's possible that parsing changed since  
that version. Alternately, you could move from httpd.conf-based  
configuration to a handler script or handler module.

Jon

On Sep 30, 2009, at 11:06 AM, Jérôme Etévé wrote:

> Hi Jonathan,
>
> I'm with mason $HTML::Mason::VERSION = '1.38';
>
> Maybe I'm a bit outdated ..
>
> Cheers.
>
> J.
>
> 2009/9/30 Jonathan Swartz <swa...@pobox.com>:
>> That is strange. I just tried this on my server and it worked. What  
>> version
>> of Mason are you using?
>>
>> On Sep 30, 2009, at 2:55 AM, Jérôme Etévé wrote:
>>
>>> Hi,
>>>
>>> I tried to set MasonComponentErrorHandler to a false value in my
>>> apache conf like this:
>>> PerlSetVar MasonComponentErrorHandler 0
>>>
>>> It doesn't work and gives me some errors:
>>>
>>> [Wed Sep 30 11:42:06 2009] [error] [client 195.93.21.10] The
>>> 'component_error_handler' parameter (undef) to
>>> HTML::Mason::Request::ApacheHandler->new() was an 'undef', which is
>>> not one of the allowed types: scalar coderef
>>>
>>> I think it might be an inconsistency between the documentation and
>>> what happens in reality:
>>> http://www.masonhq.com/docs/manual/Params.html#component_error_handler
>>>
>>> Jerome.
>>>
>>>
>>> 2009/9/30 Jérôme Etévé <jerome.et...@gmail.com>:
>>>>
>>>> Thanks, I'll have a look at this.
>>>>
>>>> J
>>>>
>>>> 2009/9/29 Hans Dieter Pearcey <hdp.perl.mason.us...@weftsoar.net>:
>>>>>
>>>>> Excerpts from Jérôme Etévé's message of Tue Sep 29 14:49:09  
>>>>> -0400 2009:
>>>>>>
>>>>>> Is it a mason feature or a mod_perl2 one?
>>>>>
>>>>> mason
>>>>>
>>>>>> Is there a way to deactivate it locally or globaly?
>>>>>
>>>>> See component_error_handler in HTML::Mason::Request.  Localizing
>>>>> $SIG{__DIE__}
>>>>> inside your eval should work too.
>>>>>
>>>>> hdp.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Come build with us! The BlackBerry&reg; Developer Conference in  
>>>>> SF, CA
>>>>> is the only developer event you need to attend this year.  
>>>>> Jumpstart your
>>>>> developing skills, take BlackBerry mobile applications to market  
>>>>> and
>>>>> stay
>>>>> ahead of the curve. Join us from November 9&#45;12, 2009. Register
>>>>> now&#33;
>>>>> http://p.sf.net/sfu/devconf
>>>>> _______________________________________________
>>>>> Mason-users mailing list
>>>>> Mason-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/mason-users
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Jerome Eteve.
>>>> http://www.eteve.net
>>>> jer...@eteve.net
>>>>
>>>
>>>
>>>
>>> --
>>> Jerome Eteve.
>>> http://www.eteve.net
>>> jer...@eteve.net
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry&reg; Developer Conference in  
>>> SF, CA
>>> is the only developer event you need to attend this year.  
>>> Jumpstart your
>>> developing skills, take BlackBerry mobile applications to market  
>>> and stay
>>> ahead of the curve. Join us from November 9&#45;12, 2009. Register
>>> now&#33;
>>> http://p.sf.net/sfu/devconf
>>> _______________________________________________
>>> Mason-users mailing list
>>> Mason-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mason-users
>>
>>
>
>
>
> -- 
> Jerome Eteve.
> http://www.eteve.net
> jer...@eteve.net


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to