Re: [Catalyst] Tutorial (in VMware) keeps losing ability toauthenticate

2013-02-14 Thread Ben Vinnerd
> Regards, > Nicolas > ------ > De : Ben Vinnerd > Envoyé : 14/02/2013 11:00 > À : The elegant MVC web framework > Objet : Re: [Catalyst] Tutorial (in VMware) keeps losing ability > toauthenticate > > > I seem to recall have authentication problems w

Re: [Catalyst] Tutorial (in VMware) keeps losing ability to authenticate

2013-02-14 Thread Ben Vinnerd
I seem to recall have authentication problems with a Catalyst app a while ago, but only in the IE browser. IIRC the problem was something to do with the VM's clock losing sync and an IE cookies clash. Check the clock on your VM is accurate - worth a go :) Ben On 30 January 2013 21:10, Dan Lowe

Re: [Catalyst] Unable to output anything in Root.pm -> 'auto'

2012-10-29 Thread Ben Vinnerd
Private methods have to return a true value to continue processing. Try adding "return 1" at the end of the method. Ben On 29 October 2012 14:23, Craig Chant wrote: > Hi, > > > > I seem to be going round in circles unable to get Catalyst to output > anything via ‘auto’? > > > > I made a chan

Re: [Catalyst] [DBIx::Class::ResultSet ] 'update' with 'where' clause

2010-03-23 Thread Ben Vinnerd
Hi David, You need to call either update or update_all on the ResultSet. See docs: http://search.cpan.org/~ribasushi/DBIx-Class-0.08120/lib/DBIx/Class/ResultSet.pm#update http://search.cpan.org/~ribasushi/DBIx-Class-0.08120/lib/DBIx/Class/ResultSet.pm#update_all Try something like this: $c->mode

[Catalyst] ConfigLoader not looking at myapp.conf

2009-07-30 Thread Ben Vinnerd
Hi, I'm using ConfigLoader with myapp.conf and myapp_local.conf in my app. myapp_local.conf is being read into $c->config fine, but anything in myapp.conf is being ignored. I have the following in myapp.conf: no_image_640x480 /images/unavailable.gif no_image_320x240 /images/unavaila

Re: [Catalyst] How to sign up...

2009-07-28 Thread Ben Vinnerd
On 28/07/2009 14:29, Steve wrote: Please help me figure out how I got signed up for this list. There is another gentleman in our company who would like to get these posts, but I can't seem to figure out how I got signed up! Click on the Listinfo link at the bottom of this email! Ben

Re: [Catalyst] RFC: Makefile warning in catalyst apps

2009-07-28 Thread Ben Vinnerd
On 28/07/2009 09:52, Devin Austin wrote: I also thought --yarly (thanks rafl), --yesinstalldammit, --plztobeintallingz were excellent choices. He he :) ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/

Re: [Catalyst] RFC: Makefile warning in catalyst apps

2009-07-28 Thread Ben Vinnerd
On 28/07/2009 09:27, Devin Austin wrote: okay, I got this right this time. What are everyone's thoughts on including a warning and forced confirmation when a user goes to "make install" an application, be it downloaded from cpan or elsewhere? Something like, "you are running make install, a

Re: [Catalyst] myapp_local.yml gets ignored

2009-06-18 Thread Ben Vinnerd
On 17/06/09 14:50, Jochen Luig wrote: When the login request failed, I first thought it had to do with the authentication process. But when there was a change in the db schema that I hadn't made accordingly in my local mysql database, the test script complained about the columns not present in th

Re: [Catalyst] ConfigLoader trouble

2009-06-18 Thread Ben Vinnerd
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 b

Re: [Catalyst] root dir location

2009-06-18 Thread Ben Vinnerd
On 18/06/09 08:51, Tomas Doran wrote: At a guess, you deleted your Makefile.PL? Yes :O I didn't really want to bother with make on my webapp, so deleted that along with Changes and README. Cheers t0m, Ben ___ List: Catalyst@lists.scsys.co.uk L

Re: [Catalyst] myapp_local.yml gets ignored

2009-06-17 Thread Ben Vinnerd
On 17/06/09 16:13, Carl Vincent wrote: Are you sure that your config files are parsing correctly? I've had problems in the past (admittedly with YAML config files) with the files being silently ignored when there's a syntax error in them. This may be handled better in the latest versions. Ye

Re: [Catalyst] myapp_local.yml gets ignored

2009-06-17 Thread Ben Vinnerd
On 17/06/09 14:50, Jochen Luig wrote: So the myapp_local.yml seems to get ignored. OTOH, the test user is not created in that database. According to the ConfigLoader docs, 'local' is the default suffix for files used to override the main config, so AFAIU the above code is supposed to "just work

[Catalyst] root dir location

