Recommend using version control. Then you know what you have changed.
--
Regards,
Martin
([EMAIL PROTECTED])
IT: http://methodsupport.com Personal: http://thereisnoend.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo:
It may be theoretically possible, but probably would prove impossibly
frustrating. You can be reasonably certain that your host will not have all
the Perl modules that you need and you will need to do a local install.
2008/10/3 Lee Aylward [EMAIL PROTECTED]
On Thu, Oct 02, 2008 at 06:10:01PM
Version mismatch in your libraries?
2008/9/1 Conrad Canterford [EMAIL PROTECTED]
Hi list,
My app works just fine on my development machine, but when I copy it
onto my live server (on a different machine), it fails with the
following whenever I try to access anything past the first page (in
Will do, slight circular tuit shortage. Also tropical cyclone.
2008/8/22 Matt S Trout [EMAIL PROTECTED]
On Sat, Aug 16, 2008 at 09:28:57PM +0800, Martin Ellison wrote:
I am resubmitting this patch *again*, could someone please look at it.
If you can please send the patch -with- the config
2008/8/18 Matt S Trout [EMAIL PROTECTED]
...config should be under 'Plugin::PageCache' as I said - that's the
standard for plugin config info.
If PageCache is still using old style it'd be nice if you could do a first
patch switching it across.
I'm concerned about doing two things in the
I am resubmitting this patch *again*, could someone please look at it.
--
Regards,
Martin
([EMAIL PROTECTED])
IT: http://methodsupport.com Personal: http://thereisnoend.org
14keymaker.t
Description: Troff document
Index: PageCache.pm
ok, have done, is http://rt.cpan.org/Public/Bug/Display.html?id=38524
2008/8/16 J. Shirley [EMAIL PROTECTED]
On Sat, Aug 16, 2008 at 6:28 AM, Martin Ellison [EMAIL PROTECTED] wrote:
I am resubmitting this patch again, could someone please look at it.
You may have better results filing
I put up the patch several days ago; has anyone looked at it?
2008/8/9 Martin Ellison [EMAIL PROTECTED]
OK, here is some corrected code with some POD:
Index: PageCache.pm
===
--- PageCache.pm(revision 756)
+++ PageCache.pm
? $keymaker($c) : / . $c-req-path;
What else do you need? POD? Tests?
2008/8/9 Martin Ellison [EMAIL PROTECTED]
I'm concerned about impacting the performance; this must be high-traffic
code. But I'll look into it.
2008/8/8 Matt S Trout [EMAIL PROTECTED]
On Fri, Aug 08, 2008 at 05:08:02PM
/cache/count'), 'request ok' );
is( $res-content, 2, 'count is still 2 from cache' );
2008/8/9 Martin Ellison [EMAIL PROTECTED]
What about:... [bad code]...
What else do you need? POD? Tests?
2008/8/9 Martin Ellison [EMAIL PROTECTED]
I'm concerned about impacting the performance; this must
I get the impression that PageCache cannot discriminate on URL; is that
correct?
I am trying to 'whitelabel' a site, that is to run several hostnames into
the one Catalyst site and then serve somewhat different content based on the
URL, giving the appearance of multiple websites. However, it
I have tried subclassing PageCache, but it is not doing Catalyst magic: when
asked to do
* $c-cache_page( ..)
it says *
Can't locate object method cache_page via package
2008/8/8 Martin Ellison [EMAIL PROTECTED]
I get the impression that PageCache cannot discriminate on URL
I'm concerned about impacting the performance; this must be high-traffic
code. But I'll look into it.
2008/8/8 Matt S Trout [EMAIL PROTECTED]
On Fri, Aug 08, 2008 at 05:08:02PM +0800, Martin Ellison wrote:
But PageCache only works off $c-request-path() ie not the hostname.
This
behaviour
Jim, thanks for that. I have the same problem but have not had the time to
create a test case.
2008/7/23 Jim Spath [EMAIL PROTECTED]
Jim Spath wrote:
So I know the whole UTF-16 surrogate warning issue has been brought up a
few times on this list, but I don't think anyone has posted a
Sorry, bit of a newbie question: is there any way that I can run an action
but capture the results (server-side) to a file? Doing so client side is
easy (eg wget) but I want to keep the page text on the server and to
automate the page generation/save.
--
Regards,
Martin
([EMAIL PROTECTED])
IT:
the app to do something (so the server can
restart the fastcgi process before the user requests any other page).
2008/6/23 Jonathan Rockway [EMAIL PROTECTED]:
* On Mon, Jun 23 2008, Martin Ellison wrote:
Sorry, bit of a newbie question: is there any way that I can run an
action but
capture
ok, that works thanks (as does the server side wget).
2008/6/23 Kieren Diment [EMAIL PROTECTED]:
On 23 Jun 2008, at 21:45, Martin Ellison wrote:
Sorry, bit of a newbie question: is there any way that I can run an action
but capture the results (server-side) to a file? Doing so client side
On my browser (FF3, screen resolution 1440x900):
(1) http://www.browsing.co.uk/cat
The YouTube box overlaps part of the second column.
(2)
http://agaton.scsys.co.uk/~matthewt/catsite/cat_mock_web_001.pnghttp://agaton.scsys.co.uk/%7Ematthewt/catsite/cat_mock_web_001.png
Takes a long
setting?
-ash
On 23 May 2008, at 16:00, Martin Ellison wrote:
Another case... the surrogate is d862 = 55394 but the image size is 45296,
so it is not looking consistent. So perhaps the 'surrogate' data is just
random bytes from the JPEG.
2008/5/23 Martin Ellison [EMAIL PROTECTED]:
I've
I've found a case
...stderr: UTF-16 surrogate 0xdb71 at /usr/lib/perl/5.8/IO/Handle.pm line
199...
FastCGI: ... [info] picture size is 55966
55966 = da9e
56177 = db71
So almost the same. Perhaps I have 100 bytes of headers.
2008/5/20 Martin Ellison [EMAIL PROTECTED]:
The Content-Type is set
Another case... the surrogate is d862 = 55394 but the image size is 45296,
so it is not looking consistent. So perhaps the 'surrogate' data is just
random bytes from the JPEG.
2008/5/23 Martin Ellison [EMAIL PROTECTED]:
I've found a case
...stderr: UTF-16 surrogate 0xdb71 at /usr/lib/perl/5.8
to investigate further.
Hope all this helps - I look forward to someone else solving it for me ;)
Merlyn Kline
-Original Message-
*From:* Martin Ellison [mailto:]
*Sent:* 12 May 2008 10:05
*To:* The elegant MVC web framework
*Subject:* Re: [Catalyst] UTF-16 surrogate message when writing
The Content-Type is set to 'UTF-8' for most of my pages, but, in this case,
it is image/jpeg and the content disposition is set to inline.
2008/5/19 Ash Berlin [EMAIL PROTECTED]:
On 19 May 2008, at 12:34, Martin Ellison wrote:
I've finally had the opportunity to test my code a bit more
If I write binary data (a JPEG) using $c-res-body then I get all these
errors
stderr: UTF-16 surrogate 0xdf98 at /usr/lib/perl/5.8/IO/Handle.pm line 199.
My code looks like
$c-res-content_type(q{image/jpeg});
$c-res-header( 'Content-Disposition', q{inline} );
my $p = new Image::Magick;
... lots of code
my $pic_image = $p-ImageToBlob();
I'm not sure if that makes it a character string but surely not?
I am using the Unicode plugin; does it cause any problems?
2008/5/9 Aristotle Pagaltzis [EMAIL PROTECTED]:
* Martin Ellison [EMAIL PROTECTED
The error is presumably because your fast cgi system has a timeout. Do you
have some code that sometimes takes a long time to run? If it only happens
about 1% of the time it may be normally just quicker than the limit, but
occasionally going over.
2008/5/7 John Goulah [EMAIL PROTECTED]:
On
The Wikipedia article on Catalyst (
http://en.wikipedia.org/wiki/Catalyst_%28software%29) could do with some
improvement and updating.
--
Regards,
Martin
([EMAIL PROTECTED])
IT: http://methodsupport.com Personal: http://thereisnoend.org
___
List:
I've got the same problem for the same reason (trying to return a JPEG).
Presumably something thinks that it is getting text (Unicode) and picks up
some special characters. Is there some equivalent of binmode for body?
--
Regards,
Martin
([EMAIL PROTECTED])
IT: http://methodsupport.com Personal:
work. But I'm concerned that something is treating my output as
UTF8 or otherwise stringy when it shouldn't be.
Any ideas?
Thanks in advance,
Brian Kirkbride
2008/5/7 Martin Ellison [EMAIL PROTECTED]:
I've got the same problem for the same reason (trying to return a JPEG).
Presumably
我看没懂。。。
On 06/04/2008, Oleg Pronin [EMAIL PROTECTED] wrote:
5 ballov :
2008/4/6, Marcus Ramberg [EMAIL PROTECTED]:
ty chego raspizdelsia po-russki, suka? :D
Marcus
On 2. april. 2008, at 19.17, Oleg Pronin wrote:
ti che raspizdilsya po-nemetski, suka ?
2008/4/2, Ulf
Is there anything attached to Catalyst similar to the CGI.pm module? That
is, creating the HTML by a series of procedure calls rather than by
instantiating a template?
Or is there some way to link up the existing CGI module?
$c-response-body(ul(li(q{hello}),
li(q{world} ?
Or is it not a good
Try going through the mailing list archives and extracting useful
information. I got some useful advice on several sticking points, and I am
sure others did too. Take that out and organise it.
On 23/01/2008, Matt S Trout [EMAIL PROTECTED] wrote:
On Tue, Jan 22, 2008 at 09:13:51AM -0600, Nathan
On 23/01/2008, Carl Johnstone [EMAIL PROTECTED] wrote:
I can't think of any reason why you should be serving the same site on
different domains.
Note (before somebody pulls me up again) that different white-labelled
sites
based on the same app is a different situation.
You may want to
Interesting term, 'white labelling'; where do you get it from.
A client wants something similar so I am interested in the issue. The sites
will have some differences such as CSS but access the same application.
On 24/01/2008, Carl Johnstone [EMAIL PROTECTED] wrote:
You may want to deliver
location cannot be used with a .htaccess file. Neither can Alias.
On 13/01/2008, Len Jaffe [EMAIL PROTECTED] wrote:
On Jan 11, 2008 10:18 PM, Martin Ellison [EMAIL PROTECTED] wrote:
I have a similar problem, but I am on shared hosting and I do not have
access to httpd.conf, only
I have a similar problem, but I am on shared hosting and I do not have
access to httpd.conf, only to the local .htaccess files. I have the static
plugin set up so we are delivering HTML, image files and other static pages
via Catalyst, but similarly to Alejandro I would like to serve up the pages
I've now sorted this out with DreamHost and we now have an account.
On 04/01/2008, Martin Ellison [EMAIL PROTECTED] wrote:
The refusal email was (on face) from a human, and did not state any
reason. I've replied asking for an explanation.
On 04/01/2008, Jon Schutz [EMAIL PROTECTED] wrote
Does anyone know how to get CPAN to install a module without doing the test
steps at all? Force install still does the test steps; I just want to go to
the actual make install.
Slightly off topic, but if anyone knows how to install modules, it must be
Catalyst developers... (the module in
to benefit Cat development. Check
the archives or (better still, they've changed how referrals work in the
last year) wait for someone else to post it again.
-Ashley
On Dec 15, 2007, at 8:07 PM, Martin Ellison wrote:
Can anyone recommend a web hosting provider for Catalyst applications
).
So, what I would like to ask in this post is for a Plan B in case DreamHost
fall through: can anyone recommend another good hosting company that
supports Catalyst at around the USD 10 / month level, more or less?
On 04/01/2008, Martin Ellison [EMAIL PROTECTED] wrote:
The refusal email
Sorrry, this is another newbie question.
I am using HTML::Widget and DBIx::Class to do simple CRUD on some MySQL
tables. I have defined an auto-increment primary key on one of my tables,
and I want to use an HTML form to populate and create a new object. I then
want to retrieve the
I tried my $newid = $c-model( q{MyAppDB::MyTable}
)-result_source-storage-last_insert_id(); and it gave me zero, so I'm
not sure how to proceed.
On 10/12/2007, Martin Ellison [EMAIL PROTECTED] wrote:
Yes, I had a form field with the same name as the table key, because, when
I do an update
Yes, I had the DBIC trace going. Basically it did an INSERT (without the key
field, correctly), but not a (select of the) LAST_INSERT_ID(), at least, not
in the trace. So perhaps it had no way of knowing the new key.
On 10/12/2007, Carl Franks [EMAIL PROTECTED] wrote:
On 09/12/2007, Martin
My table class is basically:
use base qw/DBIx::Class/;
__PACKAGE__-load_components(qw/PK::Auto Core HTMLWidget/);
# Set the table name
__PACKAGE__-table('mytable');
# Set columns in table
__PACKAGE__-add_columns(
qw/mytable_id title date/
);
# Set the primary key for the table
else?)
So I am still not sure how to proceed.
On 04/12/2007, Jason Kohles [EMAIL PROTECTED] wrote:
On Dec 4, 2007, at 8:40 AM, Martin Ellison wrote:
I am getting this message
[error] Caught exception in myapp::Controller::User-loginuser Can't
locate object method login via package myapp
Jonathan:
my $username = $c-request-params-{username} || ;
my $password = $c-request-params-{password} || ;
These had non-empty values (verified from the trace).
On 05/12/2007, Jonathan Rockway [EMAIL PROTECTED] wrote:
On Wed, 2007-12-05 at 01:31 +0800, Martin Ellison wrote:
I
46 matches
Mail list logo