Re: [Catalyst] Apache2 and mod_perl deployment issue

2011-11-16 Thread Adam Jimerson
On Wed, Nov 16, 2011 at 12:10 PM, Tomas Doran bobtf...@bobtfish.net wrote: and shared memory that mod_perl deployment had over fastcgi This just isn't true unless you're deploying many applications (like the doc says). Are you trying to run half a dozen or more apps? Not a half dozen but

Re: [Catalyst] Apache2 and mod_perl deployment issue

2011-11-14 Thread Adam Jimerson
On Mon, Nov 14, 2011 at 4:21 AM, Tomas Doran bobtf...@bobtfish.net wrote: On 14 Nov 2011, at 02:55, Adam Jimerson wrote: I am trying to deploy my app using the Catalyst Runtime 5.90006 using mod_perl 2.0.5 on apache 2.2.17. I have all my configurations in a virtual host file, can

Re: [Catalyst] Apache2 and mod_perl deployment issue

2011-11-14 Thread Adam Jimerson
:34 PM, Adam Jimerson vend...@gmail.com wrote: On Mon, Nov 14, 2011 at 4:21 AM, Tomas Doran bobtf...@bobtfish.netwrote: On 14 Nov 2011, at 02:55, Adam Jimerson wrote: I am trying to deploy my app using the Catalyst Runtime 5.90006 using mod_perl 2.0.5 on apache 2.2.17. I have all my

Re: [Catalyst] Apache2 and mod_perl deployment issue

2011-11-14 Thread Adam Jimerson
On Mon, Nov 14, 2011 at 5:31 PM, Tomas Doran bobtf...@bobtfish.net wrote: On 14 Nov 2011, at 19:24, Adam Jimerson wrote: Would strace be able to follow the fork, or would I be in the same boat there? The only thing that I can see that would be causing it is a couple of lines like

Re: [Catalyst] Apache2 and mod_perl deployment issue

2011-11-14 Thread Adam Jimerson
On Mon, Nov 14, 2011 at 5:31 PM, Tomas Doran bobtf...@bobtfish.netwrote: Why are you deploying with mod_perl anyway? After looking into deploying under mod_fastcgi turns out the closest thing openSUSE ships with is mod_fcgid version 2.3.6 and I'm not sure if this is good enough for

[Catalyst] Apache2 and mod_perl deployment issue

2011-11-13 Thread Adam Jimerson
I am trying to deploy my app using the Catalyst Runtime 5.90006 using mod_perl 2.0.5 on apache 2.2.17. I have all my configurations in a virtual host file, can be found here http://cloud.vendion.net/apps/files_sharing/get.php?token=9e6836a8d9e633e2c81390d73423beb92df489aa . My app runs fine

Re: [Catalyst] Dealing with timestamps from Postgres

2011-11-03 Thread Adam Jimerson
formatted or worse pull them one by one building a hash_ref or array? On Thu, Nov 3, 2011 at 6:04 AM, Tomas Doran bobtf...@bobtfish.net wrote: On 3 Nov 2011, at 02:05, Adam Jimerson wrote: but in my Catalyst app the date looks like this 2011-05-07T13:53:41. The T instead of the space

Re: [Catalyst] Dealing with timestamps from Postgres

2011-11-03 Thread Adam Jimerson
On Thu, Nov 3, 2011 at 6:55 AM, Kieren Diment dim...@gmail.com wrote: On 03/11/2011, at 9:40 PM, Adam Jimerson wrote: The problem I see with doing it this way: $formatted_date_string = $c-model('DB::TableName')-find($row_index)-date_field-mdy('/'); is that It looks like I would have

Re: [Catalyst] Dealing with timestamps from Postgres

2011-11-03 Thread Adam Jimerson
On Thu, Nov 3, 2011 at 11:38 AM, will trillich will.trill...@serensoft.comwrote: On Thu, Nov 3, 2011 at 12:36 PM, Tomas Doran bobtf...@bobtfish.netwrote: Another option is to *add a 'format_date' method to your view*, and use the *expose_methods *config setting for View::TT.. In your TT

[Catalyst] Dealing with timestamps from Postgres

2011-11-02 Thread Adam Jimerson
I'm hoping someone can help me with an issue that I am having with dates and timestamps that I am pulling out of my Postgres server. In my database my time stamps are stored like this 2011-05-07 13:53:41-04 (timestamp with time zone), but in my Catalyst app the date looks like this

Re: [Catalyst] Question on data verification and detainting

2011-10-04 Thread Adam Jimerson
Thank you for that suggestion I will look into it as a possibility. On Tue, Oct 4, 2011 at 3:23 AM, Shantanu Bhadoria shantanu.bhado...@gmail.com wrote: You can use dataform validator plugin for validations. hty -Shantanu Bhadoria Sent from Samsung tablet Adam Jimerson vend...@gmail.com

[Catalyst] Question on data verification and detainting

2011-10-03 Thread Adam Jimerson
I have a question on suggestions about input data verification and detainting, I am currently doing this in all of my controllers as I pull in data from the params variable this isn't a very effective way of doing it do to all the reused code. I'm curious what methods others are using to do this?

[Catalyst] Accessing the catalyst user data from a template

2011-04-17 Thread Adam Jimerson
I am trying to display display information about the user currently logged into my catalyst app but for some reason it is returning blank (or even null). I am trying to display the uniqid (user id) and username of the current user. From my template I am calling [% c.user.object.username %] and

Re: [Catalyst] Updating a database entry

2011-04-04 Thread Adam Jimerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you that solved my problem, also I will keep that in mind if I have any othr DBIx::Class questions/issues. Tomas Doran wrote: On 3 Apr 2011, at 20:25, Adam Jimerson wrote: Or is it complaining about the lack of a primary key all

Re: [Catalyst] Updating a database entry

2011-04-03 Thread Adam Jimerson
On Sun, Apr 3, 2011 at 12:07 AM, Adam Jimerson vend...@gmail.com mailto:vend...@gmail.com wrote: First of all hello people of the list! I am working on my first Catalyst app and need some help updating an entry from my database. $c-stash( users_rs = $c-model('DB::Tech')); my $user = $c

[Catalyst] Updating a database entry

2011-04-02 Thread Adam Jimerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 First of all hello people of the list! I am working on my first Catalyst app and need some help updating an entry from my database. $c-stash( users_rs = $c-model('DB::Tech')); my $user = $c-stash-{users_rs}-find({ id = $userid }); die No such