Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
upload.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2007 at 12:25 UTC
Updated:
1 Jan 2010 at 04:10 UTC
I've noticed that the attach button doesn't work for normal users (ie not user 1) with the "upload files" permission in Firefox 2. When logged as user 1 it works perfectly.
Normal users can select a file using the "browse" button and press "submit" and the file uploads fine.
It works fine for all users in IE7 but I from memory i dont think it works in IE6.
Private downloads are turned on.
Comments
Comment #1
Stefan Nagtegaal commentedWorks perfectly here on all my installs (13) of drupal 5 and IE 6, not logged in as user 1..
Care to give a littel more info?
What contrib modules are enabled? Can you disable them, and verify that it still isn't working?
Last try, try switching (temporary) to Public downloads method. Does that fix your problem?
Comment #2
jaredwiltshire commentedOk, more detail...
What actually happens is the file is actually uploaded but the grey & while scolling animation stays there and the list of files doesnt come up.
I get an error in the Firefox error console:
Error: missing } after property list
Source File: http://domain.com/misc/drupal.js
Line: 131, Column: 193
Source Code:
ame=\"files[upload_0][description]\" id=\"edit-files-upload-0-description\" size=\"60\" value=\"score.jpg\" class=\"form-text\" /\x3e\n \x3cdiv class=\"description\"\x3e\x3csmall\x3e
Tested using a custom theme & Garland.
I tried public downloads & disabling contrib modules, didnt make a difference.
The exact version of Firefox I am using is:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Have you tried testing Firefox 2 with Drupal 5.1?
Comment #3
jaredwiltshire commentedHmm drupal.org didn't like that...
This is what came up in the error console:
I tried disabling contrib modules & enabling public downloads but it didnt make a difference. I also tested it in Garland & a custom theme, and also on another site.
My exact version of Firefox is
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Have you tested it using Drupal 5.1 in Firefox 2?
Comment #4
jaredwiltshire commentedCan anyone replicate this?
Comment #5
michelleI'm having this same issue with the same error in drupal.js. In my case, however, it works fine in IE 7 for any user and doesn't work in Firefox 2.0.0.2 for any user.
At first I thought this was a 5.1 problem but it just bit me on a 4.7 site that always worked fine before. So I suspected it was something that changed in Firefox rather than in Drupal as the site in question hadn't been changed at all. But talking to someone in IRC, he had it happen in IE 7 as well. So that throws in another wrinkle.
Is anyone good with JS and able to see if there actually is a missing bracket that needs fixing?
Michelle
Comment #6
ricabrantes commentedI create a new content type, and give permission for anonymous user and tested upload the one file and work's in Firefox 2 and IE6..
Any news??
Comment #7
gpk commentedI encountered this problem with devel module enabled see e.g. http://drupal.org/node/131320. This should not happen with newer versions of devel. Not seen it in any other situations though, e.g. the case with no contrib modules enabled as reported at #3.
Comment #8
michelleI haven't been able to use the upload module properly in Firefox on any site for nearly a year so this is not just a devel problem.
Michelle
Comment #9
LAsan commentedIs this still an issue?
Comment #10
michelleStill an issue in 6.1 with FF 2. I don't have a 7.x install to test but I would imagine it's not fixed in 7.x if it's broken in 6.x so bumping the version.
Michelle
Comment #11
Countzero commentedHello,
It's still an issue with 5.10 and no devel module installed.
Comment #12
Bojhan commentedUpload been removed