Thursday, June 25, 2009

Re: New Behavior not 'attaching' on live server...

Thanks jperras - that was it. Renamed to lowercase and it functions
properly.

SCM

... and thanks to everyone else as well. Helpful group!

On Jun 25, 6:16 am, jperras <joel.per...@gmail.com> wrote:
> Try naming it 'datetime.php' instead of 'Datetime.php'. Some operating
> systems are more case sensitive than others, and PHP itself has a few
> odd casing rules for method names & object instances.
>
> Also, lowercase filenames are the convention.
>
> -J.
>
> On Jun 24, 12:35 pm, SCM <willys.c...@gmail.com> wrote:
>
>
>
> > Thanks for the reply Brian...
>
> > ... yes, all files present, and all files and directories 755
> > permissions (assuming behaviors do not need group and public 'write'
> > permissions). All files, on all 3 servers, come from the same source.
> > The 'Datetime' Behavior resides in "server(s)/app/models/behaviors/
> > Datetime.php". There are slight variations in the PHP servers, but
> > they're all 5.2.x.
>
> > These were the first items I checked (and double-checked (and just
> > checked again ) ), as I'm going on the assumption that it's some type
> > of user error (me, in this case).
>
> > I've also moved the $actAs class variable from the app_model to one of
> > the other models, which produces the same results as above (works
> > locally, does NOT work on the production sites).
>
> > Pretty well stumped at this point...
>
> > SCM
>
> > On Jun 24, 8:52 am, brian <bally.z...@gmail.com> wrote:
>
> > > Someone has to ask: is the behavior file present on all servers? Check
> > > the permissions, also.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: