Re: [Mason] Error while loading app.psgi: Can't locate object method expand_to_plugins

2011-04-14 Thread Jonathan Swartz
What does your plugin class look like? Does it contain with 'Mason::Plugin';? On Thu, 14 Apr 2011 13:15 +0800, Beckheng Lam bi.ken@gmail.com wrote: Hi, I want to add customize filter. I added the plugin in app.psgi via '+IiBlog::Filters'. But it show me the message as title said.

Re: [Mason] Error while loading app.psgi: Can't locate object method expand_to_plugins

2011-04-14 Thread Beckheng Lam
Hello, I really miss the 'Mason::Plugin' role. It's OK now. Thanks! /Heng 于 2011年04月15日 01:34, Jonathan Swartz 写道: What does your plugin class look like? Does it contain with 'Mason::Plugin';? On Thu, 14 Apr 2011 13:15 +0800, Beckheng Lambi.ken@gmail.com wrote: Hi, I want

[Mason] Error while loading app.psgi: Can't locate object method expand_to_plugins

2011-04-13 Thread Beckheng Lam
Hi, I want to add customize filter. I added the plugin in app.psgi via '+IiBlog::Filters'. But it show me the message as title said. Following plugins what I use. my @plugins = ('PSGIHandler', 'HTMLFilters', '+IiBlog::Filters'); Would somebody tell me why? /Heng -- 诸法从缘起,如来说是因。

Re: [Mason] Error

2010-09-28 Thread charmie maniar
Hi, Thanks a lot for your replies. Can someone please explain me what this line does: % my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime((stat($r-filename))[9]); Thanks, Charmie On Fri, Sep 24, 2010 at 4:28 AM, Jérôme Etévé jerome.et...@gmail.comwrote: Or implement the

Re: [Mason] Error

2010-09-28 Thread charmie maniar
Hi, Sorry I forgot to add: what should the file referred in this line ($r-filename) contain? Thanks, Charmie On Tue, Sep 28, 2010 at 12:20 PM, charmie maniar charmie.man...@gmail.comwrote: Hi, Thanks a lot for your replies. Can someone please explain me what this line does: % my

Re: [Mason] Error

2010-09-28 Thread MK
On Tue, 28 Sep 2010 12:20:50 -0400 charmie maniar charmie.man...@gmail.com wrote: Thanks a lot for your replies. Can someone please explain me what this line does: % my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime((stat($r-filename))[9]); Localtime returns an array

Re: [Mason] Error

2010-09-24 Thread Jérôme Etévé
Or implement the missing method in your startup.pl or wherever it makes sense, so your client code stays the same, and submit a patch to mason's authors when you're happy with it : *HTML::Mason::FakeApache::filename = sub{ return $ENV{SCRIPT_FILENAME} }; Does $ENV{SCRIPT_FILENAME} contain what

Re: [Mason] Error in configure httpd.conf

2009-02-01 Thread sandhya pawar
  No. Its SetHandler perl. On Sun, 01 Feb 2009 Shiladitya Biswas wrote : I think its SetHandler perl or SetHandler mod-perl. Pls check the syntax. On 1 Feb 2009 04:29:55 -, sandhya pawar sandhyapawar2...@rediffmail.com wrote: I have perl5.8 on windowsXP. I have added following

[Mason] Error in configure httpd.conf

2009-01-31 Thread sandhya pawar
  I have perl5.8 on windowsXP. I have added following lines to configure mason in httpd.conf. PerlModule HTML::Mason::ApacheHandler Location / SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler /Location But Apached used to get stop.?

[Mason] error

2008-12-23 Thread sandhya pawar
  WHy my mails get bounced when I used to send to mason-users@lists.sourceforge.net ?-- ___ Mason-users mailing list Mason-users@lists.sourceforge.net

Re: [Mason] error

2008-12-23 Thread Jonathan Swartz
We got this one... On Dec 23, 2008, at 12:27 AM, sandhya pawar wrote: WHy my mails get bounced when I used to send to mason-users@lists.sourceforge.net ? -- ___

Re: [Mason] Error from request object

2007-12-27 Thread Dave Rolsky
On Wed, 26 Dec 2007, Susan Rizzo wrote: I am getting an error from the request object when I attempt to redirect to a component via a new URL. The error message is Request-abort was called Stack: [/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm:600]

[Mason] error reporting

2007-07-11 Thread myshare
hi, I have the following weird problem.. Let say I have an error in MyModule::some_method(). What I get as error from Mason is something like : ... Undefined MyModule::some_method() . Instead of the exact error I made in some_method(). So it is very hard sometimes for me to figure out the

[Mason] error handling and sessions

2006-11-01 Thread brett gardner
Okay I setup the error handling as specified at http://www.masonhq.com/docs/manual/Admin.html#exceptions_under_the_hood My apache handler object is using MasonX::Request::WithApacheSession When an error occurs, the error message is handled correctly by /error/500.html But if I go back, and

[Mason] Error with MasonX::Interp::WithCallbacks

2006-07-13 Thread Jimmy Li
I'm using MasonX::Interp::WithCallbacks under mason 1.33 and mod_perl 2 and I'm getting the followin error. The 'apache_req' parameter (Apache2::Request=SCALAR(0x851c070)) to Params::Callback::new was not a 'Apache' (it is a Apache2::Request=SCALAR(0x851c070))\n What does this error mean?

Re: [Mason] Error Handling Setup

2005-12-15 Thread Scott Lanning
On Thu, 15 Dec 2005, Dave Mabe wrote: On the exception handling section of the documentation for Mason, where does the handler() code go? I'm simply using the ErrorDocument directive in httpd.conf to point to /error/500.html like in the example which displays properly, but the error message