Really wrong. Please read the guide, even if the Blog tutorial isn't right for 
you. Start here: http://book.cakephp.org/view/958/The-Pages-Controller. What 
you are trying to do is one of the most basic things and you are way off line.

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 28 Apr 2011, at 16:42, varai wrote:

> Yes, I had already gone through the Blog tutorial. But that doesn't
> have a static page (just to display info). What I'm trying to do is
> similar to contents of about page.
> 
> I tried creating a missing_controller.ctp with no contents as below:
> <?php
> class Missing_Controller extends AppController {
> }
> ?>
> and i'm not getting any errors now.
> 
> thanks. :)
> 
> On Apr 27, 3:24 pm, Jeremy Burns | Class Outfit
> <jeremybu...@classoutfit.com> wrote:
>> You really need to read the guide...what are you are doing is not utilising 
>> Cake at all. Follow the Blog tutorial:http://book.cakephp.org/view/1528/Blog
>> 
>> Jeremy Burns
>> Class Outfit
>> 
>> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>> 
>> On 27 Apr 2011, at 08:21, varai wrote:
>> 
>> 
>> 
>>> Hi,
>> 
>>> Is it necessary to create a controller for each page in \views\pages\
>>> folder?
>> 
>>> I have this static page Preschool.html. And I'm getting the following
>>> error message:
>>> Missing Controller
>>> Error: Preschool.htmlController could not be found.
>> 
>>> Error: Create the class Preschool.htmlController below in file:
>>> merry_flowers\controllers\preschool.html_controller.php
>> 
>>> <?php
>>> class Preschool.htmlController extends AppController {
>> 
>>>    var $name = 'Preschool.html';
>>> }
>>> ?>
>>> Notice: If you want to customize this error message, create
>>> merry_flowers\views\errors\missing_controller.ctp
>> 
>>> Even after creating a controller with the above name and contents, i'm
>>> still getting the same Missing Controller message.
>> 
>>> As the notice says, if I create missing_controller.ctp, what should
>>> the contents be?
>> 
>>> Please help me. I'm clueless....I'm new to cakephp.
>> 
>>> thank you.
>> 
>>> --
>>> Our newest site for the community: CakePHP Video 
>>> Tutorialshttp://tv.cakephp.org
>>> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd 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 
>>> athttp://groups.google.com/group/cake-php- Hide quoted text -
>> 
>> - Show quoted text -
> 
> -- 
> 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

-- 
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