Friday, May 25, 2012

how to run a program in cake php

plz help me how to run a simple helloword program in cake php using
xamp

i have created one file in controller with name testers_controller.php

<?php
class TestersController extends Controller{
var $uses=null;
var $autoRender=false;
function sayHello(){
echo 'Hello, CakePHP!';
}
}
?>

but i got 2 errors

like
TestersController could not be found.

Create the class TestersController below in file: app\Controller
\TestersController.php
Notice: If you want to customize this error message, create app\View
\Errors\missing_controller.ctp.

--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: