Tags:
create new tag
view all tags

Question

I tried to upload some attactments with a Chinese name but when I click the button "Upload File", the description of the error is "Either you did not specify a file name, or the file you are trying to upload "" has no content. You may not upload an empty file. ". "Please go back in your browser and check again. "

What should I do to fix this error?

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat Linux 7.5
Web server: Apache/2.2.0
Perl version: 5.8.6
Client OS: Windows XP
Web Browser: Firefox 1.5.0.3
Categories:  

-- GeTan - 13 Feb 2007

Answer

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.

Sorry, closing this after more than 30 days...

This could be caused by {UploadFilter} and {NameFilter} in configure which filters chars > 128. Also, see and add your comment to Bugs:Item3652

-- PeterThoeny - 24 Mar 2007

This is probably related to Bugs:Item3652, which I have a patch for on 4.1.2 (may not work with your TWiki version) - not yet checked in, let me know if you'd like to test it though. Another recent TWiki change stripped out all non-alphabetic characters.

Workaround - include some English letters or digit as well as the main Chinese name, e.g. just suffix the names with "1,", "2", etc.

-- RichardDonkin - 25 Mar 2007

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-03-26 - RichardDonkin
 
  • 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.