Custom model functions not being recognised

2008-06-06 Thread palam
The problem is that custom model functions are not getting called from my controller. $this-Model-findById() works, but $this-Model- getCitiesListForCentreType() (for example) doesn't work and the query literally becomes getCitiesListForCentreType I have setup a bare bones version on my server :

Re: Custom model functions not being recognised

2008-06-06 Thread palam
I should add that it works okay on my localhost. It's a problem only on the server. Palaniappan C. On Jun 6, 4:50 pm, palam [EMAIL PROTECTED] wrote: The problem is that custom model functions are not getting called from my controller. $this-Model-findById() works, but

Re: Custom model functions not being recognised

2008-06-06 Thread palam
Fixed in #cakephp I had mistakenly capitalised my model filenames. Beware! Read the conventions! This worked on my comp because Mac OS X has a way to find files either way. Apparently Windows does too. Lowercasing the filenames made it work. Thanks to woopstash2! On Jun 6, 10:18 pm, palam