Hi, I''m trying autocomplete script but I receive the error 405 every time I type a key in the text component. The version with array works fine... I have tried on 2 different webserver but the error persists. The unit test "writes" 8 error in the autocomplete but all the others work fine. I have created a result page with 2 or 3 simple lines but the error persists. What is worng?? Thank you Barbi --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hey there, Barbi a écrit :> I''m trying autocomplete script but I receive the error 405 every > time I type a key in the text component.405 is Method Not Allowed. Your auto-completer definition uses Ajax.Request internally, with its default ''post'' request method, and apparently this way (POST) is forbidden on your server side, for one reason or another. Failing resolution based on this info, can you provide a minimal online reproducible case for us to tinker with? -- Christophe Porteneuve a.k.a. TDD "[They] did not know it was impossible, so they did it." --Mark Twain Email: tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
try {method:''get''} and see if the problem follows. Walter On Dec 31, 2006, at 7:37 AM, Christophe Porteneuve wrote:> > Hey there, > > Barbi a écrit : >> I''m trying autocomplete script but I receive the error 405 every >> time I type a key in the text component. > > 405 is Method Not Allowed. Your auto-completer definition uses > Ajax.Request internally, with its default ''post'' request method, and > apparently this way (POST) is forbidden on your server side, for one > reason or another. > > Failing resolution based on this info, can you provide a minimal online > reproducible case for us to tinker with? > > -- > Christophe Porteneuve a.k.a. TDD > "[They] did not know it was impossible, so they did it." --Mark Twain > Email: tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I''m using the stock script.aculo.us library, getting this same error when trying the ajax_autocompleter functional tests. I''ve replaced every mention of "post" (just "post" not "postbody" / etc ) with "get" and I still get the same error. I too, am trying to use prototype/script.aculo.us at a place where I don''t control the web service, but I can upload the files, and I''m getting this 405 error. In this envoirment, regular html/asp form POSTs work just fine. For testing purposes, though, I do have the Home Premium version of Vista (which includes IIS7) on another computer and I am getting the same error. Does anyone have any idea what would need to be done in IIS to allow POSTs from the scripts? -- - ßrad M. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---