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

2007-04-30 Thread lukemack

I think maybe you have misunderstood how the URLs work in cakePHP, in
conjunction with Apache's  mod_rewrite. You would be better to install
cake in a virtual host under apache rather than in a subdirectory.

On Apr 29, 6:20 am, "Mariano Iglesias" <[EMAIL PROTECTED]>
wrote:
> You shouldn't set the action manually.
>
> Either use $html->formTag('/users/register'), or use $html->url() to get
> proper CakePHP url.
>
> -MI
>
> ---
>
> Remember, smart coders answer ten questions for every question they ask.
> So be smart, be cool, and share your knowledge.
>
> BAKE ON!
>
> blog:http://www.MarianoIglesias.com.ar
>
> -Mensaje original-
> De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
> de johan_vm
> Enviado el: Domingo, 29 de Abril de 2007 06:42 a.m.
> Para: Cake PHP
> Asunto: Re: Problem with :"Cook up Web sites fast with CakePHP, Part 1"
>
> I had to change
>
> 
>
> to
>
> 


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

You shouldn't set the action manually.

Either use $html->formTag('/users/register'), or use $html->url() to get
proper CakePHP url.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de johan_vm
Enviado el: Domingo, 29 de Abril de 2007 06:42 a.m.
Para: Cake PHP
Asunto: Re: Problem with :"Cook up Web sites fast with CakePHP, Part 1"

I had to change



to




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

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