Re: [Catalyst] App Deployment - Apache, FastCGI, init.d

2007-09-19 Thread Hans Dieter Pearcey
On Wed, Sep 19, 2007 at 08:57:10PM -0500, Mitchell Jackson wrote: > I've seen it mentioned on the list to use daemon tools with PAR ( > http://www.catalystframework.org/calendar/2006/4 ) but that uses the > built-in myapp_server.pl, running it's own web server, and I much prefer > the apache/fas

[Catalyst] App Deployment - Apache, FastCGI, init.d

2007-09-19 Thread Mitchell Jackson
Friends, I've got an interesting issue with a few catalyst apps. I have a server running two apps under apache with FastCGI. I wrote an init script to start and stop the app server, it's attached below. I started having issues with the init script once I began running multiple apps. The i

[Catalyst] Re: Problem using Static::Simple

2007-09-19 Thread Will Hawes
On 19/09/2007, Will Hawes <[EMAIL PROTECTED]> wrote: > Having upgraded all Catalyst modules to their latest versions today, I think > I'm seeing strangeness with Static::Simple. I've boiled it down to the > following: > > 1) $ catalyst.pl MyApp > > 2) Modify MyApp::Controller::Root::default() as

[Catalyst] Problem using Static::Simple

2007-09-19 Thread Will Hawes
Having upgraded all Catalyst modules to their latest versions today, I think I'm seeing strangeness with Static::Simple. I've boiled it down to the following: 1) $ catalyst.pl MyApp 2) Modify MyApp::Controller::Root::default() as follows: sub default { my( $self, $c ) = @_; $c->response->sta

Re: [Catalyst] C::M::DBIC::Schema::QyeryLog: can't collect any stats...

2007-09-19 Thread Marcello Romani
Cory Watson ha scritto: On 9/19/07, Marcello Romani <[EMAIL PROTECTED]> wrote: Do you use it in cat apps on in plain dbic ? Could you provide an example of usage ? http://www.onemogin.com/blog/554-profile-your-catalystdbixclass-app-with-querylog.html The syntax has changed a bit due to the A

Re: [Catalyst] C::M::DBIC::Schema::QyeryLog: can't collect any stats...

2007-09-19 Thread Marcello Romani
Cory Watson ha scritto: On 9/19/07, Marcello Romani <[EMAIL PROTECTED]> wrote: Do you use it in cat apps on in plain dbic ? Could you provide an example of usage ? http://www.onemogin.com/blog/554-profile-your-catalystdbixclass-app-with-querylog.html The syntax has changed a bit due to the A

Re: [Catalyst] C::M::DBIC::Schema::QyeryLog: can't collect any stats...

2007-09-19 Thread Marcello Romani
Cory Watson ha scritto: On 9/19/07, Marcello Romani <[EMAIL PROTECTED]> wrote: Do you use it in cat apps on in plain dbic ? Could you provide an example of usage ? http://www.onemogin.com/blog/554-profile-your-catalystdbixclass-app-with-querylog.html The syntax has changed a bit due to the A

Re: [Catalyst] C::M::DBIC::Schema::QyeryLog: can't collect any stats...

2007-09-19 Thread Cory Watson
On 9/19/07, Marcello Romani <[EMAIL PROTECTED]> wrote: > Do you use it in cat apps on in plain dbic ? > > Could you provide an example of usage ? http://www.onemogin.com/blog/554-profile-your-catalystdbixclass-app-with-querylog.html The syntax has changed a bit due to the Analyzer, but you should

Re: [Catalyst] C::M::DBIC::Schema::QyeryLog: can't collect any stats...

2007-09-19 Thread Marcello Romani
Cory Watson ha scritto: On 9/19/07, Marcello Romani <[EMAIL PROTECTED]> wrote: First of all, thanks for the response and for your tip. I get the info out of querylog by putting it into the stash and by calling its methods from the same template used in the docs of the schema module (the only di

Re: [Catalyst] C::M::DBIC::Schema::QyeryLog: can't collect any stats...

2007-09-19 Thread Cory Watson
On 9/19/07, Marcello Romani <[EMAIL PROTECTED]> wrote: > First of all, thanks for the response and for your tip. > > I get the info out of querylog by putting it into the stash and by > calling its methods from the same template used in the docs of the > schema module (the only difference being I d

Re: [Catalyst] C::M::DBIC::Schema::QyeryLog: can't collect any stats...

2007-09-19 Thread Marcello Romani
Cory Watson ha scritto: On 9/19/07, Marcello Romani <[EMAIL PROTECTED]> wrote: Again on querylog vs. catalyst... I've setup a minimal app to test the querylog stuff, but, I can't get any results, i.e. the statistics obtained from querylog are always zero. The attached file contains the entire

Re: [Catalyst] C::M::DBIC::Schema::QyeryLog: can't collect any stats...

2007-09-19 Thread Cory Watson
On 9/19/07, Marcello Romani <[EMAIL PROTECTED]> wrote: > Again on querylog vs. catalyst... > > I've setup a minimal app to test the querylog stuff, but, I can't get > any results, i.e. the statistics obtained from querylog are always zero. > > The attached file contains the entire app; here I show

Re: [Catalyst] MojoMojo-0.999005 and mysql

2007-09-19 Thread Matthias Zeichmann
On 9/18/07, Josef Chladek <[EMAIL PROTECTED]> wrote: > hello, hi, > running mojomojo from the mojomojo.db file works, but if I setup a > mysql-db and try to populate the db, it hangs with the following error: > > DBI Exception: DBD::mysql::st execute_array failed: Cannot add or > update a child r

[Catalyst] C::M::DBIC::Schema::QyeryLog: can't collect any stats...

2007-09-19 Thread Marcello Romani
Again on querylog vs. catalyst... I've setup a minimal app to test the querylog stuff, but, I can't get any results, i.e. the statistics obtained from querylog are always zero. The attached file contains the entire app; here I show the most relevant files. I think I must be missing somethin