Hi there,
I get these errors when I click in the file name field and start typing on the "demo create snapshot page".
An error occurred.
http://localhost/Drupal_Projects/drupal6/demo/autocomplete
{ "before_content_access": "before_content_access", "before_support": "before_support", "withcontentprofile": "withcontentprofile" }<div class="dev-timer"> Page execution time was 659.91 ms. </div>
An error occurred.
http://localhost/Drupal_Projects/drupal6/demo/autocomplete
[ ]<div class="dev-timer"> Page execution time was 605.79 ms. </div>
I think the problem is coming from the devel module. I have the devel timer enabled which adds this information to all requests including ajax.
Perhaps this page might give a solution:
http://www.ixis.co.uk/blog/drupal-footer-output-ajax-calls
Hope that helps,
-Glenn
Comments
Comment #1
sunDevel's debug settings break most AJAX/AHAH functionality.
Comment #2
eMPee584 commentedActually, what's needed to fix it is to replace drupal_to_js() with drupal_json() and all is good* :)
#367022: Autocomplete error - conflict with Devel module
*set's the correct js content header:
http://api.drupal.org/api/function/drupal_json/6
Comment #3
sunThanks for reporting, reviewing, and testing! Committed to D6.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.