Hi everyone

im new to cake and i set up cake with all the thing required and that
all right (i watched a few youtube videos) but when i put a bit of php
like
<?php

echo "hello world";

?>

and save it as a test.ctp in the folder views it always comes up with
this error when i try and view it on the localhost

(Missing Controller
Error: Test.ctpController could not be found.

Error: Create the class Test.ctpController below in file: app
\controllers\test.ctp_controller.php

<?php
class Test.ctpController extends AppController {

        var $name = 'Test.ctp';
}
?>
Notice: If you want to customize this error message, create app\views
\errors\missing_controller.ctp)

when i try view the file i go to this file http://localhost/cakephp/test.ctp
on my browser is this correct?

and im using xampp localhost

any suggestions to fix this?


thanks a lot help will be appreciated!!!!

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to