I am trying to do a query inside my model and call it in my controller, but for some reason I get some errors. Here is my model:
I\'m 开发者_如何学JAVAtrying to make a user session in CakePHP persist across all subdomains. All subdomains point back to the same Cake app and are routed to their respective controllers. for example
I can\'t connect to MSSQL Server. I\'ve been researching for 2 days, yet I can\'t find any useful resources. This is the error I\'m getting:
I\'m just starting with CakePHP and I have a question. The idea is to have URLs like this: domain.tld/some-title-of-a-page
I\'m trying to use containable in a paginated query.The code is below, in full. $this->paginate = array(
I am creating a small and simple warehouse application (for assets). I want to log all operati开发者_开发技巧ons so I made an afterSave method in Asset model.
The comment form => echo $this->Form->create(\'Comment\',array(\'url\'=>array(\'controller\' => \'comments\', \'action\' =>\'add\', $listposts[\'Post\'][\'id\']) ) );
ihave a controller with multiple functions that have a variable inside them. I would like to access those variables from another function. Any ideas?
I have two model. Below Model descibe Relation between them. class DebatePost extends AppModel { var $name = \'DebatePost\';
Sorry for this basic question I logging($this->log()) lot of things from all controllers in my live site. My tmp/logs folder contain around 1 gb of log files, whether this will reduce the 开发者_如何学