There is an assumption in the IBM tutorial that I don't see explicitly stated anywhere in the document, but is made nonetheless. The tutorial assumes that the application you're building with the tutorial sits at the root of your site. That's unfortunate, because, as it's a demo app, it's unlikely that it would be the primary thing powering a site.
That results in nearly everyone (including me) doing exactly what you did by placing it in a subdirectory, specifically created to mess with the demo app. That works fine for much of the functionality, but breaks when the forms in the views use specific paths like this. For those cases, like the form you're talking about, I just changed the action so for your example: from "/users" to "/cake/ibm/users/" and it should work fine. There might be a better or more "right" solution (where you wouldn't hard-code the action in the form in the first place), but to get through the tutorial, that works. On May 27, 8:58 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I just posted elsewhere on an identical post, but don't see it showing > anywhere... apologies in advance if this shows up as a duplicate! > > I got about 1/2 way through theIBMtutorial last week before > switching hosting providers. I am now starting on it again. I get the > cake page, and DB acknowledgment just fine. However, when attempting > the first step, the .../users/register I get a 404 error. However, if > I go to .../index.php?url=users/register it shows up fine (although > the posting mechanism is broken, of course). > > Any ideas for me? I've been looking at my core.php and resolv.php > files, along with the index.php config, but they all match what I was > doing on my old host (which was working fine)...? > > I've also reloaded the DB just in case, didn't work. > > Thanks in advance, > > Ben Carlson --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
