Class 'AppController' not found in C:\xampp\htdocs\cakephp\lib\Cake\Controller\CakeErrorController.php on line 31
-- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Class 'AppController' not found.
Were you trying to access this controller directly? What was the URL you used? On Mar 22, 8:38 pm, Sean wrote: > Hey, guys. I'm a newbie here. I encountered this problem when trying > to run a simple controller starting with the following lines: > > class UsersController extends AppController { > var $name = 'Users'; > var $scarffold; > var $helpers = array('Html', 'Form', 'Session'); > var $components = array('Auth'); > ... > > And the debugger said "Fatal error: Class 'AppController' not found in > C:\xampp\htdocs\cakephp\app\controllers\users_controller.php on line > 2" > > Would you please advise me what kind of mistake could I have made? > And how can I solve it? > Thanks a lot. > > - Sean 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: Class 'AppController' not found.
Just a small extra point - did you mean var $scaffold? Jeremy Burns jeremybu...@me.com On 23 Mar 2010, at 07:53, Martin Duris wrote: > check, if you you have AppController in "C:\xampp\htdocs\cakephp\app\ > ..." maybe you have deleted it ... > > 2010/3/23 Sean : >> Hey, guys. I'm a newbie here. I encountered this problem when trying >> to run a simple controller starting with the following lines: >> >> class UsersController extends AppController { >>var $name = 'Users'; >>var $scarffold; >>var $helpers = array('Html', 'Form', 'Session'); >> var $components = array('Auth'); >>... >> >> And the debugger said "Fatal error: Class 'AppController' not found in >> C:\xampp\htdocs\cakephp\app\controllers\users_controller.php on line >> 2" >> >> Would you please advise me what kind of mistake could I have made? >> And how can I solve it? >> Thanks a lot. >> >> - Sean >> >> 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+unsubscr...@googlegroups.com For more options, visit this group at >> http://groups.google.com/group/cake-php?hl=en >> >> To unsubscribe from this group, send email to >> cake-php+unsubscribegooglegroups.com or reply to this email with the words >> "REMOVE ME" as the subject. >> > > 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+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > > To unsubscribe from this group, send email to > cake-php+unsubscribegooglegroups.com or reply to this email with the words > "REMOVE ME" as the subject. 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Re: Class 'AppController' not found.
check, if you you have AppController in "C:\xampp\htdocs\cakephp\app\ ..." maybe you have deleted it ... 2010/3/23 Sean : > Hey, guys. I'm a newbie here. I encountered this problem when trying > to run a simple controller starting with the following lines: > > class UsersController extends AppController { > var $name = 'Users'; > var $scarffold; > var $helpers = array('Html', 'Form', 'Session'); > var $components = array('Auth'); > ... > > And the debugger said "Fatal error: Class 'AppController' not found in > C:\xampp\htdocs\cakephp\app\controllers\users_controller.php on line > 2" > > Would you please advise me what kind of mistake could I have made? > And how can I solve it? > Thanks a lot. > > - Sean > > 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+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > > To unsubscribe from this group, send email to > cake-php+unsubscribegooglegroups.com or reply to this email with the words > "REMOVE ME" as the subject. > 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
Class 'AppController' not found.
Hey, guys. I'm a newbie here. I encountered this problem when trying to run a simple controller starting with the following lines: class UsersController extends AppController { var $name = 'Users'; var $scarffold; var $helpers = array('Html', 'Form', 'Session'); var $components = array('Auth'); ... And the debugger said "Fatal error: Class 'AppController' not found in C:\xampp\htdocs\cakephp\app\controllers\users_controller.php on line 2" Would you please advise me what kind of mistake could I have made? And how can I solve it? Thanks a lot. - Sean 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.