ahah - 'Http error 0' when loading dynamic form elements in drupal 6, when an upload field has a file selected -



ahah - 'Http error 0' when loading dynamic form elements in drupal 6, when an upload field has a file selected -

i have custom form implemented in custom module in drupal 6. form contains upload field, textfield , select dropdown. when dropdown fires alter event, 2 textfields loaded dynamically below dropdown through drupal ahah. based largely on: http://drupal.org/node/331941 form functions correctly.

however, if happen browse file upload field , alter dropdown, nasty 'http 0 error'. note: not submitting form. selecting file upload , changing dropdown fire alter event. problem much like: http://drupal.org/node/399676 solution provided in same thread: http://drupal.org/node/399676#comment-1438662 doesn't work me.

i changed drupal_json phone call drupal_get_js phone call mentioned in solution comment above, error alert containing json.

i believe problem headers set drupal_json seen in definition here: http://api.drupal.org/api/drupal/includes--common.inc/function/drupal_json/6

any help much appreciated.

i ran @ 1 point. there bunch of threads around saying has apc .. me fixed changing progress indicator on file field "bar progress meter" "throbber" under file field settings

drupal ahah

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -