Wednesday, October 7, 2015

Re: JQuery autocomplete on Cakephp 3.0

Hola Raul
Nos compares los debugs? o algún pantallazo de la consola de chromeDev cuando intentas ejecutarlo



Enviado con MailTrack

Saludos

Christian Quispe

Geek and Developer
Miembro:  GDG Lima (Google Developer Group Lima)

Portafolio: www.oxicode.io

¿A quién le enseñan sus aciertos?, si yo aprendo de mis errores constantemente...


2015-10-07 16:42 GMT-05:00 Raul Magdalena Catala <raulmagdalena@gmail.com>:
Hello,
i'm trying to use the following example of JQuery autocomplete with Cakephp


The important change between versions (if i'm not wrong) is how to enable the parsing of extensions

in both cases it is done in the ruotes.php file
in 2.3 by Router::parseExtensions()
in 3.0 by Router::extensions('json')

anyway, when i write into the input, nothing happens
i've checked with the browser debugging tool and no call to http://localhost:8765/cars/index.json occurs.
even if i write the url http://localhost:8765/cars/index.json?term=fo in the browser, i do not receive a json response, in fact no response or error message

any idea about what i'm doing wrong?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: