On 8 oct, 01:15, paullb wrote:
> Thanks Miles J, I made that change and it worked perfectly. What you have
> suggested here is definitly not intuitive from the naming conventions in the
> link provided earlier.
Please edit the sentance "The Model class OptionValue would be found
in a file name
Hi Brendan,
> It was unclear that the model file was not being read and a result extremely
> frustrating. Therefore, I would suggest (even if it is only a debugging
> feature) that an error be displayed in the event that the model class is not
> found.
Thing is, by design, Cake attempts to creat
Thanks Miles J, I made that change and it worked perfectly. What you have
suggested here is definitly not intuitive from the naming conventions in the
link provided earlier.
It was unclear that the model file was not being read and a result extremely
frustrating. Therefore, I would suggest (even
Model name should be singular and camelcase, yours is plural. The file
should be singular and separated with underlines.
Your problem however is that you dont need _model on the file name, it
should just be segment.php.
On Oct 7, 3:43 pm, paullb wrote:
> Thanks for the replies.
>
> I had alread
Thanks for the replies.
I had already cleared out the cache, turned off caching at set debug level
at 2.
I checked out the convention page you provided and tried many different ways
of naming things but none changed the result that the model class was
entirely ignored.
Would it be possible to
On 7 oct, 21:23, AD7six wrote:
> On 7 oct, 19:46, brian wrote:
>
> > You're the second person today. Clear out app/tmp/cache/models/ and
> > set debug > 0 to have Cake check the model schema on each request.
>
> That's not relevant.
>
> paullb - see conventions[1] your class isn't named correc
On 7 oct, 19:46, brian wrote:
> You're the second person today. Clear out app/tmp/cache/models/ and
> set debug > 0 to have Cake check the model schema on each request.
That's not relevant.
paullb - see conventions[1] your class isn't named correctly, and
neither is your model file.
hth,
AD
You're the second person today. Clear out app/tmp/cache/models/ and
set debug > 0 to have Cake check the model schema on each request.
On Wed, Oct 7, 2009 at 9:51 AM, paullb wrote:
>
>
> I have noticed that my model files do not get read by Cake -AT ALL-. I put
> garbage characters into one file