It looks for ajax.ctp because it detects the ajax request header in the
request when you make your call for that page :
http://book.cakephp.org/view/174/Request-Handling
*By default RequestHandler will automatically detect Ajax requests based on
the HTTP-X-Requested-With header that many javascri
Hi, Bert
Thanks... !!! .. I was using level 1 in debug... but don't consider
that up this to 2 will give me any details in this particular case...
(I missing the point that although it's call through javascript debug
will show somethign) ...also I foget that I set debug to 0 in the
controller
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:4
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 XM
Have you edited your routes.php file to match the pattern
'/mycontroller/myfunction/1' ?
You need something like this :
$Route->connect('/mycontroller/myfunction/*', array('controller' =>
'mycontroller', 'action' => 'myfunction'));
On Mon, Oct 5, 2009 at 8:12 AM, bRuNuShky wrote:
>
> Hi, I real
Hi, I really need help to understand something...( also finish it)
I was reading some notes from
http://www.littlehart.net/atthekeyboard/2007/03/13/how-easy-are-web-services-in-cakephp-12-really-easy/
. about web service
So after read this I work my own test... I created controller function