Tags:
create new tag
view all tags

SID-01415: Can't upload attachments with IE

Status: Answered Answered TWiki version: 5.1.1 Perl version: 5.8.8
Category: CategoryAttachments Server OS: AIX 5.3 Last update: 13 years ago

We just installed TWiki 5.1.1 at our site and uploading attachments isn't working from IE. It does work from Firefox (Windows or Linux). There's no error reported to the user, the attachment just doesn't show up in the topic. This error shows up in the server logs:

[Mon Feb 27 11:31:25 2012] [error] [client <deleted>] [Mon Feb 27 11:31:25 2012] upload: Use of uninitialized value in concatenation (.) or string at /local/web/twiki5/lib/TWiki/UI/Upload.pm line 423., referer: http://<deleted>/twiki/bin/attach/Develop/DevWikiTest

This is the code it refers to:

# generate a message useful for those calling this script from the command line 
my $message = 
   ($doPropsOnly) ? 'properties changed' : "$fileNames[0] uploaded";

I'm assuming @fileNames is empty for some reason. Anyone else encountered this and have a solution/workaround?

-- BrentJackson - 2012-02-27

Discussion and Answer

FYI, I got rid of the error by changing the code to this:

 # generate a message useful for those calling this script from the command line
    my $message_file_name = $fileNames[0] ? $fileNames[0] : '???';
    my $message =
      ($doPropsOnly) ? 'properties changed' : "$message_file_name uploaded";

It doesn't solve the original problem, though. You still can't upload attachments with IE.

-- BrentJackson - 2012-02-27

I am also facing the same problem with IE

-- HarshBafna - 2012-03-02

I filed TWikibug:Item6854 to track this. Please add detail on that bug topic.

Related support items: SID-01418, SID-01417

-- PeterThoeny - 2012-03-02

This is now fixed, with patch, see TWikibug:Item6854.

-- PeterThoeny - 2012-04-03

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Can't upload attachments with IE
SupportCategory CategoryAttachments
TWiki version 5.1.1
Server OS AIX 5.3
Web server Apache 2.0.59
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2012-04-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.