Have you set debug to 1 or 2 in core.php ? 'Page not found' is the default error message you get from if anything at all goes wrong while rendering the requested page. Setting debug to 1 or 2 will show you more information on the reason why the page can't be rendered.
On Mon, Oct 5, 2009 at 4:49 PM, bRuNuShky <[email protected]> wrote: > > Hi, > > Mmmm ok but this is to redirect the call to an specific controller > action... actually its works fine ... outside the javascript call.... > anyway I try what you said but javascript still have problems to find > the page... > > for more details > http://mysite.com/mycontroller/myfunction/1 return an XML its works > fine > <node> > <data>data</data> > </node> > > but if I call it with javascript ....using > http://mysite.com/mycontroller/myfunction/1 > or simply /mycontroller/myfunction/1 i get a not page found > > If I change the code the URL change something like this but result is > the same http://mysite.com/mycontroller/myfunction.xml...in this way > javascript now find the url..but I cant understand how to send extra > data with the URL... > > Thanks Bert > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
