Check your file names! Your model file name should be incoming.php!
If it is not, then you may actually be using the AppModel instead of
the Incoming Model class!
Enjoy,
   John

On 17 Feb., 13:05, Tapan Kumar Thapa <tapan.th...@hindustantimes.com>
wrote:
> If i put debug statement nothing gets print in my incoming view.
>
> If i also put die statement then complete page dies and i got blank white
> blank page.
>
> <?php
>
> class IncomingsController extends AppController {
>
>     var $name = 'Incomings';
>
>     function request() {
>         $this->Incoming->set(array(
>             'Incoming' => $this->params['named']
>         ));
>         debug($this->Incoming->validates());
>         //die(debug($this->Incoming->validationErrors));
>         /* $this->Incoming->set($this->params['named']);
>           if ($this->Incoming->validates()==TRUE) {
>           $this->Session->setFlash("Correct");
>           } else {
[snip]

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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

Reply via email to