I've integrated Cake's Auth component into my app. It mostly seems to work ok but I quite often get an error when logging in looking something like this:
Error: Call to undefined method Security::getDataSource()
File: C:\xampp\htdocs\ips-mvc\lib\Cake\Model\Datasource\DboSource.php
Line: 1063
Any idea what this means?
For the record, I do have a model in my app called Security
. I wasn't aware of any reserved model names in Cake but is there a chance my Security
mdoel is conflicting with a Cake component? This error can still occur when the Security
model is not used although it is quite sporadic in its appearance - sometimes refreshing the page will make everything work fine.
Any ideas?