[Catalyst] Weak reference error

2007-03-15 Thread Anatoly Bashmakov
Hello, list! I have a problem running par catalyst distribution. Error was $ parl test1.par test1_server.pl Weak references are not implemented in the version of perl at Catalyst.pm line 22 BEGIN failed--compilation aborted at Catalyst.pm line 22. Compilation failed in require at Test1.pm line

Re: [Catalyst] Weak reference error

2007-03-15 Thread hkclark
On 3/15/07, Anatoly Bashmakov [EMAIL PROTECTED] wrote: Hello, list! I have a problem running par catalyst distribution. Error was $ parl test1.par test1_server.pl Weak references are not implemented in the version of perl at Catalyst.pm line 22 BEGIN failed--compilation aborted at Catalyst.pm

Re: [Catalyst] Catalyst::Manual::Tutorial::CatalystBasics [error]Couldn't render template undef error - status_msg is undefined

2007-03-15 Thread hkclark
On 3/15/07, David Christensen [EMAIL PROTECTED] wrote: Jason Kohles wrote: It looks like you've turned on debugging in Template, either DEBUG_UNDEF or DEBUG_ALL Yup: 2007-03-14 22:09:33 [EMAIL PROTECTED] ~/MyApp $ grep -i debug lib/MyApp/View/TT.pm DEBUG = 'undef', I

[Catalyst] Re: Catalyst Digest, Vol 25, Issue 32

2007-03-15 Thread Russell Jurney
This fixes the same problem in Solaris 10, 11/06, in which Scalar::Util has been built without XS support. On Mar 15, 2007, at 7:49 AM, [EMAIL PROTECTED] wrote: Hi Anatoly, Apparently Red Hat typeically builds Scalar::Util without the XS option. I was able to fix this on CentOS/RHEL

[Catalyst] Apache2+fcgid or Lighttpd

2007-03-15 Thread Michele Beltrame
Hello! I'm about to deploy an application, and this time I can choose to use Lightpd instead of Apache+fcgid, which I commonly use. I have no problem with the latter configuration, but I was wondering if someone has comments/experience about Lighttpd for running Catalyst applications, i.e.

Re: [Catalyst] PageCache and Apache

2007-03-15 Thread Peter Karman
vti scribbled on 3/13/07 3:12 PM: Hi I have something strange happening while using PageCache plugin and Apache server. When plugin has cached a page the next request i get 550 error response, next time i refresh everything is ok, next time again 550. I have had this same error. It seems

Re: [Catalyst] PageCache and Apache

2007-03-15 Thread Perrin Harkins
On 3/13/07, vti [EMAIL PROTECTED] wrote: I have something strange happening while using PageCache plugin and Apache server. If you have apache, you'd probably be better off using mod_cache. It will be a lot faster. - Perrin ___ List:

Re: [Catalyst] Apache2+fcgid or Lighttpd

2007-03-15 Thread Daniel McBrearty
I thought of using fcgi also, but wondered if the fact that lighty doesn't make the fcgi connection persistent was significant. On 3/15/07, Michele Beltrame [EMAIL PROTECTED] wrote: Hello! I'm about to deploy an application, and this time I can choose to use Lightpd instead of Apache+fcgid,

Re: [Catalyst] PageCache and Apache

2007-03-15 Thread vti
Peter Karman([EMAIL PROTECTED])@Thu, Mar 15, 2007 at 08:08:37AM -0500: vti scribbled on 3/13/07 3:12 PM: Hi I have something strange happening while using PageCache plugin and Apache server. When plugin has cached a page the next request i get 550 error response, next time i refresh

[Catalyst] context object in TT

2007-03-15 Thread rahed
Hello, I started with Catalyst and don't know why I cannot access the context object from Template Toolkit. All other data from db or from forms is rendered ok but when I do e.g. [% c.config.name %] in the template, nothing is shown. I call template like this:

Re: [Catalyst] context object in TT

2007-03-15 Thread Adeola Awoyemi
On 15 Mar 2007, at 17:01, rahed wrote: [% c.config.name %] in the template, nothing is shown. I think this needs to be: [% Catalyst.config.name %] I call template like this: $c-stash-{template}-'books/view.tt2'; And this needs to be: $c-stash-{template} = 'books/view.tt2'; HTH,

Re: [Catalyst] context object in TT

2007-03-15 Thread Bill Moseley
On Thu, Mar 15, 2007 at 06:00:33PM +, Adeola Awoyemi wrote: On 15 Mar 2007, at 17:01, rahed wrote: [% c.config.name %] in the template, nothing is shown. I think this needs to be: [% Catalyst.config.name %] C::V::TT has: sub template_vars { my ( $self, $c ) = @_; my

Re: [Catalyst] context object in TT

2007-03-15 Thread rahed
On 3/15/07, Bill Moseley [EMAIL PROTECTED] wrote: On Thu, Mar 15, 2007 at 06:00:33PM +, Adeola Awoyemi wrote: On 15 Mar 2007, at 17:01, rahed wrote: [% c.config.name %] in the template, nothing is shown. I think this needs to be: [% Catalyst.config.name %] C::V::TT has: sub

Re: [Catalyst] Weak reference error

2007-03-15 Thread Anatoly Bashmakov
Hi Kennedy! Thank you for your reply! I do force install Scalar::Util but it doesn't help :-(. The same error. May be I do something wrong. I switched to centos-4.3. Can you please remember how exactly you install cat? How do you uninstall previously installed Scalar::Util? I just

[Spam] Re: [Catalyst] Weak reference error

2007-03-15 Thread Ian VanDerPoel
Anatoly, We had the same problem on Red Hat with Scalar-List-Utils-1.19. We installed 1.14 and it worked. Make sure that you are pointing to 1.14. Regards Ian Anatoly Bashmakov [EMAIL PROTECTED] 16/03/07 7:16 am Hi Kennedy! Thank you for your reply! I do force install

Re: [Catalyst] Weak reference error

2007-03-15 Thread Anatoly Bashmakov
Thank you for your reply Ian! May be I'm just cursed.. == $ cat /etc/redhat-release CentOS release 4.3 (Final) $ perl -MCatalyst -e 'print $Catalyst::VERSION, \n' 5.7007 $ perl -MScalar::Util -e 'print $Scalar::Util::VERSION, \n' 1.14 $ perl -MList::Util -e 'print $List::Util::VERSION,

RE: [Catalyst] Catalyst::Manual::Tutorial::CatalystBasics[error]Couldn't render template undef error - status_msg is undefined

2007-03-15 Thread David Christensen
Kennedy wrote: It was my hope that this warning would help people remember to turn it off: NOTE: Please be sure to disable TT debug options before continuing the tutorial (especially the 'undef' option -- leaving this enabled will conflict with several of the conventions used by this tutorial