Hi everybody,
I am really new to the php and cake php.I try to implement the scaffolding 
technique but get some error.

Below is my code :*
Models:*
*C:\wamp\www\cakephp-2_3_4\app\Model\Question.php*

<?php
class Question extends AppModel {
    public $hasMany=array('QuestionResponse' => array('dependent' => true));
}
?>

*C:\wamp\www\cakephp-2_3_4\app\Model\QuestionRespons.php*

<?php
class QuestionResponse extends AppModel {
        public $belongsTo='Question'
}
?>

*Controller:*
*C:\wamp\www\cakephp-2_3_4\app\Controller\TrainingController.php*

<?php

class TrainingController extends AppController {
    var $scaffold;
}
?>

I had already create the database and also do url rewriting as mention in 
cakephp website.

But problem is when i try to access page using this below url :

http://localhost:8080/cakephp-2_3_4/training

The page is blank and get Http 404 error of page not found.


So can anybody suggest me what I am missing here.

FYI:I am using apache server, mysql and cake php 2.3.4 version

Thanks
Sabin

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to