Hi,

I am new to cakePHP and downloaded the framework and started playing with 
it. I am using NetBeans to edit PHP files. I am able to cinfigure the 
CakePHP as expected. I get successful messages when I try to hit the 
webserver. But for some reason when I try to run the application after 
adding Model and Controller, I don't see the results as exected.

<https://lh5.googleusercontent.com/-Xk-enoLJcqs/UN-IW3YGd3I/AAAAAAAAAgs/pVQyHvKFMm8/s1600/Screen+Shot+2012-12-29+at+7.05.19+PM.png>

 
Folder structure is 

<https://lh4.googleusercontent.com/-Zh80lPEuO5A/UN-INyb1olI/AAAAAAAAAgk/yeAwLeQYZrI/s1600/Screen+Shot+2012-12-29+at+7.17.20+PM.png>

*CONTROLLER*

<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of blog_controller
 *
 * @author harishupadhyayula
 */
class BlogsController extends AppController {
    
    var $name = 'Blog';
    var $uses = array('Blog');
    
    
    var $scaffold;
}

?>

*MODEL*

<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of blog
 *
 * @author harishupadhyayula
 */
class Blog extends AppModel {
    var $name = 'Blog';
}

?>
I modified my dabase.php files as well. I am not sure where it's going 
wrong and I tried all day to figure this out but i had not luck.

Any help is appreciated.


-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to