Re: The view does not see its controller
Try to type localhost/..../users/register instead of register.ctp...
On dec. 7, 12:34, Ahmed El-Sharkasy <ahmed.elshark...@gmail.com>
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 cake-php@googlegroups.com
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?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home