Re: Problem with :"Cook up Web sites fast with CakePHP, Part 1"
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"
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"
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"
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"
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 -~--~~~~--~~--~--~---