Re: Cannot use Model only for Validation (no table behind) $useTable = false;

2006-08-18 Thread [EMAIL PROTECTED]
That is the thin, i to nothin like $this-Model-validates, i only use $uses = array ('..', '..', 'Sms'); I think its in the model initialization that causes the startup query --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Cannot use Model only for Validation (no table behind) $useTable = false;

2006-08-18 Thread Samuel DeVore
See I do use $this-ModelName-validates, but do not use $uses anymore, it just caused needless headaches. If you have access to IRC I would try to jump on and be ready to post source and let the bigger heads help you out. If you post some source in the cakebin http://cake.php.org/pastes/add I'm

Re: Cannot use Model only for Validation (no table behind) $useTable = false;

2006-08-17 Thread [EMAIL PROTECTED]
if i use $useTable = null; it throws me this error: No Database table for model Sms (expected sms), create it first. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email

Re: Cannot use Model only for Validation (no table behind) $useTable = false;

2006-08-17 Thread Samuel DeVore
You're right I looked in my own code where I use models for validation only (and for doing email) and I have $useTable = false;perhaps you should paste some source in the bin http://cakephp.org/pastes/add from your controller and show what you are doing and someone more awake then I might be able

Cannot use Model only for Validation (no table behind) $useTable = false;

2006-08-16 Thread [EMAIL PROTECTED]
HI everybody, I want to use a model only for my validation logic! So i set my model up with $useTable = false, but then cake generates a startup query on my database. How can i fix that problem? My CakeVersion is CakePHP 1.1.7.3363 The SQL Log says: 3 startup 1064: You have an error in