Closed (fixed)
Project:
Image FUpload
Version:
6.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2008 at 22:16 UTC
Updated:
25 Oct 2011 at 16:09 UTC
I installed the image_fupload-6.x-3.x-dev version to test since I could not get the image_fupload-6.x-1.1-rc1 module to work at all. Now, I can select multiple images, see the pending list. But now when I click the upload button, all of the images return a 401 error and do not upload.
I tried removing the password protection from my development site temporarily to see if my main .htaccess file was causing the problem, but it did not change the error.
Is there a line in the module code that I can adjust?
I'm using Firefox 3.0.1 under OS X 10.5.4, but this appears to be a server side issue, not a client side problem.
Comments
Comment #1
grandcat commentedYou should not use .htaccess password protection, this won't work with image fupload. I think your server's configuration has to be reloaded or all cache mechanism has to be cleared because 401 error is not caused by image fupload, look at this:
Source: http://www.checkupdown.com/status/E401.html
Comment #2
anutherwun commentedOk, I fully removed the htaccess protecting my entire development site, which is not just my drupal test bed, but all my other messy in-process stuff as well.
I rely on htaccess as a simple initial security for my sites. While the finished drupal implementation would not need a front door htaccess authentication, there are areas of the install that might need htaccess. Not to mention that drupal exentsively uses htaccess for modifiying php settings and other on the fly modifications to apache.
The upload works now, but I'm concerned that this module cannot work with htaccess authenticaton on. I don't have a problem with authentication with other modules that move files, only this one that can handle more than one file at once. Perhaps there is a way to get it to co-exist?
I will be turning htaccess back on now that its confirmed that basic auth is the problem until I push this site live, now that I know the module works.
thanks for providing the module and the functions it brings into drupal.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
frankcarey commentedThis is an issue with flash/swfupload. See http://swfupload.org/forum/generaldiscussion/700 So, not much can be done here, but I do have a clever solution :)
You can set your htaccess to accept a certain ip (or sets of ips) without prompting for a password. Plop your IP, and or any other ip you need in there and drive on :)
Comment #5
avinoama2 commentedhttp://swfupload.org/forum/generaldiscussion/700
in this article they say that in the htaccess you can define a file to not use htaccess like so
my question is witch file in drupal installation makes the uploading of files ?
Comment #6
glass.dimly commentedThis is the right way to do this, untested on dev 3x: http://drupal.org/node/444988#comment-2541332