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

Stefan Nagtegaal’s picture

Works 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?

jaredwiltshire’s picture

Ok, 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?

jaredwiltshire’s picture

Hmm drupal.org didn't like that...
This is what came up in the 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<a class="linkification-ext" href="http://domain.com/sys

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?

jaredwiltshire’s picture

Can anyone replicate this?

michelle’s picture

I'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

ricabrantes’s picture

Version: 5.1 » 5.x-dev

I 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??

gpk’s picture

I 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.

michelle’s picture

I 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

LAsan’s picture

Is this still an issue?

michelle’s picture

Version: 5.x-dev » 7.x-dev

Still 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

Countzero’s picture

Hello,

It's still an issue with 5.10 and no devel module installed.

Bojhan’s picture

Status: Active » Fixed

Upload been removed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.