Hi !

I need you help please, ... I am new here,
I create a new module witch called wprofile, and I create a menu (path : wprofile/autocomplete), It seems that all works but I got any result !!

If you want to this exemple :

form :
http://www.winevolutionnetwork.com/user/register

exemple :
http://www.winevolutionnetwork.com/wprofile/autocomplete/1/s

Can you tell me if I do somethings wrong!
Thanks

Comments

bensheldon’s picture

Hi,

I think the problem is that you appear to have 8 line breaks on your autocomplete page before it gets to the serialized data. Click "view source" on your autcomplete URL and you should see what I mean.

Check the autocomplete callback function and see where these new lines are getting injected. Line breaks might also be injected be cause of extra space before or after the <?php ?> php tags in your module. Cheers.

Ben
http://island94.org

abdelmimi’s picture

Thanks A lot :)

The "8 line breaks" were injected in an other module that I added,
I removed theme and now all it ok :)

Thanks Ben
@Abdel