[Catalyst] Apache strange output with mod_perl

2007-07-10 Thread Cookie
When I start my apache server with mod_perl,I found some strange output.I don't know how to solve this problem?please help me,thanks. [Tue Jul 10 22:28:17 2007] [error] DynaLoader object version 1.05 does not match $DynaLoader::VERSION at /flex/perl/lib/5.8.8/i686-linux/XSLoader.pm line 18.\nCom

[Catalyst] Re: Catalyst Digest, Vol 28, Issue 22

2007-07-10 Thread Cookie
When I start apache with mod_perl,some strange standard output print out,I don't know how to do,please help me!!!Thanks. lnxtst02-/flex/apache> ./start_apache.sh httpd not running, trying to start [Tue Jul 10 21:44:50 2007] [error] DynaLoader object version 1.05 does not match $DynaLoader::VERSION

Subject: Re: [Catalyst] How to show SQL in apache

2007-06-18 Thread Cookie
Trout <[EMAIL PROTECTED]> Subject: Re: [Catalyst] How to show SQL in apache To: The elegant MVC web framework Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii On Wed, Jun 13, 2007 at 12:27:26PM +0800, Cookie wrote: Thanks for your answer.But I think it already

Re: [Catalyst] How to show SQL in apache

2007-06-12 Thread Cookie
Thanks for your answer.But I think it already can not work although I add $schema->storage->debug(1); in my code.I agree with you the output of sql is in the STDOUT.I will find some way of configurating the apache to record the STDOUT. BTW,If I want to know,if I used log4perl,Can I log the sql in

Re: [Catalyst] How to show SQL in apache error_log?

2007-06-11 Thread Cookie
work" Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" You can put $ENV{DBIC_TRACE}++; in MyApp.pm Octavian - Original Message - = From: Cookie = To: catalyst@lists.rawmode.org = Sent: Monday, June 11, 2007 7:01 AM Subject: [Catalys

[Catalyst] Strange Question when using catalyst with apache

2007-06-11 Thread Cookie
When I start apache,the strange the error output comming,it's very odd.Idon't know why,please help me. *If I don't setenv PERL5LIB,it cannot find the Catalyst::Runtime:* [EMAIL PROTECTED] apache]$ ./start_apache.sh HOSTNAME=lnxtst02 TERM=xterm SHELL=/bin/bash HISTSIZE=1000 QTDIR=/usr/lib/qt-3.3 US

[Catalyst] How to show SQL in apache error_log?

2007-06-10 Thread Cookie
As we know,if we use export DBIC_TRACE=1 and then we run the myapp_server.pl,we can see the sql from the stander output. I want to show the sql in the apache error_log.I modify the httpd.conf file like this: setenv DBIC_TRACE 1 But it seems useless.How can solve this problem? Thanks. _

[Catalyst] How to encrypt database password when connect?

2007-05-24 Thread Cookie
I write my database connect info in the yml files.It's not very safe because the database password can see by everyone who can access the catalyst folder.I want to know if there any way to encrypt the database password use the internal method of connect_info? Here's my yml file: 1 --- 2

[Catalyst] Catalyst with apache, how to auto restart like run myapp_server.pl -r?

2007-05-21 Thread Cookie
I configurate my apache httpd.conf like this: LoadModule perl_module modules/mod_perl.so PerlSwitches -I/var/www/html/lj/catalyst/lib PerlModule Add SetHandler modperl PerlResponseHandler Add And I can visit my site using: http://localhost/catalyst But I don't think when

[Catalyst] Re: A very strange question,please help me

2007-04-10 Thread Cookie
Everything looks ok when after upgrade.Thanks very much. 2007/4/9, Cookie <[EMAIL PROTECTED]>: the same code(example in CPAN) when I run the program(login part,post > username and password to server) in the windows,it can normally show to > me,but when I run the program in a Linu

[Catalyst] Re: A very strange question,please help me

2007-04-09 Thread Cookie
nd is Get Latest(Description:broser requested download of url) Thank you for help me.With Best Wishes. 2007/4/9, Cookie <[EMAIL PROTECTED]>: the same code(example in CPAN) when I run the program(login part,post > username and password to server) in the windows,it can normally show to &

[Catalyst] A very strange question,please help me

2007-04-09 Thread Cookie
ion::Store::DBIC 0.07 | | Catalyst::Plugin::Authorization::ACL 0.08 | | Catalyst::Plugin::Authorization::Roles 0.05 | | Catalyst::Plugin::ConfigLoader 0.13 | | Catalyst::Plugin::HTML::Widget 1.1 | | Catalyst::Plugin::Session 0.14 | | Catalyst::Plugin::Session::State::Cookie 0.06 | | Cataly

[Catalyst] Generate dynamic list

2007-04-08 Thread Cookie
Sorry for interruption.My requirement is: I have two drop list A and B and two tables A and B in my dababase. When the page vistited,A shows the option from select name from A,this is easy to implement.Then I select a option from A,such as 1,at the same time,It will dynamic generate the B list fro