FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » File Manager bug
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
File Manager bug [message #16434] Fri, 30 January 2004 05:42 Go to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Hello,
The file manager doesn't seem to like zero byte files. It's not possible to upload such a file (Seems to be an issue with boolean 0 (= false) or 0 as figure).

Expected result: Upload the file despite having zero byte as filesize.

Actual result: reload and nothing has changed (no file added)

forum affected: 2.6.0 stable

Olliver

[Updated on: Fri, 30 January 2004 05:43]

Report message to a moderator

Re: File Manager bug [message #16440 is a reply to message #16434] Fri, 30 January 2004 10:18 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
This has nothing to do with FUDforum. You won't be able to upload 0 byte files with PHP either (outside of FUDforum).

FUDforum Core Developer
Re: File Manager bug [message #16452 is a reply to message #16440] Fri, 30 January 2004 12:54 Go to previous messageGo to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
I didn't know about that limitation of PHP. How about a facility to create a new zero byte file as a substitute? Just like we'd do with "touch xy.z" on the shell. Then it wouldn't matter if uploading doesn't work.

Olliver
Re: File Manager bug [message #16454 is a reply to message #16452] Fri, 30 January 2004 13:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
In all honesty I don't see much use in 0 byte files. If you want to create those just add it manually. PHP already has a touch() function so this should not be difficult to implement.

FUDforum Core Developer
Re: File Manager bug [message #16464 is a reply to message #16454] Fri, 30 January 2004 16:13 Go to previous messageGo to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
This was just a suggestion, nothing more. I know how to implement such things, but that wasn't the issue (else I'd chose a different category and would ask how to perform such a task)

Olliver

[Updated on: Fri, 30 January 2004 16:14]

Report message to a moderator

Re: File Manager bug [message #16465 is a reply to message #16464] Fri, 30 January 2004 16:18 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Hence my reply Smile.

FUDforum Core Developer
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: New Topic button always appears
Next Topic: pathinfo issues
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Oct 21 10:15:45 EDT 2017

Total time taken to generate the page: 0.00688 seconds