I got it.... Its was an oversight in my Ajax link... Thanks
-----Original Message----- From: bcreeve [mailto:[email protected]] Sent: March-03-09 4:45 PM To: CakePHP Subject: Re: AJAX Delete First, I would move the Configure::write('debug', 0); to within the if block. Then if you hit that URL in your browser you can see any specific errors. On Mar 3, 2:46 pm, "Dave Maharaj :: WidePixels.com" <[email protected]> wrote: > I am trying to delete a record using an AJAX link. The entry gets > deleted, effects and all that great stuff.... but after clicking > "delete" I get > ERROR: The requested address 'users/delete_quote/(id number trying to > delete)' was not found on this server. > > Now I am deleting the quote from the user page. > > Tables Users haveMany Quotes > > my users controller code : > > function delete_quote($id) > // delete selected quote from profile > { > Configure::write('debug', 0); > if ($this->RequestHandler->isAjax()) { > $this->Quote->del($id); > } > } > > Ideas of whets wrong or missing? > > Thanks > > Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
