Re: [Catalyst] Apache + mod_perl + Digest-SHA fails

2009-12-18 Thread Ascii King
Tomas Doran wrote: Where, exactly? Could you please point out the specific section so I can GO BEAT IT WITH A STICK. A STICK WITH RUSTY NAILS HAMMERED THROUGH IT. cough Thanks in advance. t0m Here: http://search.cpan.org/dist/Catalyst-Manual/lib/Catalyst/Manual/Cookbook.pod#___top

[Catalyst] Apache + mod_perl + Digest-SHA fails

2009-12-16 Thread Ascii King
I have an Apache 2.2.14 server with mod-perl 2.0.4 and Catalyst 5.80015 on a Windows XP machine. My system runs fine from the built-in Catalyst web server. When I run it through my Apache server, however it fails with the folowing error: [info] NPC powered by Catalyst 5.80015 Free to wrong

Re: [Catalyst] Apache + mod_perl + Digest-SHA fails

2009-12-16 Thread Ascii King
Stuart Watt wrote: Free to wrong pool is usually an issue with XS and threading. Digest::SHA is an XS module. Which Perl are you using? And how is it integrated into Apache? I've generally found FastCGI to be safer on Windows, simply because it doesn't require the tight integration of Perl

Re: [Catalyst] IE6 shows page cannot be displayed

2009-10-16 Thread Ascii King
Oleg Kostyuk wrote: 2009/10/14 Ascii King t...@swattermatter.com: # Redirect to the list_prior page $c-response-redirect($c-uri_for('list_prior')); Long time ago I have problems with calling uri_for, using string as first argument. For me solution was to use action argument, and now

[Catalyst] IE6 shows page cannot be displayed

2009-10-14 Thread Ascii King
I am having a problem with IE6 not displaying the page after a form has been submitted. I can call up a form, fill it out, no problem. When I submit it, I get 'Page cannot be displayed. This works fine in Firefox, but not IE6. Also, the form data does get written to the database in both

Re: [Catalyst] selectively using the wrapper

2009-09-16 Thread Ascii King
Bill Moseley wrote: In my mind the wrapper is a view issue, so I set the wrapper in the template not in the controller. I have a wrapper that is called for *every* page that is used to build the page. META is compile time, IIRC, so I use [% page.layout = 'foo' %] then in wrapper.tt

[Catalyst] selectively using the wrapper

2009-09-15 Thread Ascii King
I want to load a page, but not run it through the wrapper. Can I shut off the wrapper or specify different wrappers at different times? I have read the Catalyst::View::TT doc, but it doesn't mention this. ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] Bug with re-occuring nested related tables with CP FormFu?

2009-08-21 Thread Ascii King
You are missing the counter_name and new_rows_max for the repeatables. Look at this bit of YAML that Moritz gave me. You might also look at the empty_rows option. Your problem is the counter_name, though. - type: Hidden name: count constraints: - Required - type: Repeatable

Re: [Catalyst] Can't call method run on an undefined value

2009-06-12 Thread Ascii King
That solved it, thanks! I had replaced the wrong line in the lib\MyApp.pm when following the tutorial. Ian Wells wrote: 2009/6/11 Ascii King t...@swattermatter.com: When I create and run a new Catalyst app form the CPAN tutorial, I get the following error: Can't call method run

[Catalyst] Can't call method run on an undefined value

2009-06-11 Thread Ascii King
When I create and run a new Catalyst app form the CPAN tutorial, I get the following error: Can't call method run on an undefined value at C:/Perl/site/lib/Catalyst.pm line 2094. I am using Windows XP with MS SQL Server Express 2008 and a fresh install of Catalyst. When I port over a

[Catalyst] Auto_increment in MS SQL

2009-05-29 Thread Ascii King
I have my Catalyst system hooked up to a MS SQL Server (thanks Johannes), but I am running into a problem with the auto_increment system. It seems that MS SQL server uses something called an IDENTITY column to do it's auto incrementing. This is fine and I have it set up and working. However,

[Catalyst] Connect Catalyst app to MS SQL Server 2005

2009-05-27 Thread Ascii King
I'm trying to connect my Catalyst app to a MS SQL server 2005. I have DBIx::Class loaded and I went through the documentation, but I can't seem to get the right connection string. Would someone be able to point out my mistake and suggest the proper connection string? Here is the info from my

Re: [Catalyst] Authorization Failure

2009-05-08 Thread Ascii King
OK. I'll pull out some clear code examples. Thanks Tomas Doran wrote: Ascii King wrote: the authorization component of my application no longer works properly. Did something change with Catalyst::Plugin::Authorization? I searched the lists, but I didn't see anything. snip The tests still

[Catalyst] Too many records returned

2009-03-18 Thread Ascii King
I have a sub that is supposed to call a record for editing if an $id parameter is specified. If no $id is given, then it is supposed to create a new record. It works fine when used to call an existing record. The problem I am having is that it is returning every record in the table associated

Re: [Catalyst] Specifying relationships once

2009-03-14 Thread Ascii King
statements like the above, or code them into your Model directly. Hope that helps. RET Sent from my iPhone On 14/03/2009, at 5:08 AM, Ascii King t...@swattermatter.com wrote: Is there some way to place all of the relationship specifications into a file so that I don't have

[Catalyst] Specifying relationships once

2009-03-13 Thread Ascii King
Is there some way to place all of the relationship specifications into a file so that I don't have to go out and type them in each time? For example, I can specify a bunch of SQL commands in a text file and have sqlite3 read them and turn them into a database full of data. Now I want to have

Re: [Catalyst] No targets specified for Task::Catalyst::Tutorial

2009-01-02 Thread Ascii King
I see this is already a known bug. Sorry. Ascii King wrote: When running the commands: cpan Task::Catalyst::Tutorial or sudo perl -MCPAN -e 'install Task::Catalyst::Tutorial' it asks me if I want to install the dependencies. I select yes and then I get the following error

Re: [Catalyst] Re: Only call individual fields by number?

2008-12-17 Thread Ascii King
[% formbuilder.field.last_name.field %]/td /tr tr td class=beneath-label[% formbuilder.field.first_name.label %]/td td class=beneath-label[% formbuilder.field.last_name.label %]/td /tr /table Gah! Thank you very much, sir. kevin montuori wrote: AK == Ascii King t...@swattermatter.com

Re: [Catalyst] calling a method or sub from the View

2008-12-10 Thread Ascii King
I see now that it isn't a Perl or Catalyst function I need, but a Template Toolkit macro. I have it now and i will just keep reading. I apologize for wasting your time. Ascii King wrote: How can I call a method or sub routine that I create? I simply want to put the word 'select