Not a lot of code to look at here. First things first, the URL would be 
localhost/your_site_name/users/register (note there is no .ctp or other 
extension). Try that and then come back.

Jeremy Burns
Class Outfit

[email protected]
http://www.classoutfit.com

On 7 Dec 2010, at 11:34, Ahmed El-Sharkasy wrote:

> I am a new cake developer and this is my first project , i created a
> controller file named users_controller in which u define a
> UserController class , created a user file in the model and a register
> file in the view
> each time i  tried to open the register.ctp from the browser by typing
> localhost/........../users/register.ctp
> i got this error
> 
> Error: Create the class ViewsController below in file: app/controllers/
> views_controller.php
> 
> although this class is already created in the shown directory!!!
> Also i am facing an error linking my database although i change the
> config in database.php
> 
> could anyone please help me ??
> thanks in advance
> 
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en

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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to