<?php
class HhController extends AppController {
var $name = 'Hh';
///////////////////////// here u have to specify u r view file name
function myview()// example
{
}
}
?>
On Mon, Apr 26, 2010 at 8:55 PM, hoss7 <hossbit@gmail.com> wrote:
i have create my first with cakephp,but i hve litle problem:
i have copy cake in "hh" folder when i user this url
"http://localhost/hh/" i see this error:
Error: HhController could not be found.
Error: Create the class HhController below in file: app\controllers
\hh_controller.php
<?php
class HhController extends AppController {
var $name = 'Hh';
}
?>
Notice: If you want to customize this error message, create app\views
\errors\missing_controller.ctp
but when i use some controll name in url"http://localhost/hh/home"
i dont see this error.
i want when i upload all source in my host,whene user come to my
website see
some default page like home page when user come to my website like
www.example.com
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment