On Mar 6, 3:02 pm, TheIdeaMan <[EMAIL PROTECTED]> wrote:
> AD,
>
> Thanks for asking about what I've been stuck on. I was able to figure
> out the problems not long after your e-mail. The problems were mostly
> related to using $uses in the app_controller and removing underscores
> from model file names.
>
> I ended up using ThinkingPHP's method of adding models into the
> AppController using the __contsruct() method [1]. It worked well, and
> after changing the model file names our app was up and running nicely.
>
> Thanks for the offer to help, AD. I'm glad it was easier than I expected.
>
> Thanks again for your time,
> Benjamin
>
> [1]http://www.thinkingphp.org/2006/09/17/dessert-10-default-models-compo...
>
> On 2/21/07, AD7six <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Feb 21, 1:01 am, "Grant Cox" <[EMAIL PROTECTED]> wrote:
> > > You can check out every revision through Subversion, 
> > > viahttps://svn.cakephp.org/repo/trunk/cake/1.1.x.x/
>
> > > You should find minimal changes migrating to 1.1.13 (the latest 1.1.x
> > > code).  Look through the old release announcements from PhpNut - he
> > > will mention in those anything that changed that would break previous
> > > code (like lazy model loading).  But up to 1.1.13, there won't be
> > > many.
>
> > Hi TheIdeaMan,
>
> > What problems/syntax changes are you referring to with upgrading to a
> > newer 1.1 version? You will probably find ehat if you upgrade to the
> > latest 1.1 and check the release notes, you can resolve issues (or at
> > least identify why) rather quickly.
>
> > HTH,
>
> > AD

That's a lot of thanks ;).

Did you read the first line of that post ("Important: It appears that
this method is and has not been needed at all at least for a while"),
or the comments?

I am guessing that you were previously doing $aModel = new aModel();
and after the upgrade this stopped working. Did you find the bit in
the release note (which was much discussed in the group) regarding
lazy loading? It wasn't lip service when I suggested reading the
release notes ;).

What underscore changes are you refering to file names have always
been underscored_words.php where the class name is camelCasedModel
etc.

Cheers,

AD


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to