Re: What the heck? CakePHP is dead?
HAHA! Awesome! On Oct 28, 2:44 am, Marcelo Andrade wrote: > On Wed, Oct 28, 2009 at 12:07 AM, Dave wrote: > > > If you go tohttp://cakephp.org/the site is unavailable. > > Happy halloween! :-D > > http://cakephp.org > > -- > MARCELO DE F. ANDRADE > Belem, PA, Amazonia, Brazil > Linux User #221105 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Google Bot deleting my database entries!
In fact, if you follow the REST principles, you must send a DELETE request to delete a database entry. In this case, POST can be used to add records in database and GET to list one/some of them. On Oct 26, 9:35 pm, "euromark (munich)" wrote: > you are violating protocol > > never allow GET recquests to change database > no edit, no add, no delete if you (or a bot) access an url > > always use POST for those actions! > then this won't happen > > besides this, the above solutions could be working work-arounds > > On 27 Okt., 00:15, Miles J wrote: > > > > > It uses an HTTP authentication mechanism... you know, that thing that > > happens when your browser prompts your for a login, when you go to > > something restricted. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: model method executed as sql query problem.
Sorry for post in this old topic, but I am having the same problem in my models and their files are properly named. Also, the validation rules, primary key and relationships that I am setting on these models can't work. I spent almost an hour searching google a way to resolve this problem, but I couldn't find anything. It's weird because the problem doesn't occurs when I set those values in my controller. Does anyone figure out what is going on? I am using php v5.2.9 and CakePHP v1.2.5 [Sorry for eventual english mistakes...It's not my native language :] On 5 set, 11:41, brian wrote: > This can happen when Cake cannot locate the file for your model. Check > that the file isnamed correctly: for MyModel the filename should be > my_model.php. > > On Fri, Sep 4, 2009 at 11:27 PM, learning_cake_php wrote: > > > well i dont know why cake behaves like this.. > > i had model: > > > class MyModel extends AppModel{ > > . > > . > > //then i had a method > > function myMethod(){ > > . > > . > > } > > > } > > > when trying to call that method in my controller: > > > class MyModelController extends AppController{ > > > > > > > $this->MyModel->myMethod(); > > > } > > > cake is trying to execute it as an sql function thats why i got this > > error invalid sql something.. > > $this->MyModel->myMethod() is just a method used to pass data from my > > controller to the model. > > i had the same method on my other 2 models and it works fine only in > > my third model cake interprets it as an sql function... > > please help guys... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---