Re: Cake PHP Migration Problems

2010-12-19 Thread Kevando
I found what my problem was. I had an .htaccess file above the root directory and that was causing the issue. Once I removed that and restarted MAMP, it worked fine. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received thi

Re: Cake PHP Migration Problems

2010-12-19 Thread Kevando
Cricket, Thanks for the explanation, but I am still having the same problem.. My .htaccess files are exactly as you listed and I am still getting the "max internal redirects" in my apache logs. My instance of cakephp worked fine for me when I tested the setup with one model. However... When I d

Re: Get the last insert id

2010-11-07 Thread kevando
Thanks guys! I used your advice running a query on the latest ID. I dont have to worry about a race condition so it works great, thanks! -- View this message in context: http://cakephp.1045679.n5.nabble.com/Get-the-last-insert-id-tp3236536p3252664.html Sent from the CakePHP mailing list archive

Re: Get the last insert id

2010-11-04 Thread kevando
What about if my last insert/save was 20 days ago? Basically -- I want to get the value of the current (or latest) id in the beforeSave function thanks, Kev -- View this message in context: http://cakephp.1045679.n5.nabble.com/Get-the-last-insert-id-tp3236536p3248988.html Sent from the CakePHP

Re: Get the last insert id

2010-11-04 Thread Kevando
What if I made the insert 20 days ago, how could I get the last id? I want to get the current ID value in the beforeSave function to apend it to a file I'm saving... Any thouhts? kevando On Oct 25, 11:17 pm, "Larry E. Masters" wrote: > $this->Model->save();