[Catalyst] Apache not logging error logs for virtual hosts...

2007-06-25 Thread Ryan Detzel
I'm changing servers and this works on my old one but I can't get it working on the new one, any ideas? Currently I get all errors for all four sites in the general error.log file for anything running catalyst, normal websites have their own error files however. Here is a section of my apache lo

Re: [Catalyst] instantiating persistent DBHs: MyApp.pm? Model?

2007-06-25 Thread Matt S Trout
On Sun, Jun 24, 2007 at 05:17:32PM -0600, Todd Harris wrote: > Hi Matt - > > Thanks for the tip! Yep, this makes sense and works well. > > I'm still relying on my old code for an oo database with no driver. > I'm looking to interface more directly with DBIC if possible in the > future, but

Re: [Catalyst] Custom error

2007-06-25 Thread Evaldas Imbrasas
Yes, that's what I meant, thanks Brian. Please provide a code example using RenderView action. I think it would also make sense to incorporate that example into the Catalyst cookbook instead of existing one since that one's incomplete. I think what Evaldas means is that an error (template not fo

Re: [Catalyst] Custom error

2007-06-25 Thread Brian Kirkbride
John Napiorkowski wrote: --- Evaldas Imbrasas <[EMAIL PROTECTED]> wrote: Actually, the example below doesn't work if there are any TT rendering errors. Is there a catch-all solution, or does it have to be done on the Apache level? I'm not sure what you mean. If you are running in mod_perl a

Re: [Catalyst] Custom error

2007-06-25 Thread John Napiorkowski
--- Evaldas Imbrasas <[EMAIL PROTECTED]> wrote: > Actually, the example below doesn't work if there > are any TT rendering errors. > > Is there a catch-all solution, or does it have to be > done on the Apache level? I'm not sure what you mean. If you are running in mod_perl and set an error st

Re: [Catalyst] Custom error

2007-06-25 Thread Evaldas Imbrasas
Actually, the example below doesn't work if there are any TT rendering errors. Is there a catch-all solution, or does it have to be done on the Apache level? http://search.cpan.org/dist/Catalyst-Manual/lib/Catalyst/Manual/Cookbook.pod#Delivering_a_Custom_Error_Page -- -

Re: [Catalyst] Custom error

2007-06-25 Thread Tobias Kremer
Zitat von Octavian Rasnita <[EMAIL PROTECTED]>: > Is it possible to change that multilanguage message that Catalyst displays > when the application gives an error? > > It is that message with "Please come back later" in a few languages. > > I would like to be able to display a page made by me when

[Catalyst] Custom error

2007-06-25 Thread Octavian Rasnita
Hi, Is it possible to change that multilanguage message that Catalyst displays when the application gives an error? It is that message with "Please come back later" in a few languages. I would like to be able to display a page made by me when such an error should appear. Thank you. Octavi