Friday, May 25, 2012

Re: how to run a program in cake php

You're really not going to get help with that if you haven't even looked at the comprehensive tutorial and online guides, else we'll end up gradually writing your app for you (which *isn't* going to happen).

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 25 May 2012, at 12:56:54, sneha kulkarni wrote:

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: