Hey there,
I have problems with flexifield/imagefield.
I have all the latest release and the "FlexiField FileField Integration" module activated.
When I try to upload image in a flexifield (it works well when it's not in a flexifield), I have a http 0 error. Example :

Une erreur HTTP 0 s'est produite.
/drupal/flexifield-filefield/ahah/fieldclient/field_logo_client/0/group_partners%3Afield_client%3A0%3Avalue%3Agroup_clients

The url is strange, how can I replace the %3A to /
Thanks for your help !

EDIT: trying this (http://drupal.org/node/860358) resolves the http 0 error and the image is well updated but once the image is updated, the upload field disappears and nothing seems to be saved in the node (when I save and modify to see the infos)

Thanks

Comments

yoda-fr’s picture

Hello,
installing ahah_script_ensurer and ahah_style_ensurer modules seems to solve the problem.

Thanks

nir’s picture

I'm getting the same error with imagefield,
but http://drupal.org/node/860358 didn't help the http 0 error

thanks

jjemmett’s picture

filefield_edit_access recently updated to take two parameters. In investigating our own HTTP error 0 issue, I found that flexifield_filefield.module is passing in only 1 parameter.

See if our fix helps you:

--- flexifield_filefield.module.old     2010-11-10 10:04:36.000000000 -0700
+++ flexifield_filefield.module 2010-11-10 10:01:42.000000000 -0700
@@ -15,7 +15,8 @@ function flexifield_filefield_menu() {
     'page callback' => 'flexifield_filefield_js',
     'page arguments' => array(2, 3, 4, 5),
     'access callback' => 'filefield_edit_access',
-    'access arguments' => array(3),
+    'access arguments' => array(2, 3), // api change to filefield_edit_access required additional parameter
     'type' => MENU_CALLBACK,
   );
   return $aItems;
jjemmett’s picture

Status: Active » Needs review
aminalid’s picture

EDIT: trying this (http://drupal.org/node/860358) resolves the http 0 error and the image is well updated but once the image is updated, the upload field disappears and nothing seems to be saved in the node (when I save and modify to see the infos)

Same here, have you found a solution?

K-Max’s picture

Status: Needs review » Closed (duplicate)

This is a dupe of #853742: filefield.module updates on filefield_edit_access() breaks flexifield saving. . Above code only fixes the problem partially.