Hi,
I have a Cat app launched and running. Everything is fine until lately, it
becomes very slow in responding to queries. Sometimes takes minutes. I have the
latest verison of Cat, running on Linux, Apache 2. According to the docs,
apache is pretty fast, so I wonder if there is anyway to
Thank you all,
it works.
Matt Lawrence [EMAIL PROTECTED] wrote: Will Smith wrote:
Hi, I know this is not the room for DBIx, I tried to post in DBIx, but
did not go through, so, if you don't mind, please do not bounce me out.
my question is:
I have a multiple join, and trying to sort
Hi,
I'm trying to use the plugin to run a cron job by adding this to the myapp.pm :
__PACKAGE__-schedule(
at= '0 * * * *',
event = '/email/checkemail',
auto_run = 1,
);
This suppose to set the process checkemail run every hour, but it does nothing
at all.
Thank you all you for your help.
Best Regards,
Will
Adam Sjøgren [EMAIL PROTECTED] wrote: On Wed, 8 Aug 2007 06:14:54 -0700
(PDT), Will wrote:
Sorry if I post an old question, I just want to know if I could do
this to run multi app on the same server under mod_perl:
YES PLEASE. I have been waiting for this for a long time. Please make it happen
soon, or I will be fired (for not getting ajax working). Thank you Cat
Community.
John Napiorkowski [EMAIL PROTECTED] wrote:
--- John Wang wrote:
On 7/10/07, J. Shirley wrote:
On 7/10/07, John Napiorkowski
Hi,
This might be a pain in the neck to someone but please be patient if you read
the mail. I having prob with Html::Prototype with Catalyst. It works like a
champ with older version of Cat, but in the current version, the syntax might
be a bit changed and I just cannot get it.
I just tried
:3000/var/www/html/myfolder/myfile.wav or
http://www.mydomain.com/var/www/html/myfolder/myfile.wav
Obviously, this is the wrong path to the file. How can I drop the http://...
before the real path?
Thank you
Jeff Chimene [EMAIL PROTECTED] wrote: Will Smith wrote:
Hi,
I tried to add a link
ever really put a link like that on your
app.
I thought this is a simple matter, if a simple link could not do that, I think
I have to apply the method that Peter has shown.
Thanks again
Peter Karman [EMAIL PROTECTED] wrote:
Will Smith wrote on 5/24/07 10:43 AM:
the error is : File
Sorry for all the confusion. I run the browser on the same machine that cat app
running.
My file is at: /var/www/html/myfolder/myfile.wav
On any html page outside Cat, just simply add the full path to the href, then
user just click on the link to listen to the audio.
I have tried with
Hi,
Is there any way that we can call a function in a controller automatically?
Just like running a cron job on an exe file? Please give me some guide. or any
modules that could handle that.
Thanks
-
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here
hi,I
I would like to ask for help on making a connection to a remote database. My
app is working good with localhost, now I move it to another server and create
a connection, I thought just change the config of the myApp.pm. But I could not
make the connection.
this is my connection to
Thanks for your response. But it does not work. I tried that , or dbname=test
.. and get the same error:
Couldn't instantiate component access::Model::myappDB, Cannot load schema
class 'myappDB': DBIx::Class::Schema::load_classes(): Can't locate myappDB/User.
hope that you could
Hi,
I am using Text::Delimited to read in a text file, that's very straigth
forward. My problem is I want to display back onto the template what has been
read from the file:
my $row = $file-read; # for example the file has 2 col: id, name
I cannot do like this on the template:
[% FOREACH
you can use this to add value to a text field:
my $e = $w-element('Textfield', 'itemid'
)-label('ItemId')-value(...)-size(30);
Hans Ophüls [EMAIL PROTECTED] wrote:
But I have a problem with implementing an
update function.
It schould select a record from the database
and insert the
Hi,
first, thanks for all of your help.
A simple question I want to ask is how to do a search for NOT NULL value. I
do not want to use -search_like
Thank you
-
The fish are biting.
Get more visitors on your site using Yahoo! Search
Thanks Chris,
Yes, CDBI model, and does not work the way you say. It does not give a sytax
error but nothing returned.
$c-model('myappDB::Student')-search( studentname = {'!=', undef} )
..
{column = {'!=', undef} I'd assume...
-=Chris
Thanks Chris,
I got the answer from the link you post:
my $sql = 'is not null';
my @rows = Some::CDBI-search_where(
some_column = \$sql
);
Regards,
Christopher H. Laco [EMAIL PROTECTED] wrote:
Will Smith wrote:
Hi,
first, thanks for all of your help.
A simple
Hi,
I may ask the same old question, but just could get it. So please help me to
get it done. All I want is looping through the record set for example: if I
want to loop through a column, I can use this:
my @lname;
my $column =
[EMAIL PROTECTED] wrote: Will Smith writes:
my $recordset = [$c-model('myDB::Books')-search( authorid =
${authorid} )];
while(my $name = $recordset-next){
$lname[$i] = $name-lname;
$fname[$i] = $name-fname;
$i = $i + 1;
}
Wrong list, but here's a hint
thank you for your help. That's exactly what I want to do.
regards
Boris Æeraniæ [EMAIL PROTECTED] wrote: On 12/02/07, Will Smith wrote:
Hi,
I may ask the same old question, but just could get it. So please help me
to get it done. All I want is looping through the record set for example
Hi,
I want to conver a number to binary. I installed Math::BigInt, and get this
error when trying to plugin in the main controller:
Can't locate Catalyst/Plugin/Math/BigInt.pm ... in
/lib/usr/lib/perl5/5.8.5/i386-linux-thread-multi ..
eventhough the installion is good. And I checked if
(@records);
};
this gives me the compling error: Global symbol @records requires
explicit package name
Juan Miguel Paredes [EMAIL PROTECTED] wrote: On 12/29/06, Will Smith wrote:
Thank you,
Yes, I mean I'm using DBIC. I've tried your method. It did not give error,
but, also did
: Will Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 02, 2007 16:54
To: The elegant MVCweb framework
Subject: Re: [Catalyst] Create multiplerecords
happy new year to all of you.
thanks all for your support.Back to the question, (which I guess, will
irritate some catalyst
Thank you for pointing me to the right doc. Sometimes I could not find the
right doc to read.
Thanks again for all your help
Happy holidays
Sébastien Wagener [EMAIL PROTECTED] wrote: On Thu, 2006-12-14 at 18:51 -0800,
Andrew Peebles wrote:
Will Smith wrote:
I think you want:
$c-stash
Hi,
it used to worked with the option order_by with cdbi class, but in DBIC class,
I could not get it:
$c-stash-{book} = [$c-model('myappDB::Book')-all, {order_by = 'title}];
Could some one please show me how to do this.
Thank you.
-
Any questions? Get
Hi, sorry if I ask a question that has been answered.
How could I block out the whole set of actions instead of setting for each.
For example:
instead of doing authorization for each of action in books,pm controller such
as:
__PACKAGE__-deny_access_unless(
/books/delete,
Hi,
It's pretty neat to use html::widget to create/validate html form. Problem is
I need to create a lot of customized html forms that could not done easily
with html::widget. I want to simply do my own html form and use a normal action
to update the record.
I tried to use somehing like:
my
$book = $c-model('MyApp::Book')-find($book_pk_id);
$book-title($new_title);
$book-rating($new_rating);
$book-update;
Leandro
From: Will Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 06, 2006 21:53
To: catalyst
Subject: [Catalyst] html::widget
Hi, I am applying a basic authentication, following exactly the tutorial, but keep getting this error after editing tha application .pm - adding these lines: .. Authentication Authentication::Store::DBIC Authentication::Credential::Password Session Session::Store::FastMmap
Hi, I tried the Module, and this is some error that Ive got. I don't know if I missed something in the installation: script/my_myapp_server.pl Couldn't instantiate component "My::myapp::Model::DBICSchemamodel", "Cannot load schema class 'DBSchema': DBIx::Class::Schema::load_classes():
30 matches
Mail list logo