On 17 Jun 2009, at 11:16, Ben Vinnerd wrote:
It's like ConfigLoader's setup() isn't being run, or it's choosing
to ignore the MYAPP_CONFIG_LOCAL_SUFFIX i'm setting.
I'm afraid the best way to debug this is likely to be brute force.
Copy your apache config somewhere, mangle it to only
On 18/06/09 08:57, Tomas Doran wrote:
On 17 Jun 2009, at 11:16, Ben Vinnerd wrote:
It's like ConfigLoader's setup() isn't being run, or it's choosing to
ignore the MYAPP_CONFIG_LOCAL_SUFFIX i'm setting.
I'm afraid the best way to debug this is likely to be brute force.
No need - i tried
What's the error you're getting?
On Wed, Jun 17, 2009 at 3:52 AM, Ben Vinnerd ben-catal...@vinnerd.comwrote:
Hi all,
Have got a problem with ConfigLoader not reading %ENV.
At the top of Myapp.pm i have:
use parent qw/Catalyst/;
use Catalyst qw/StackTrace ConfigLoader/;
...and i'm
Hi all,
Have got a problem with ConfigLoader not reading %ENV.
At the top of Myapp.pm i have:
use parent qw/Catalyst/;
use Catalyst qw/StackTrace ConfigLoader/;
...and i'm setting env var in httpd.conf:
PerlSetVar MYAPP_CONFIG_LOCAL_SUFFIX beta
... but ConfigLoader will not load
On 17/06/09 10:57, Devin Austin wrote:
What's the error you're getting?
The Model::DB config i'm putting in myapp_beta.conf isn't being read
by ConfigLoader, so the error i'm getting is from DBIx::Class stating
that it needs connect_info. But this error is irrelevant... it's
ConfigLoader
Paste your conf, connect_info actually has to be an array(ref?) and it has
to be put together kinda funny in myapp.conf.
On Wed, Jun 17, 2009 at 4:13 AM, Ben Vinnerd ben-catal...@vinnerd.comwrote:
On 17/06/09 10:57, Devin Austin wrote:
What's the error you're getting?
The Model::DB config
On 17/06/09 11:02, Joel Bernstein wrote:
On 17 Jun 2009, at 10:52, Ben Vinnerd wrote:
Have got a problem with ConfigLoader not reading %ENV.
At the top of Myapp.pm i have:
use parent qw/Catalyst/;
use Catalyst qw/StackTrace ConfigLoader/;
...and i'm setting env var in httpd.conf:
PerlSetVar
On 17/06/09 11:15, Devin Austin wrote:
Paste your conf, connect_info actually has to be an array(ref?) and it
has to be put together kinda funny in myapp.conf.
Model::DB
connect_info dbi:mysql:motoring:localhost;mysql_client_found_rows=1
connect_info
connect_info