Hi.  I am trying to bake views for my cakePHP app, and I get the
following error:

Fatal error: Class 'UsersController' not found in c:\wamp\www\myApp
\cake\console\libs\tasks\view.php on line 250

There really is a Users Controller. I promise. :-)  Here is the output
from when I hit "cake bake" on a command prompt:


Welcome to CakePHP v1.2.1.8004 Console
---------------------------------------------------------------
App : app
Path: C:/wamp/www/myApp/app
---------------------------------------------------------------
Interactive Bake Shell
---------------------------------------------------------------
[D]atabase Configuration
[M]odel
[V]iew
[C]ontroller
[P]roject
[Q]uit
What would you like to Bake? (D/M/V/C/P/Q)
> v
---------------------------------------------------------------
Bake View
Path: C:/wamp/www/myApp\app\views\
---------------------------------------------------------------
Possible Controllers based on your current database:
1. Defaults
2. Foos
3. Users
Enter a number from the list above, type in the name of another
controller, or '
q' to exit
[q] > 3
Would you like to create some scaffolded views (index, add, view,
edit) for this
 controller?
NOTE: Before doing so, you'll need to create your controller and model
classes (
including associated models). (y/n)
[n] > y
Would you like to create the views for admin routing? (y/n)
[y] > y

****At this point a bunch of text scrolls by. It appears to be the
contents of my app_controller.php and then it outputs my
users_controller.php file.  Then it says: *****

Fatal error: Class 'UsersController' not found in C:\wamp\www\myApp
\cake\console\libs\tasks\view.php on line 250


I am wondering if the problem is something to do with the line that
says "Path: C:/wamp/www/myApp\app\views\"

The interesting thing to me there is how some of the slashes are
forward slashes and some of them are back slashes.

Any help would be much appreciated. Thanks!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to