Thursday, November 25, 2010

Running CakePHP at ISP is missing models in the find method.

Hi,

I have developed my first application with CakePHP. Everything is
working find on my development server. I deployed this morning and
came across a problem. Not sure if anyone has had the same problem
before and knows how to fix it.

I have a find method that pulls a list of clients and their users from
the database. On my dev server I get the following:


[0] => Array
(
[Client] => Array
(
[id] => 1
[Name] => Jump Monkey
[IsActive] => 1
)

[User] => Array
(
[id] => 2
[Name] => Graeme Oswald
[Email] => graeme@jumpmonkey.co.za
[Password] =>
624f7b8d57e90ab768ede740f3a30b5989ec1900
[IsActive] => 1
[created] =>
[modified] => 2010-11-26 01:08:12
[client_id] => 1
)
)

On my ISP server I get this. (missing the User model)


[0] => Array
(
[Client] => Array
(
[id] => 1
[Name] => Jump Monkey
[IsActive] => 1
)
)


Anyone seen this problem before before I go scratching around in php
settings?

Thanks

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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: