Legion World
Posted By: Nightcrawler Upload File Form - 05/05/04 09:55 AM
Notice the "Upload File Form" link next to posts?

Well, on a trial basis, we're going to try and allow members to upload (for now) image files with gif, jpeg, jpg, or png file extentions onto the server. Each member gets 15000 kb or 15 files (for now, that limit may be raised, we'll see) and the ability to manage their own files in their own folder using that link.

If this works out, I'll probably remove the album feature. Although, I'll keep what images have been loaded there thus far for people to link into their messages.

If there's any problems though, I reserve the right to remove this feature. smile
Posted By: Greybird Re: Upload File Form - 05/05/04 02:46 PM
{[...] 15000 kb or 15 files }

A generous thought, and I hope it works -- but it doesn't seem to quite do so at the moment, at least not in those dimensions.

I tried loading a 118 KB file and got the message: "The file you were trying to upload has exceeded the maximum of 15000 bytes. We stopped the upload at 15360 bytes."

So I tried a 4961-byte file (icon, really) and got: "The file you uploaded was successful. You can access it by clicking here. {link that opens file in new window} You may also copy the following statement to use the hyperlink in your posts. {file location displayed within URL tags}"

It's much appreciated, but if the limit on file size is 15,000 bytes, one can't really store much beyond a large icon. Did you mean to set it for 150,000 bytes per file, or about 150 KB?

The figure for total space you noted was 15,000 KB, and that would give us about 15 MB per person. Although you're certainly that willing, Gary, I doubt PowWeb is {g}
Posted By: Nightcrawler Re: Upload File Form - 05/05/04 11:50 PM
Okay. Now I think it's set properly.
Posted By: Greybird Re: Upload File Form - 05/06/04 06:10 AM
Well, it seems to work on my 118 KB file! Thanks, Gary.

It creates a link like this that one can cut and paste:
http://www.legionworld.net/upload/00000026/FreekLoserGrey.jpg

You do need to be sure that it's named the way you want before uploading.

What's the maximum we can store now, per file and in total? (I'm assuming the "15,000 KB" was off ... or is it?)
Posted By: Nightcrawler Re: Upload File Form - 05/06/04 09:57 AM
Right now, let's say 150 KB per member. I may increase it later. I want to test it out for bugs first. Also, we may have to find someplace besides our server to hold it. Or when I move us, maybe I'll renew with PowWeb for a place to store the image files.
Posted By: Greybird Re: Upload File Form - 05/06/04 06:05 PM
It appears that the 150 KB is not the maximum storage space per member, but the new maximum size per uploaded file. Was that what you meant, Gary?

I tried uploading a 300 KB file, to test the maximum size per file. An FYI appeared: "The file you were trying to upload has exceeded the maximum of 150000 bytes. We stopped the upload at 150528 bytes."

I uploaded 15 files successfully, to test the limits on both number of files and total size. They totaled 1.57 MB (1650069 bytes).

When I attempted to use "Upload File Form" again, I received: "You are currently at your limit to upload. To upload anymore [sic] files, please delete some files out of your upload manager. Click here for the upload manager {link}."

This last link, though, generated the message "Bad Request: Your browser sent a request that this server could not understand." Presumably the file name "%%BACK%%" in that link confused things.

I had saved the address of the upload manager, and could open it in a new browser window. (Another minor bug: The upload manager, when it's in the small window, does not scroll, unlike previewed posts and polls. You have to extend the window manually to see all 15 files.)

So the 15-file limit is in effect, though it does have that link glitch if 15 files are loaded and you want to access the upload manager.

It appears that no limit exists at the moment, as such, for total stored file size per member, unless it involves the number and size limits: 15 files x 150528 bytes per file = 2257920 bytes. (That is, 2205 KB or 2.15 MB.)

=====
Upload File screen ... http://www.legionworld.net/cgi-bin/ubb_upload.cgi?ubb=upload;f=
Upload Manager screen ... http://www.legionworld.net/cgi-bin/ubb_upload.cgi?ubb=manager;f=
Posted By: Nightcrawler Re: Upload File Form - 05/07/04 12:14 AM
Okay. Thanks.

I'm going to disable this feature, until I have time to deal with it. Which at this point, won't be until the last week of May at the earliest.

Sorry for the tease everyone.
Posted By: Nightcrawler Re: Upload File Form - 05/07/04 10:27 AM
Just for the record, when I had added this feature earlier in the week, I thought I would have enough time to properly play and test it before my life got complicated. I was wrong.

I want to thank Grey for his help in showing that the uploader isn't doing what I had intended it to do.

I've decided to disable it until I return from my upcoming trip and can work on the issues presented here as well as some others. I would prefer to use this to upload to a seperate server account when I do have it up and working in the future. With all the various images and files that we're hosting at present, it would be too easy to exceed our limits using this hack. I don't want to risk losing the whole MB just for this. For those of you looking forward to using this feature in the future, I promise to get it working to my liking as soon as I can.
Posted By: Nightcrawler Re: Upload File Form - 08/05/06 03:53 AM
I've re-installed this feature even though I haven't moved us to a new host. I just don't see it happening in the near future anymore and don't want to disable this feature any longer.

The limit will be 25 files/member, but the 150kb/file is still in effect. I'll be closing down the album, but the files left there shall remain. If you need/want an image removed from there in the future, please let me (or Scott) know and we'll delete it from the server.

Thanks!
Posted By: Greybird Re: Upload File Form - 08/08/06 10:56 PM
Thanks for turning this back on. Unfortunately, the "Upload File Form" links result in "FYI: Unable to determine status. Please inform the board administrators about this error."

The same is true for the Upload Manager that I linked to above, but that function doesn't seem to have a visible link anywhere when making a post, this time around. (The File Form link is run from a JavaScript.)

I can look at my already-uploaded files from your test of this two years ago, at this location (the last 8 digits are one's user number). It doesn't seem that anyone else has been able to store files since then.
Posted By: Blockade Boy Re: Upload File Form - 08/08/06 11:03 PM
WHo did that rozdawnyeagle painting? awesome.
Posted By: Nightcrawler Re: Upload File Form - 08/08/06 11:22 PM
It works fine for me when I try it. I'll use Kabir's account or something this weekend to test it out for regular members.
Posted By: Reboot Re: Upload File Form - 08/08/06 11:37 PM
*tests*

Same error message.

EDIT: Okay, this is weird - I just tried a couple of alts, and one got the message, but the other one worked:

[Linked Image]
Posted By: Beast Boy Re: Upload File Form - 08/09/06 03:17 AM
Works fine in Firefox for a junior member: [Linked Image]
Posted By: Beast Boy Re: Upload File Form - 08/09/06 03:23 AM
Works fine in Netscape 7.1 for a junior member: [Linked Image]
Posted By: Beast Boy Re: Upload File Form - 08/09/06 03:26 AM
Works fine in Internet Explorer for a junior member: [Linked Image]
Posted By: Reboot Re: Upload File Form - 08/09/06 03:31 AM
It's not a browser issue, Changeling, it's a server issue. And, given that the alt that worked is the most "junior" alt I have, whereas the alt that didn't is nearly as old as this account, I suspect it's the earlier (2003) memberships that are disproportionately affected by this bug...
Posted By: Nightcrawler Re: Upload File Form - 08/09/06 05:41 AM
But then why can Nightcrawler (2003) upload? I'll play with it this weekend.
Posted By: Greybird Re: Upload File Form - 08/09/06 10:43 AM
You're user number 1, N.C., and presumably would have uploads in this folder ... but it's empty. I wonder if it's working for you, actually, or whether the UBB system isn't displaying something properly after you make an upload -- even if it "works" as a link. Anyway, thanks for sleuthing this.

Oh, and the striking RozDawnyEagle art in my folder was by a contributor to Fanzing (now Monitor Duty ) named "Roz," also known as "Orelinde." But since it was posted originally in a message forum, and not as part of the online fanzine, I couldn't get any other information.
Posted By: Nightcrawler Re: Upload File Form - 08/09/06 04:05 PM
I deleted the Nightcrawler images that I tested with since I don't need to use this system. I kept Beast Boy's to show that it was working for "him."
Posted By: Reboot Re: Upload File Form - 08/09/06 04:16 PM
Quote
Originally posted by Nightcrawler:
But then why can Nightcrawler (2003) upload? I'll play with it this weekend.
That occurred to me, and that's why I inserted "disproportionately" smile . Maybe it's because you're an admin, or maybe there's a little glitch in some profiles left over from one of the things that happened early on or something.

I'll test it with another couple of alts later...

EDIT: Well, an late-Jul 2003 alt (less than 20 posts) works, but this ID and an early-Jul 2003 alt (greater than 50 posts) don't.
Posted By: R.J. Brande Re: Upload File Form - 08/13/06 07:06 AM
My first team -

[Linked Image]
Posted By: R.J. Brande Re: Upload File Form - 08/13/06 07:22 AM
I've looked, and looked, and looked.

I don't know what the problem is here.

[Linked Image]
Posted By: Nightcrawler Re: Upload File Form - 08/13/06 08:24 AM
...Nor do I see a discernable difference between Grey and Reboot's files and any of mine. confused
Posted By: Reboot Re: Upload File Form - 08/13/06 08:20 PM
Well, I get a "FYI - Unable to determine status. Please inform the board administrators about this error." as Reboot and Somebody. The other IDs I've tested so far work (yeah, the screenshots are in Opera, but that's just convienience. Same whichever browser).

[Linked Image]
[Linked Image]
Posted By: Nightcrawler Re: Upload File Form - 08/13/06 10:11 PM
I realize that some members are getting the "Unable..." message, but I do not see or understand why. There's no reason for it. Grey even used this hack previously. All I did was switch it off months (a year or so?) ago. Then, people complained about the "Upload File Form" link still showing and I removed them. All I did recently was re-add the link and then turn it back on (increasing the limit to 25). Nothing I've done should have made a difference for Grey or anyone else.

So for now, I don't have an answer. I'll let everyone know if/when I ever figure it out.
Posted By: Lightning Lad Re: Upload File Form - 08/13/06 10:23 PM
The only thing that has changed in the time it has been turned off is the server. Could be something the new server doesn't like about some of the member files.
Posted By: Monkey Eater Lad Re: Upload File Form - 08/30/06 02:44 AM
Hey Gary, I think I reached my max upload, but when I go to delete some files I can't get to the upload manager - the window says 'Bad Request' The Page Cannot Be Found. I'm wondering if this is like a logic error of some sort? I was able to view the upload manager until I think I reached my 15th file upload - after that I can't even reach the manager. Thanks...
Posted By: Nightcrawler Re: Upload File Form - 08/30/06 02:47 AM
Besides the error, the limit should be 25. I'll look into it.
Posted By: Monkey Eater Lad Re: Upload File Form - 08/30/06 03:03 AM
Oops I think you're right, I've probably uploaded 25. I blame my irregular number of fingers and toes. Thanks!
Posted By: Nightcrawler Re: Upload File Form - 08/30/06 11:24 PM
Did I fix it?!? I can't tell. I'll try to upload 25 things to see.

[EDIT: Tested. I think I did fix it. Hopefully not just for me. *crosses fingers*]
Posted By: Monkey Eater Lad Re: Upload File Form - 08/31/06 12:32 AM
Yep it worked! Faboo!
Posted By: Nightcrawler Re: Upload File Form - 08/31/06 10:40 PM
I think I've fixed all of the bugs that Grey mentioned earlier too. Except the one about certain members not being able to upload.

Still have no clue about that one.
Posted By: Reboot Re: Upload File Form - 08/31/06 11:01 PM
Well, it says "unable to determine status." Isn't status = Applicant, Legionnaire, Founder, Time Trapper, Advisor, etc?

Maybe it's a problem with a corrupted bit in the profiles rather than the hack.

PS - Looking at the UBBdev thread for the hack , no-one appears to have reported this error, but the screenshot nearish the bottom seems to support that thought...
Posted By: Nightcrawler Re: Upload File Form - 08/31/06 11:11 PM
I'm positive it's in the profiles. Otherwise, it would affect all of us. The problem is where?

I looked and compared and see no significant difference.

If I had a corrupted account, I'd make it identical (data such as name, e-mail etc.) to a non-corrupted account and see if I can then see the difference. But I don't have one and I don't want to mess with any of yours.
Posted By: Nightcrawler Re: Upload File Form - 09/01/06 12:17 AM
Reboot, if you get a chance, please try to upload again with either the Reboot or Somebody IDs.

I made a change to each ID, but I'm not sure if it fixed the problem or not.
Posted By: Reboot Re: Upload File Form - 09/01/06 01:12 AM
No change smirk
Posted By: Nightcrawler Re: Upload File Form - 09/01/06 01:21 AM
Darn. I'll keep trying to figure it out.
Posted By: walkwithcrowds Re: Upload File Form - 10/27/06 11:15 PM
Hi Gary.
I saw your answer in the shout box, thanks.
I tried the upload link in the pictures of members thread but a box came up saying
"Unable to determine status. Please inform the board administrators about this error."
What does this mean please?
Posted By: Nightcrawler Re: Upload File Form - 10/27/06 11:57 PM
Hi,

Basically, it means you have a problem similar to Reboot's and I (at this time) have no solution for it. Sorry.

I'll try to figure it out again this weekend.
Posted By: walkwithcrowds Re: Upload File Form - 11/07/06 11:57 AM
thanks Gary.
Posted By: Nightcrawler Re: Upload File Form - 12/10/06 09:31 AM
wwc or Reboot...please try to upload an image when you have a chance.

I made changes to both these IDs based on a slight aberration between your member files and mine that work.

The only problem is the "Somebody" did not have the same aberration, so I still doubt I fixed the issue.
© Legion World