Re: [Catalyst] myapp_local.yml gets ignored

2009-06-19 Thread Jochen Luig
On Thu, 2009-06-18 at 15:27 +0100, Ben Vinnerd wrote: Jochen - have you deleted the Makefile.PL in the app dir? If so, put it back :) No, it's still there. I'm not familiar with the startup process of Catalyst apps and couldn't find anything beyond this part of the manual:

Re: [Catalyst] myapp_local.yml gets ignored

2009-06-19 Thread Jochen Luig
On Thu, 2009-06-18 at 08:50 +0100, Tomas Doran wrote: At a wild stab in the dark - is this an issue with the lifecycle of your application? I.e. is your app starting before you actually write the config file out? It may be a lifecycle issue. The db connection is configured in

Re: [Catalyst] ajax character encoding issue solved, but WHY?

2009-06-19 Thread Moritz Onken
Am 19.06.2009 um 06:23 schrieb seasproc...@gmail.com: I had a character encoding issue that I finally solved, but I don't understand why the fix works. I'm hoping someone can explain this to me! The issue was that non-ascii chars were appearing as junk BUT only when retrieved via ajax

[Catalyst] Warnings when upgrading Catalyst

2009-06-19 Thread Ovid
We're upgrading from Catalyst 5.7015 to 5.80005 and now our test suite is throwing lots of undef warnings from Catalyst.pm line 1561 in the _stats_start_execute method. Specifically: if ( my $parent = $c-stack-[-1] ) { $c-stats-profile(# line 1561 begin

Re: [Catalyst] ajax character encoding issue solved, but WHY?

2009-06-19 Thread Phil Mitchell
On Fri, Jun 19, 2009 at 12:52 AM, Moritz Onken on...@houseofdesign.dewrote: Am 19.06.2009 um 06:23 schrieb seasproc...@gmail.com: What is the encoding of the web page that issues that ajax request? charset=UTF-8 Does this occur on different browser as well? yes (tested on FF and IE)

Re: [Catalyst] 5.80005: $c-req-remote_user and apache: excluding actions from authentication

2009-06-19 Thread Francesc Romà i Frigolé
On Wed, Jun 10, 2009 at 6:13 PM, Tomas Doran bobtf...@bobtfish.net wrote: Both perceptually and numerically. Since the deployment documentation recommends not serving static files with catalyst I assumed it was normal. I'd still recommend serving your CSS/JS/icons directly through apache,

Re: [Catalyst] ajax character encoding issue solved, but WHY?

2009-06-19 Thread Francesc Romà i Frigolé
On Fri, Jun 19, 2009 at 6:23 AM, seasproc...@gmail.com wrote: The problem was fixed by calling utf8::decode on the data prior to sending back via ajax. BUT WHY? I am using the JSON view to render ajax responses, and it sets the charset header correctly to UTF-8. Of course, even when you

Re: [Catalyst] address mismatch warnings?

2009-06-19 Thread Stuart Watt
This does happen, most commonly when a site uses a load-balancing proxy setup. According to the docs, this should not be happening by default, but is enabled through the verify_address key for the session configuration. On larger sites I've worked with, I ended up turning off IP address

[Catalyst] Catalyst and Encodings

2009-06-19 Thread Naylor Garcia
Is there a plugin that automatically recognize the encoding (eg ISO, UTF, etc.) and automatically decode de string? Tried and found only that convert to ISO or to convert to UTF just do not think a generic do all that. Thank you. ___ List:

Re: [Catalyst] Catalyst and Encodings

2009-06-19 Thread seasprocket
On Fri, Jun 19, 2009 at 11:46 AM, Naylor Garcia naylorgar...@gmail.comwrote: Is there a plugin that automatically recognize the encoding (eg ISO, UTF, etc.) and automatically decode de string? As I understand, it is not possible in general to guess the encoding from the data. Encode::Guess