Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-21 Thread Matt S Trout
On Thu, Jun 21, 2007 at 09:01:03AM +1000, Charlie Garrison wrote: Good morning, On 20/6/07 at 7:49 AM +0100, Matt S Trout [EMAIL PROTECTED] wrote: Most probable cause: You've got a mistyped $c-model(...) or c.model(...) declaration somewhere which is falling through to Catalyst's

Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-21 Thread Matt S Trout
On Thu, Jun 21, 2007 at 10:30:17AM +1000, Charlie Garrison wrote: Good morning, On 20/6/07 at 4:32 PM +1000, Charlie Garrison [EMAIL PROTECTED] wrote: I've run into a problem that I can't make any progress with; hoping someone might be able offer suggestions. Development was moving

Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-21 Thread Charlie Garrison
Good morning, On 21/6/07 at 6:31 PM +0100, Matt S Trout [EMAIL PROTECTED] wrote: Is one of those a 'preferred' method for setting the default view? Well, one is global and one is per-request. So both are preferred for their specific purpose :) I figured as much and I appreciate the

[Catalyst] Adding DBIC schema causes TT error

2007-06-20 Thread Charlie Garrison
Good afternoon, I've run into a problem that I can't make any progress with; hoping someone might be able offer suggestions. Development was moving along nicely and then I suddenly got the following error in a response: Couldn't render template file error - welcome.tt2: not found The

Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-20 Thread Jon Schutz
On Wed, 2007-06-20 at 16:32 +1000, Charlie Garrison wrote: Good afternoon, I've run into a problem that I can't make any progress with; hoping someone might be able offer suggestions. Development was moving along nicely and then I suddenly got the following error in a response:

Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-20 Thread Matt S Trout
On Wed, Jun 20, 2007 at 04:32:27PM +1000, Charlie Garrison wrote: Good afternoon, I've run into a problem that I can't make any progress with; hoping someone might be able offer suggestions. Development was moving along nicely and then I suddenly got the following error in a response:

Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-20 Thread Charlie Garrison
Good afternoon, On 20/6/07 at 4:09 PM +0930, Jon Schutz [EMAIL PROTECTED] wrote: Looks like a side-effect of another error. If $c-stash-{template} is not set, it defaults to the action name. Presumably you have a sub called 'welcome' in your controller class and under normal processing you

Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-20 Thread Charlie Garrison
Good afternoon, On 20/6/07 at 7:49 AM +0100, Matt S Trout [EMAIL PROTECTED] wrote: Most probable cause: You've got a mistyped $c-model(...) or c.model(...) declaration somewhere which is falling through to Catalyst's regex search, and -was- originally finding the right class because of that

Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-20 Thread Charlie Garrison
Good afternoon, On 20/6/07 at 7:49 AM +0100, Matt S Trout [EMAIL PROTECTED] wrote: You've got a mistyped $c-model(...) or c.model(...) declaration somewhere which is falling through to Catalyst's regex search, and -was- originally finding the right class because of that but the addition of

Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-20 Thread Bill Moseley
On Wed, Jun 20, 2007 at 04:32:27PM +1000, Charlie Garrison wrote: Good afternoon, I've run into a problem that I can't make any progress with; hoping someone might be able offer suggestions. Development was moving along nicely and then I suddenly got the following error in a response:

Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-20 Thread Charlie Garrison
Good morning, On 20/6/07 at 6:31 AM -0700, Bill Moseley [EMAIL PROTECTED] wrote: What version of TT are you using? Does it get fixed if you restart the dev server? I *was* using 2.18. Yes, I have been restarting between tests. Not too old versions of TT had a problem that once an error

Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-20 Thread Bill Moseley
On Thu, Jun 21, 2007 at 07:20:20AM +1000, Charlie Garrison wrote: I saw recent messages in the archive regarding that (maybe from you). So I went looking for templates cached to disk. From what I can tell, templates will only be cached to disk if I set up my TT options accordingly, is that

Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-20 Thread Charlie Garrison
Good morning, On 20/6/07 at 2:55 PM -0700, Bill Moseley [EMAIL PROTECTED] wrote: Doesn't really sound like your problem, although it's a bit odd that adding a schema class would effect how TT finds templates. I would agree with that. :-| If you are getting a template not found error then

Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-20 Thread Charlie Garrison
Good morning, On 20/6/07 at 7:49 AM +0100, Matt S Trout [EMAIL PROTECTED] wrote: Most probable cause: You've got a mistyped $c-model(...) or c.model(...) declaration somewhere which is falling through to Catalyst's regex search, and -was- originally finding the right class because of that

Re: [Catalyst] Adding DBIC schema causes TT error

2007-06-20 Thread Charlie Garrison
Good morning, On 20/6/07 at 4:32 PM +1000, Charlie Garrison [EMAIL PROTECTED] wrote: I've run into a problem that I can't make any progress with; hoping someone might be able offer suggestions. Development was moving along nicely and then I suddenly got the following error in a response: