Re: [Catalyst] Configuration of $c->log with Catalyst::Log::Log4perl

2008-05-08 Thread Jon Schutz
On Fri, 2008-05-09 at 10:04 +0930, Jon Schutz wrote: > On Thu, 2008-05-08 at 16:42 +0200, Jochen Luig wrote: > > > So, can anyone tell me where I should continue looking for the error? > > Can anyone think of a scenario where the logger config gets messed up > > after initial configuration? > >

Re: [Catalyst] Configuration of $c->log with Catalyst::Log::Log4perl

2008-05-08 Thread Jon Schutz
On Thu, 2008-05-08 at 16:42 +0200, Jochen Luig wrote: > So, can anyone tell me where I should continue looking for the error? > Can anyone think of a scenario where the logger config gets messed up > after initial configuration? > If any part of your app invokes Log::Log4perl->easy_init(), tha

RE: [Catalyst] Invalid session ids being generated

2008-05-08 Thread Ryan Pack
I was able to fix it by downgrading Catalyst::Plugin::Session. We were on 0.13 until I upgraded to .19 (latest) along with a bunch of other Catalyst modules. Just as a last resort before I downgraded everything back to the way it was I tried just downgrading Catalyst::Plugin::Session and it worke

Re: [Catalyst] Catalyst / dbix-class / mysql / REST job

2008-05-08 Thread Mark Trostler
A great idea however it's not that simple unfortunately - a lot of code has already been written - we need someone to join the team to help maintain and extend & help out on other similar projects. Mark Zbigniew Lukasiak wrote: There were a few long threads on the subject of REST CRUD

Re: [Catalyst] Invalid session ids being generated

2008-05-08 Thread Daniel Westermann-Clark
On 2008-05-07 17:38:12 -0500, Ryan Pack wrote: > My Catalyst app is using Session::State::Cookie, > Session::State::URI, and Session::Store::DBIC. We recently started > using the param option in Session::State::URI. We were tacking the > session id onto the base URL but now it is being included a

Re: [Catalyst] Multiple Submit Button

2008-05-08 Thread gaurav001
OK I did something like this for previous problem solution...But If anyone comes up with better solution..Please let me know overview.fb file fields: enroll: value: Enroll type: button size: 5 curriculum: value: Cu

[Catalyst] Multiple Submit Button

2008-05-08 Thread gaurav001
Hello Gurus, So far I learnt Catalyst + FormBuilder + TT2 all by myself... When I realize use of *.fb fileIts so amazing Ok coming to the point...I have web page which contain 2 Submit Button I use overview.fb file like this submit: Enroll, Curriculum When I press Enroll Button...it sh

RE: [Catalyst] Invalid session ids being generated

2008-05-08 Thread Ryan Pack
Ok, I think I have enough information to explain the problem better. When a request is made to the app a session id is created in the db but there is no session data and the expires field is null. The cookie is set with that session id. When you make a subsequent request, the error below is logge

Re: [Catalyst] Configuration of $c->log with Catalyst::Log::Log4perl

2008-05-08 Thread Marius Kjeldahl
Jochen Luig wrote: log4perl.appender.SCREEN.layout=PatternLayout How about changing PatternLayout to Log::Log4perl::Layout::PatternLayout? (sorry, I have no real knowledge about these modules, I only compare with what I have working at my end). Marius K. __

Re: [Catalyst] Configuration of $c->log with Catalyst::Log::Log4perl

2008-05-08 Thread Jochen Luig
Marius Kjeldahl schrieb: Not sure if it changes anything, but does changing rootLogger to logger help? No, it neither changes the behaviour of the App's logger, nor did it break the Test App's logger. In fact, I'd be surprised if it had to do with the config as it already works as expected in t

Re: [Catalyst] Configuration of $c->log with Catalyst::Log::Log4perl

2008-05-08 Thread Marius Kjeldahl
Jochen Luig wrote: This is myapp_logger.conf: log4perl.rootLogger=DEBUG, SCREEN Not sure if it changes anything, but does changing rootLogger to logger help? Sincerely, Marius K. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys

[Catalyst] Configuration of $c->log with Catalyst::Log::Log4perl

2008-05-08 Thread Jochen Luig
Hi, I'm trying to replace Catalyst's default logger with Catalyst::Log::Log4perl. Here's the relevant part of MyApp.pm: package MyApp; use strict; use warnings; use Catalyst::Runtime '5.70'; use Catalyst::Log::Log4perl; use Catalyst qw/ -Debug ConfigLoader Static::Simpl

[Catalyst] Re: $row->copy causing exit from controller(!)

2008-05-08 Thread Paul Makepeace
On Thu, May 1, 2008 at 11:31 AM, Paul Makepeace <[EMAIL PROTECTED]> wrote: > I'm seeing something exceedingly odd: copying data causing a premature > return from the controller, like a detach(), > > foreach my $table (@chart_related_tables) { > my $rs = $ds->resultset($table); >