Re: Missing Controller
On Tue, Jun 14, 2011 at 3:31 AM, Magician <davis_justinmichael@yahoo.com> wrote:
-- Hi. This is the newbie programmer again. I am need of some help. I
am currently working on a Cakephp page and have created the necessary
MVCs. However, when I load my main page (in this case localhost/Cake)
I get two error messages which are as follows:
Error: CakeController could not be found.
Error: Create the class CakeController below in file: app\controllers
\cake_controller.php
<?php
class CakeController extends AppController {
var $name = 'Cake';
}
?>
I created the CakeController class file in the Controller file in
question. However I still get this issue. Does anyone out there know
how to help me fix this?
Thanks!
--
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
========================================
you just create a cakecontroller.php in controller folder and copy and paste the above code in that file
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home