I you mean trust "user", then yes. Put a `if $c->user' somewhere in your
Root Controller - perhaps an auto action - and redirect if user is undef.
`user` is populated by Catalyst::Plugin::Authentication[1]
[1]
http://search.cpan.org/~bobtfish/Catalyst-Plugin-Authentication-0.10023/lib/Catalyst/P
realm="MyRealm");
$c->response->content_type('text/plain');
$c->response->status(401);
$c->detach();
}
HTH,
Dermot
On 13 May 2016 at 16:32, Gerhard Jungwirth wrote:
> Hi,
>
> I am using Catalyst::Authentication::Store::DBIx::Class and
> Catal
r. What may seem like a lot of unnecessary aggravation
(testing and version control) have come about because it's no fun fixing
problems after the event.
You could also look at Dancer2 [3] as that be good fit too.
Good luck,
Dermot.
1) https://metacpan.org/pod/Catalyst::Model::File
2) http://ww
se does; read the
docs and ask questions. Another option might be with get yourself a
per-incident, by-the-hour, support deal. There are plenty of
free-lancers (and companies with free-lancers) that can offer that. It
could be amiss of me to suggest one on-list.
HTH,
Dermot
On 1 November 2011 14:54, Lindolfo Lorn Rodrigues wrote:
> Hi Dermot, I got the same issue and open a ticket in dotcloud and they
> answered:
> Jérôme Petazzoni, Sep-05 21:46 (PDT):
>
> Hi,
>
> I remember that had a very similar issue when I tried to run Catalyst on
>
On 1 November 2011 01:51, Richard Thomas wrote:
>>
>> Does anyone have any experience of deploying a Cat App onto dotcloud?
>> I have an cat app that works fine on my pc using the built-in server
>> but doesn't work on dotcloud.
>
> Hi Dermot,
> I have a Cata
ock:", host:
"kayelectrical-tomred.dotcloud.com", referrer:
"http://kayelectrical-tomred.dotcloud.com/";
There are so many errors there that it's hard to know where to start
but the two that stick out are
1) connect() to unix:///var/dotcloud/uwsgi.sock failed (111: Co
e warnings;
>
> use base 'DBIx::Class::Core';
> -
>
> I don't have a MyApp::Schema::ResultSet::User. So... now what? :)
>
>
You have to manually create that directory and the class. Have a look here:
http://search.cpan.org/~hkclark/Catalyst-Manual-5.9
ing one approach over an
other, I'd appreciate hearing them.
Thanks,
Dermot.
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/ca
On 10 July 2011 19:14, Charlie Gonzalez wrote:
> Does this mean that when making a decision on an OS for Catalyst apps the
> best choice of a linux OS is CentOs or Redhat?
Perhaps I didn't make myself clear, I only have this problem on
Redhat/CentOS. My Debian/Ubuntu machines do not suffer from
On 10 July 2011 16:54, Andrew Rodland wrote:
> On Sunday, July 10, 2011 01:36:55 AM Charlie Gonzalez wrote:
>> Hello,
>>
>> I am receiving the following error message while starting my dev server
>> enviroment:
>>
>>
>> cgonzalez@cgonzalez-laptop:~/Addressit/script$ perl Addressit_server.pl -r
>>
On 27 April 2010 12:09, Carl Johnstone wrote:
> Dermot wrote:
>> Why wouldn't you, as you write, use the the fastest access methods
>> available? Surely you'd want to develop habits that will a) provide
>> better performance and b) as mentioned below avoid th
On 26 April 2010 12:02, Ovid wrote:
> - Original Message
>> From: Dermot
>
>
>> Why wouldn't you, as you write, use the the fastest access methods
>> available? Surely you'd want to develop habits that will a) provide
>> better performance
On 26 April 2010 11:22, Zbigniew Lukasiak wrote:
> On Mon, Apr 26, 2010 at 10:57 AM, Ævar Arnfjörð Bjarmason
> wrote:
>> On Mon, Apr 26, 2010 at 09:36, Dermot wrote:
>>> On 21 April 2010 18:01, J. Shirley wrote:
>>>> __END__
>>>> Benchmark: run
On 21 April 2010 18:01, J. Shirley wrote:
>
> __END__
> Benchmark: running all, low, sep for at least 1 CPU seconds...
> all: 1 wallclock secs ( 1.11 usr + 0.00 sys = 1.11 CPU) @
> 2917341.44/s (n=3238249)
> low: 0 wallclock secs ( 1.27 usr + 0.04 sys = 1.31 CPU) @
> 12930179.39
On 17 March 2010 23:08, Tomas Doran wrote:
>
> On 17 Mar 2010, at 18:48, Ram Dobson wrote:
>>
>> I'm kinda new to Catalyst too, but i believe this is what one might call a
>> "helper" function. Anybody who knows more have an opinion on the relative
>> merit of my change?
>
>
> Crapping stuff into
On 22 March 2010 17:04, Charles wrote:
> Could anyone point me to docs that say what needs to be changed to get the
> app to work when installed as an application in a pre-existing apache setup?
> my app is installed under http://myurl.com/myapp and can't run directly from
> "/" as this app is
Hi,
I'm sure there is a way but it's not jumping out at me.
I have a list of countries and their associated database ID's that I
need to stash in the header of (almost) every page on a site. I have
no problems creating a controller that can do
$c->model(DB::Countries)->search({foo=>1}) and stick
2010/1/15 Florian Ragwitz :
> On Fri, Jan 15, 2010 at 05:15:13PM +0000, Dermot wrote:
>> I had a search on the archives but I can't see anything. I doubt that
>> it's an oversight, so can someone tell me the reason why the tests
>> that are created by Catalyst::Hel
Hi,
I had a search on the archives but I can't see anything. I doubt that
it's an oversight, so can someone tell me the reason why the tests
that are created by Catalyst::Helper do not have use FindBin and set
lib accordingly?
Thanx.
Dp.
___
List: Cata
Hi,
I have a page which lists lots of items. I need links on the page
that will alter the number of items per page and to do page
navigation. I want the code for the page navigation in my non-catalyst
class. I'm using C::Model::Factory at the moment, but I might need to
use PerRequest. The uri_wi
2010/1/6 Kiffin Gish :
> I've got a datetime column defined:
>
> __PACKAGE__->add_columns(
> ...
> "last_modified",
> {
> data_type => "DATETIME",
> default_value => undef,
> is_nullable => 1,
> size => undef,
> },
> );
>
> For some reason it's being displayed like this:
>
> "2010-0
2009/12/8 J. Shirley :
> On Mon, Dec 7, 2009 at 4:21 PM, Greg Matheson wrote:
>> > > Both DBIx::Class::Schema and Catalyst::Log are regular perl classes
>> > > and you can use them anywhere in a perl program just like you'd use
>> > > any
>> > > other class.
>> > Or, more verbosely:
>>
>> > pack
Hi,
I haven't finished reading the book yet so I hope this question won't
be answered there.
If I have a Class outside my Cat App, I can have access to that via
C::Model::Adapator. Is there a method for giving that external Class
access to Catalyst features, particularly the DBix schema and perha
2009/6/10 Francesc Romà i Frigolé :
HTML:FormFu?
>
> FormBuilder is popular because is an older and stable project. It doesn't
> seem very active anymore though.
It's my understanding that the developer of FormBuilder does not work
with Perl any more. FormBuilder is no longer maintained and the
ma
2009/3/9 Andrew Rodland :
> On Monday 09 March 2009 12:54:34 pm Dermot wrote:
>> 2009/2/19 Kieren Diment :
>> > On 19/02/2009, at 11:58 PM, Dermot wrote:
>> >> Wow! that works but I am not sure where ACCEPT_CONTEXT comes into it.
>> >
>> > That
2009/2/19 Kieren Diment :
>
> On 19/02/2009, at 11:58 PM, Dermot wrote:
>>>
>>> Check the 2008 advent calendar for ACCEPT_CONTEXT usage:
>>> http://dev.catalystframework.org/wiki/adventcalendararticles
>>
>>
>> Wow! that works but I am not sure w
Hi,
I'm getting this error with LFB 0.41
[error] Caught exception in SomeApp::View::LFB::JSON->process
"encountered object 'SomeApp::Model::DB::UsageTerms=HASH(0xdff80f0)',
but neither allow_blessed nor convert_blessed settings are enabled at
/usr/lib/perl5/site_perl/5.8.6/JSON/Any.pm line 423."
Hi,
I am getting warnings from CX::L::Builder 0.41 on Catalyst 5.71.
Calling $c->model() will return a random model unless you specify one of:
* $c->config->{default_model} # the name of the default model to use
* $c->stash->{current_model} # the name of the model to use for this request
NB: in v
2009/3/4 Peter Karman :
> Dermot wrote on 3/3/09 4:36 PM:
>> 2009/3/3 Oliver Gorwits :
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>>
>>>
>>> Zbigniew Lukasiak wrote:
>>>> ListFramework is focused on the task of providi
>>
>> In general the authoritative page on Catalyst CRUDs is:
>> http://dev.catalystframework.org/wiki/crud
>
> Agreed - it depends what you want from the application, whether you
> need it to be customized, etc. Zbigniew has described the situation
> very well, here.
>
2009/3/3 Tomas Doran :
>
> On 3 Mar 2009, at 09:40, Dermot wrote:
>
>> Hi,
>> Do I need to 'use MyApp'?
>
> Yes.
>
>> I am not sure why it's not searching back up
>> the tree to find these method from Catalyst.
>
> Loading a l
Hi,
Running prove over my t directoty is giving me errors:
Error: Can't locate object method "config" via package "MyApp" at
lib/MyApp/Model/DB.pm line 7.
package MyApp::Model::DB;
use strict;
use warnings;
use base 'Catalyst::Model::DBIC::Schema';
__PACKAGE__->config(
schema_class => 'MyAp
Hi,
I saw a demo of CatX::ListFramework-builder yesterday and I was very impressed.
I'd like to be able to give admin users of a wee app access to
something similar. The idea is just to give them and me a means of
looking at the schema.
There are a lot of CatX modules at cpan. Is ListFramwork-bu
2009/2/20 Aristotle Pagaltzis :
> * Dermot [2009-02-20 12:15]:
>> TT is perl. It's not a different language.
>
> You're joking, right?
narff. Perhaps written in Perl.
>> It provides familiar methods* like keys, splice, exists and
>> substr.
>
> By th
2009/2/19 Byron Young :
> Jonathan Rockway wrote on 2009-02-19:
>> * On Wed, Feb 18 2009, Dermot wrote:
>>> Yes there is, at first glance, a lot of choice but is there. I would
>>> say TT and Mason are the only realistic choices (for HTML).
>>
>> If by "
2009/2/19 Jonathan Rockway :
> * On Wed, Feb 18 2009, Dermot wrote:
>> Yes there is, at first glance, a lot of choice but is there. I would
>> say TT and Mason are the only realistic choices (for HTML).
>
> LOL. Just so you know, O'Reilly recently fired pretty mu
2009/2/19 Kieren Diment :
>
> On 19/02/2009, at 9:52 PM, Dermot wrote:
>
>> 2009/2/19 Kieren Diment :
yapp/MyStandaloneModel.pm) that you can use the bulk of the code in the
>>>
>
> arg MyApp/lib/MyStandaloneModel.pm
>>> controller and the script.
2009/2/19 Kieren Diment :
>
> On 19/02/2009, at 9:31 PM, Dermot wrote:
>
>> Hi,
>>
>> I have an import script, MyApp/script/import.pl. I have found myself
>> replicating about 40% of it's code into a Controller. Is there some
>> way I can unify things
Hi,
I have an import script, MyApp/script/import.pl. I have found myself
replicating about 40% of it's code into a Controller. Is there some
way I can unify things and access subroutines from my controller in my
import.pl or the vice versa?
Thanx,
Dp.
_
2009/2/19 Thomas Klausner :
> Hi!
> 'use' is executed at compile time, not runtime, so as soon as Perl sees
> a 'use Foo' statement during parsing the code, it loads the module.
Then I'll keep it at the top, thanx.
Dp.
___
List: Catalyst@lists.scsys.co
2009/2/19
* Template::Toolkit
* Text::Template
* Text::FastTemplate
* Text::Templar
* HTML::Template
* HTML::KTemplate
* HTML::Mason
* HTML::Seamstress
* dTemplate
* Jemplate
Yes there is, at first glance, a lot of choice but is there. I would
say TT and Ma
2009/2/18 :
>> lib/myApp/myAppDB/
>
> I beg to differ. The files are created within
> myApp/lib/myApp/Schema and myApp/lib/myApp/Schema.pm
What not Schema/myAppDB?
All of these question really belong on the DBIc mailing list which is here:
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix
Hi,
This might be a daft question but I'll chance it.
One of my controller is starting to use a lot of other modules like
File::Find...etc but they are usually confined to one subroutine or
method. It's most common to see all the use statements at the top of
the package but I have seen instances
2009/2/18 :
> Hello Dermot,
>
> sorry, you're right.
> Yes, I could not find myAppDB::Listing myself.
>
> I ran the following command for generating the static schema manually.
>
> " myApp_create.pl model myAppDB DBIC::Schema myApp::Schema create=static
2009/2/17 :
> hi Dermot and all,
>
> I tried running myApp_server.pl from the root dir (ie. perl
> scripts/myApp_server.pl or script/myApp_server.pl) and the same error
> message still comes up.
>
> Also, I did an upgrade of perl from 5.8.8 to 5.8.9 and when I first
2009/2/17 :
>
> On Tue, 17 Feb 2009 23:07:02 +1100, kakim...@tpg.com.au wrote:
>> Hi, guys,
>>
>>Just about to shut the machine down when i realised I could give a
>> little more info.
>>
>> This is the command I ran to generate the static ORM files.
>>
>> " myApp_create.pl model myAppDB DBIC:
2009/2/16 Jay Kuri :
> Hello,
>
> So all this 'too many choices' talk has got me thinking. I'd like to
> put together some more web-available information for those
> transitioning to catalyst from other methods.
>
> To that end I'm soliciting your thoughts on things that you found
> particularly h
2009/2/15 Dan Dascalescu :
>
> I think I can agree with that. What I'm saying is that there's simply
> too much useless choice. Random example:
>
> Data::Dumper
> vs.
> Data::Dump.
>
I imagine there is some kudos in getting a module on CPAN hence there
is a lot of overlap. Rather that developers
2009/2/6 Chisel Wright :
> On Fri, Feb 06, 2009 at 12:30:03PM -0500, Jesse Sheidlower wrote:
>> Hmm. As someone who just incorporated an external search
>> engine into two different Cat apps, I would have loved to have
>> had such a chapter available
>
> Quick! Write down what you did! :)
Inde
2009/2/6 Андрей П. Ковбович :
> It would be nice if the book tells us how to work with heavy loaded
> projects.
I recall a thread about "what would you like in the new book". If it
was still possible I'd like info on implementing a search engine into
Catalyst to be included. :)
__
2009/1/29 Jason Kohles :
> On Jan 29, 2009, at 7:18 AM, Dermot wrote:
>
> __PACKAGE__->config(
>schema_class => 'MyApp::Schema',
>connect_info => MyApp->config->{ 'MyApp::DB' }->{ 'connect_info' },
> );
Thanx Jason.
D
Rats, Sorry I have read a thread on this in the past but I can't find it.
I want to set the dsn vaules in my app conf (config general) alone.
The values are
connect_info dbi:SQLite:/var/db/myapp/myapp.db
connect_info dummy username
How can I get these to values in my Schema co
2009/1/21 Robert L Cochran :
> This is really tempting. I don't know if I can afford this one.
Diito, If I'd heard before the 21-Jan I would have heard about it in
time to qualify for the
"Early Bird rates (until Jan 21st)"
Non-members: £295 + VAT (£339.25)
UKUUG members' discounted rate: £195 +
2008/11/26 J. Shirley <[EMAIL PROTECTED]>:
> On Wed, Nov 26, 2008 at 12:23 PM, Jason Gottshall <[EMAIL PROTECTED]> wrote:
>> J. Shirley wrote:
>>>
>>> You can give information on the conference at http://perloasis.org/opw/
>>
>> Correct conference URL is http://perloasis.org/opw2009/
Is there mor
2008/11/15 Matt S Trout <[EMAIL PROTECTED]>:
> On Tue, Nov 04, 2008 at 10:14:11PM +0000, Dermot wrote:
>> Is there going to be an advent calendar for this year?
What entry are you going to write?
Top of my list was
1) How to ask irrelevant questions and annoy
2008/11/7 Dr. Jennifer Nussbaum <[EMAIL PROTECTED]>:
> Anyone willing to help me on this? :-) Im only missing four bytes,
> somewhere Or adding them rather.
>
> Jen.
I can't test this from where I am writing but as Adeola says.
Open a temporary FH, binmode it, pour the content in. Then under
I hope the list doesn't mind if post a job opening!
The position is on-site. UK/London based. Details are at
http://jobs.perl.org/job/9802
Thanx,
Dp.
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/cat
Is there going to be an advent calendar for this year?
Dp.
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: htt
2008/11/3 Zbigniew Lukasiak <[EMAIL PROTECTED]>:
>>return 1;
>
> replace this with $c->response->body( 1 ). If the response body is
> set then RenderView does not call the view to generate it.
Brilliant. Thanx.
Dp.
___
List: Catalyst@lists.scs
Hi,
I have a small subroutine/method that checks if a file exists. The
method is being called by an Ajax function. Unlike the other functions
in it's Class, this method doesn't need to render a tt template, it
should simply return 1 or 0. .Catalyst is complaining that is can't
render the template
2008/11/1 Marcus Ramberg <[EMAIL PROTECTED]>:
>I'm happy to mention that we're finally rid of Plucene.
...
>
> 0.999021 2008-11-01 01:47:00
>- Move search to KinoSearch
I was considering Lucene as the basis of an text search engine.
Lucence fans claim it's the industry standard.
http://s
2008/10/22 Kirby Krueger <[EMAIL PROTECTED]>:
> If you go to catalystframework.org, it says on the main page:
>
>And in case you want PNG or PDF output, you'll need just a few
> lines...
>
> Can someone give me those few lines? :-)
>
Those few lines refer to choicing you view.
PDF::Create
2008/10/2 Christian Lackas <[EMAIL PROTECTED]>:
> * Dermot <[EMAIL PROTECTED]> [081002 16:05]:
>
> Hi Dermot,
>
>> FastCGI: comm with server "/var/www/MyApp/script/myapp_fastcgi.pl"
>> aborted: idle timeout (30 sec)
>> FastCGI: incomplete heade
Hi,
I am stretching the boundaries of the topic here I know but I thought
someone might know this off the top of their head. I am getting
timeout's. I am 99% sure this is because the Cat App is copying a
500MB file on it filesystem.
FastCGI: comm with server "/var/www/MyApp/script/myapp_fastcgi.
2008/9/30 Carlos Arenas <[EMAIL PROTECTED]>:
> i am very much interested.
>
> do you have pricing info available? and what is the profile for
> attendees of both types of sessions?
>
> ca.
>
> On Tue, Sep 30, 2008 at 10:39, Matt S Trout <[EMAIL PROTECTED]> wrote:
>> Shadowcat are looking to start
2008/9/25 abhishek jain <[EMAIL PROTECTED]>:
>
>
> Someone pl. reply,
> Thank,
> abhi
I can't answer your question but I would point out that FormBuilder is
no longer being developed. HTML::FormFu and friends are the *preferred
modules these days. It's active and the mailing list works.
Dp.
2008/9/24 J. Shirley <[EMAIL PROTECTED]>:
> If you use Catalyst::Controller::REST
Wow. It's quite a nifty module. I really like it.
Thanx,
Dp.
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Sea
2008/9/24 Dermot <[EMAIL PROTECTED]>:
> 2008/9/24 J. Shirley <[EMAIL PROTECTED]>:
>> On Tue, Sep 23, 2008 at 4:30 PM, Dermot <[EMAIL PROTECTED]> wrote:
>
>>
>> Plugin::XMLRPC is -not- a controller, as such, you probably do want to use
>> it.
>
&
2008/9/24 J. Shirley <[EMAIL PROTECTED]>:
> On Tue, Sep 23, 2008 at 4:30 PM, Dermot <[EMAIL PROTECTED]> wrote:
>
> Plugin::XMLRPC is -not- a controller, as such, you probably do want to use it.
Do you mean do or 'do not' want to use it.
>
> If you u
2008/9/23 Mesdaq, Ali <[EMAIL PROTECTED]>:
>I think ajax would be your friend here.
I think I'll try something like that. As the files and Cat App are on
one server and the referrer is a different server, I will have the
referrer call a local script and fire a request from there.
The question th
Hi,
I have a controller who's job is to copy some files (4-6). These files
can be quite big and the time it takes has been causing what looks
like timeouts on the server.
[Tue Sep 23 09:48:55 2008] [error] [client x.x.x.x] FastCGI: comm with
server "/var/www/MyApp/script/motion_fastcgi.pl" aborte
2008/8/28 Marcus Ramberg <[EMAIL PROTECTED]>:
>
> On 13. aug.. 2008, at 13.40, Dermot wrote:
>>
>> Thanx Carl and Sorry Matthias, I didn't follow you exactly because
>>
>> su apache
>> This account is currently not available
>>
>> and
&
2008/8/20 <[EMAIL PROTECTED]>:
> Hi, there,
> Thank you Dermot for your response.
>
> ...
>
>Accessories
>
>
>
>
>value="battery">additional battery
>
>
>
2008/8/19 Jonathan Rockway <[EMAIL PROTECTED]>:
> * On Tue, Aug 19 2008, Dermot wrote:
>$c->res->headers->content_type( $type );
>$c->res->headers->content_length( $stat->size );
>$c->res->headers->last_modified( $stat->mtime );
&
2008/8/19 Bogdan Lucaciu <[EMAIL PROTECTED]>:
> On Tuesday 19 August 2008 16:41:40 Carl Franks wrote:
>> You'll still need the body($fh) bit to send the data, too.
> Or, if you use Catalyst::Plugin::Static::Simple, you can use:
>
> $c->serve_static_file($file_path);
>
> some code snippets from that
2008/8/19 Carl Franks <[EMAIL PROTECTED]>:
> 2008/8/19 Dermot <[EMAIL PROTECTED]>:
>> sub downloadFile {
>>
>> my ($name, $filepath) = @_;
>>
>> my $length = (stat($filepath))[7];
>> my $res = $c->response;
>> $res->content
Hi,
I am looking for a method to send a file in response to a request. My
effort is below and all this does is print the file's path on the
page. I can't set the content-disposition or see find an obvious
method in C::Response or C::Request.
Am I looking in the wrong place? Can someone point me i
2008/8/18 <[EMAIL PROTECTED]>:
>
> hello there
> I love using HTML::FormFu in these two aspects:
> 1) Validation - oh ,yeah :)
> 2) configuration (via yaml in my case)
>
>
> nevertheless, is there any way we can control the rendering (in TT2)?
> From what has been done in the catalyst tute for
2008/8/17 Daniel Hulme <[EMAIL PROTECTED]>:
> On Sun, Aug 17, 2008 at 08:26:25PM +0100, Dermot wrote:
> Googling {debian site:hp.com} says there are about 23,100 results.
Really! I dont' think so. Go to the support/drivers and stick in
Debian. I don't get one hit. I think t
> But right now, the only thing RHEL/CentOS perl builds are good for is making
> consultants like us billable hours fixing all the stupid problems and/or
> moving the client's platform to something else.
Hardware manufacturer's only release drivers for distro like RHEL? I
bet there isn't a mentio
2008/8/13 Iain Hubbard <[EMAIL PROTECTED]>:
> On Wed, 2008-08-13 at 11:35 +0100, Dermot wrote:
>> I am not sure but I would have expected a permission denied message if
>> the permissions were incorrect. This reads more like file not found.
>
> A quick google turned
2008/8/13 Carl Franks <[EMAIL PROTECTED]>:
> 2008/8/13 Dermot <[EMAIL PROTECTED]>:
>> 2008/8/13 Matthias Zeichmann <[EMAIL PROTECTED]>:
>>> On Wed, Aug 13, 2008 at 12:35, Dermot <[EMAIL PROTECTED]> wrote:
>>>> -rwxrwxrwx 1 someuser ro
2008/8/13 Matthias Zeichmann <[EMAIL PROTECTED]>:
> On Wed, Aug 13, 2008 at 12:35, Dermot <[EMAIL PROTECTED]> wrote:
>> -rwxrwxrwx 1 someuser root 793600 Aug 12 13:30 mydata.db
>
> better change permissions to something like 664 and chgrp www-data (or
> whatever yo
>> DBIx::Class::Row::update_or_insert(): DBI Exception: DBD::SQLite::st
>> execute failed: unable to open database file(14) at dbdimp.c line 403
>> [for Statement "UPDATE clipData SET audio = ? WHERE ( id = ? )"] at
>> /usr/lib/perl5/site_perl/5.8.8/HTML/FormFu/Model/DBIC.pm line 324,
>>
>> Server
Hi,
I have an odd problem with my tiny app. Under server script
(MyApp/script/myapp_server -d) it runs without error. However under
fascgi I am encountering a problem with one of my controllers that
uses a FormFU. There an abridged version of the controller is pasted
below.
sub edit : Local :Fo
2008/8/12 <[EMAIL PROTECTED]>:
>
> hi guys (especially Jon),
>
> What's the user id and password for the AddressBook source codes from
> chapter 7 of the Catalyst Book (by Jon Rockway) ?
Persumably it's whatever you set it to. Or have a look at Chapter 4,
bottom of page 75.
Dp.
_
2008/8/2 Matt S Trout <[EMAIL PROTECTED]>:
> On Fri, Aug 01, 2008 at 05:16:59PM +0100, Dermot wrote:
>> Now I am getting the following error:
>>
>> Weak references are not implemented in the version of perl at
>> /usr/lib/perl5/site_perl/5.8.8/Catalyst.pm line 24
&
2008/8/2 Aristotle Pagaltzis <[EMAIL PROTECTED]>:
> * Dermot <[EMAIL PROTECTED]> [2008-08-02 01:40]:
>> Does your advise conflict with Tomas's?
>
> I didn't seem Tomas giving you any specific advice, so I don't
> understand how to answer your question.
2008/8/1 Aristotle Pagaltzis <[EMAIL PROTECTED]>:
> * Dermot <[EMAIL PROTECTED]> [2008-08-01 18:25]:
>> Scalar::Util is up-to-date
>
> Yes, but only half installed. You need the XS component but you
> only have the pure-Perl version. Force-install it again.
>
>
Getting sick of the sight of the DBIx::Class::StartupCheck error with
my version of perl, I updated my version to:
Name : perl
Arch : i386
Epoch : 4
Version: 5.8.8
Release: 10.el5_2.3
Now I am getting the following error:
Weak references are not implemented in the version of perl at
/usr/li
2008/8/1 Peter Karman <[EMAIL PROTECTED]>:
>
>
> On 08/01/2008 07:55 AM, Angel Kolev wrote:
>
>> Doesn`t work too. All debug output goes to apache log. I tryed with -e
>> option - same result.
Isn't debug configurable?
__PACKAGE__->setup(qw/
-Debug
2008/7/16 Octavian Rasnita <[EMAIL PROTECTED]>:
> From: "Dermot" <[EMAIL PROTECTED]>
>> # Arg where is pager?
>
> Try using:
>
> sub list : Local {
> my ($self, $c) = @_;
>
> my $items = $c->model('MyDB::Items')->search({},{
>
Hi,
I'm having issues with paging and could handle some help. I tried
using the examples in the book but it does quite fit what I'm doing. I
have a list method like this:
sub list : Local {
my ($self, $c) = @_;
$c->stash->{items} = [$c->model('MyDB::Items')->all];
$c->stash->{template}
d of the non submitted records.
>
> All validated records should be inserted into db directly if you can but
> if you can't have direct access do a post of serialized json data or
> name value pairs for each record.
>
> -Original Message-
> From: Dermot [mailto:[EMAIL PROT
2008/7/9 Mesdaq, Ali <[EMAIL PROTECTED]>:
> Just to better understand what your trying to do. Are you saying you
> want to display records and only the records that are selected you want
> to be passed to the other db?
Yes in part that correct. However up to that point there wouldn't have
been an
Hi All,
I trying to build a small App with a few hundred records. They want
the ability to add multiple records from myApp into another DB using
CGI key/value pairs. I am looking for suggestions on the best way to
do it. I am using FormFu. I am considering using a onload action to go
with the Cont
2008/7/7 Ash Berlin <[EMAIL PROTECTED]>:
>
> On 7 Jul 2008, at 10:24, Dermot wrote:
>
> 2008/7/7 Ash Berlin <[EMAIL PROTECTED]>:
>
> On 7 Jul 2008, at 09:40, Dermot wrote:
> Yes. You most likely want Catalyst::Plugin::Session::State::Cookie so that
> the se
2008/7/7 Ash Berlin <[EMAIL PROTECTED]>:
> On 7 Jul 2008, at 09:40, Dermot wrote:
>
> What session store and state modules are you using? I know this happens to
> me when I forget to load up memcached (which is the store module i'm using)
>
> -ash
>
These are
Hi,
I have been following the tutorial and am stuck in a loop. In my Root
controller I have the following
sub auto : Private {
my ($self,$c) = @_;
if ($c->controller eq $c->controller('Login')) {
return 1;
}
if (!$c->user_exists) {
$c->log->debug('***Root::auto User no
1 - 100 of 112 matches
Mail list logo