On Oct 8, 2011, at 16:32, Victor Forato wrote:
> I took a look in others posts, but I couldn't resolve my problem.
> I'm trying acess the action register(http://localhost/cake/users/
> register),but the cake show me this message:
>
> Error: UsersController could not be found.
> Error: Create the class UsersController below in file: app\controllers
> \users_controller.php
> <?php
> class UsersController extends AppController {
>
> var $name = 'Users';
> }
> ?>
>
> ==>>There're my files:
>
> Directory: app\controllers
> File: users_controller.php
> Code:
> <php>
> class UsersController extends AppController{
>
The opening PHP tag should be "<?php" not "<php>".
> Directory: app\models
> File: user.php
> Code:
> <?php>
> class User extends AppModel{
>
The opening PHP tag should be "<?php" not "<?php>".
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php