Re: Problem with :"Cook up Web sites fast with CakePHP, Part 1"

2007-04-29 Thread johan_vm

fixed:

I had to change



to



in the register view (register.thtml).

So obvious!  Shame on me :-)

regards,

Johan



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Problem with :"Cook up Web sites fast with CakePHP, Part 1"

2007-04-29 Thread johan_vm

I'm still investigating the problem,
and by using the webdevelopper toolbar (firefox plugin),
I found out that the generated form:

uses a post method, and this action: http://localhost/users/register

which should be http://localhost/CakePHP/users/register ...

Any suggestions on how to fix that?

Kind regards,

Johan Van Mol


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Problem with :"Cook up Web sites fast with CakePHP, Part 1"

2007-04-29 Thread johan_vm

Hi,

I'm following the "Cook up Web sites fast with CakePHP, Part 1"
tutorial.
It's my first experience with CakePHP (I do have some Ruby on Rails
experience).

___ I installed CakePHP,
(locally, using Apache2Triad - in a subdir: "localhost/CakePHP")

___ I created a database "cakephp"

___ I created a table "users":

___ I created the user model, the register view, the users controller
and the register action.

___ When I go to "http://localhost/cakePHP/users/register";, the form I
expected shows up

___ But when I fill it out, and try to submit it, I get an error:
"Object not found",
and the URL becomes: "http://localhost/users/register";, without the
CakePHP dir !!!

What went wrong?  Should I configure a base url?  How do I do that?

Kind regards,

Johan Van Mol


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---