2009-06-17 Thread Ben Vinnerd
Where should the root dir (for templates) be? I thought it was at the same level as lib, script, and t. I'm finding that when i create a view with: myapp_create.pl view MyView TT ...the INCLUDE_PATH isn't setup, and i have to manually add: INCLUDE_PATH => Myapp->path_to(qw/.. .. root/), __

Re: [Catalyst] ConfigLoader trouble

2009-06-17 Thread Ben Vinnerd
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. connect_info dbi:mysql:motoring:localhost;mysql_client_found_rows=1 connect_info connect_info

Re: [Catalyst] ConfigLoader trouble

2009-06-17 Thread Ben Vinnerd
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: PerlS

Re: [Catalyst] ConfigLoader trouble

2009-06-17 Thread Ben Vinnerd
On 17/06/09 10:57, Devin Austin wrote: What's the error you're getting? The 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 not reading

[Catalyst] ConfigLoader trouble

2009-06-17 Thread Ben Vinnerd
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 myapp_beta.c

Re: [Catalyst] Authorisation

2009-05-19 Thread Ben Vinnerd
Ivan Wills wrote: user_model => 'DietDB', Change this to: user_model => 'DietDB::User' (replace User with whatever you User table is called). Ben ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin

Re: [Catalyst] Which model is better, DBI or DBIC::Schema?

2009-04-29 Thread Ben Vinnerd
Malloy wrote: Which model is better, DBI or DBIC::Schema? There's only one way to find out FIIIGHT Sorry, couldn't resist :) Ben ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalys

Re: [Catalyst] Final RFC for Press Release!

2009-04-29 Thread Ben Vinnerd
Joel Bernstein wrote: Cheers Joel, couldn't have done it without you! What a star. My sarcasm meter just went off the scale. Sorry if you were offended. /joel ;-) Ben ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-

Re: [Catalyst] Final RFC for Press Release!

2009-04-28 Thread Ben Vinnerd
Joel Bernstein wrote: On 28 Apr 2009, at 14:32, Ben Vinnerd wrote: John Napiorkowski wrote: There's a new edit of the Catalyst press release, which was graciously donated by a copy edit expert mst found for us. mst++ Please take a look: http://dev.catalystframework.org

Re: [Catalyst] Final RFC for Press Release!

2009-04-28 Thread Ben Vinnerd
John Napiorkowski wrote: There's a new edit of the Catalyst press release, which was graciously donated by a copy edit expert mst found for us. mst++ Please take a look: http://dev.catalystframework.org/wiki/releaseannouncements/58pressrelease.edit No permissions to edit this page _

Re: [Catalyst] Problem with authentication

2009-04-22 Thread Ben Vinnerd
Should... user_class: DB::grips_user ...be user_model: DB::grips_user ??? Renee Bäcker wrote: Tomas Doran schrieb: Nothing appears wrong with that code. However you haven't shown us your authentication config, so we don't know what you're authenticating with / against. I

Re: [Catalyst] deployment with 3-tiered server setup: How to handle config?

2009-04-21 Thread Ben Vinnerd
I have a file /etc/httpd/host.conf, which contains the line: PerlSetEnv CATALYST_CONFIG_LOCAL_SUFFIX live/dev/whatever This host.conf file is different on each host, and gets included from the main httpd.conf. ConfigLoader picks this up, and it works for me - only 1 file to change on each host.

Re: [Catalyst] Apache's

2009-04-15 Thread Ben Vinnerd
Thanks Charlie. That will do me :) Ben Charlie Garrison wrote: Good morning, On 15/04/09 at 1:24 PM +0100, Ben Vinnerd wrote: I pass a flag to Apache when i start it up, e.g. -Dhello. Any ideas how i can check this from within a Catalyst app? If using mod_perl, then inside your

[Catalyst] Apache's

2009-04-15 Thread Ben Vinnerd
Hi, I pass a flag to Apache when i start it up, e.g. -Dhello. Any ideas how i can check this from within a Catalyst app? Thanks, Ben ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchab

Re: [Catalyst] Unknown error in Catalyst/Utils.pm line 272

2009-03-28 Thread Ben Vinnerd
by a syntax error in a controller or http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488088 On 29/03/2009, at 9:29 AM, Ben Vinnerd wrote: Hi all, I keep getting the following error when there's a problem with my code: *Unknown error\nCompilation failed in require at /us

[Catalyst] Unknown error in Catalyst/Utils.pm line 272

2009-03-28 Thread Ben Vinnerd
Hi all, I keep getting the following error when there's a problem with my code: *Unknown error\nCompilation failed in require at /usr/local/lib/perl5/site_perl/5.10.0/Catalyst/Utils.pm line 272.* I get this error in error_log when trying to start Apache with buggy code... not very helpful wh