Problem: File exceeded upload_max_filesize.

Found a bug with the site? Let me know!
Post Reply
Padanfain

Problem: File exceeded upload_max_filesize.

Post by Padanfain »

The file I was trying to upload is 2.29 MB. Also, no biggie, I know this is an old issue but I'm not in Spain.

IP: 96.38.164.173
Spain
Problem: File exceeded upload_max_filesize. If you are seeing this, then your SavedVariables.lua file is too big (greater than 10meg)! To submit files this big, you need to use the UniUploader application. Find more info about it here: http://www.warcraftrealms.com/forum/viewtopic.php?t=328

Korwynd
Superior Census Taker
Posts: 25
Joined: Thu Oct 22, 2009 11:04 pm
Location: Brooklyn, NY, USA

Post by Korwynd »

The file I was uploading was 3.07MB and got this:
IP: 174.44.201.211
Germany
Problem: File exceeded upload_max_filesize. If you are seeing this, then your SavedVariables.lua file is too big (greater than 10meg)! To submit files this big, you need to use the UniUploader application. Find more info about it here: http://www.warcraftrealms.com/forum/viewtopic.php?t=328

Also I'm not in Germany.

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

What you think you are near Reno?

You would be better off in Spain.. :roll:

I will forward to Metalbeast about the limit thing..
I am apparently cut off from the data tables... a userid password glitch
oddly enough I could nuke the machine.. but not see the tables... so, I will wait until Metalbeast gets back to me with the correct info.

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

I found the problem....
and sent that on to Metalbeast
it is due to one of the security lockdowns.
old system level commands in Rollie's php code has to be relocated outside of normal user space.

Padanfain

Post by Padanfain »

bringoutyourdead wrote:What you think you are near Reno?

You would be better off in Spain.. :roll:
Ah, Reno. So close to hell I can see Sparks.

Probably true lol.

Balgair
Araiceil
Posts: 1716
Joined: Fri Sep 30, 2005 11:47 am
Location: UK

Post by Balgair »

It thinks I'm in the USA at present, guessing it uses outdated IP info to work it out. Not that it really matters, but perhaps country doesn't need to be displayed at all if it gets half of us wrong anyway ;)

Edit, as I posted this I got a nice heap of php errors at the top of the waiting to redirect page - it redirected too fast for me to actually read them or copy anything, but something about needing to set something, maybe timezone? Didn't get anything when i tried a test post, typical!

chad81
Posts: 9
Joined: Mon Feb 13, 2006 4:49 am

Post by chad81 »

I can't submit data at all, after the upload completes it displays my IP, however the rest of the confirmation dialog is missing and on my profile there is no pending submission.

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

Where is what I have found
Web uploads work if data below 2MB ... I haven't a clue why.. no code was changed.. it is a system setting somewhere.
UniUploader failed the first time I tried... and after changing my data file with another faction census run... it work? :? file was >6MB in size.

Doing deep scanning of system level stuff... (ohh .. Metalbeast really shouldn't have given me that login access. very scary!!)
I found the long standing reason why the claimed 10MB web upload limit is really 8MB [as seen by 1974ER and others]
I hate software that has layered configuration settings... the max file upload setting was 10MB but the core html posting limit was/is 8MB...

There is also a problem on the database access for this sites software... I won't go into it..
but all of the above has been sent to Metalbeast for is action.

re the Geolocation issue... did the checking on what Rollie was using.. found the provider not available and found another provider for the IPvsCountry data... and made some updates..
but the full current data needs $$.. that will be a Metalbeast decision..
though I am inclined to agree with Balgair.. and just remove the Country display.

Padanfain

Post by Padanfain »

bringoutyourdead wrote:re the Geolocation issue... did the checking on what Rollie was using.. found the provider not available and found another provider for the IPvsCountry data... and made some updates..
but the full current data needs $$.. that will be a Metalbeast decision..
though I am inclined to agree with Balgair.. and just remove the Country display.
Gets my vote too.

User avatar
FuxieDK
Census Taker
Posts: 659
Joined: Thu May 22, 2008 11:36 am
Location: Copenhagen, DK

Post by FuxieDK »

Wooooot.... When I uploaded last night, for the first time EVER I was reported to be in Denmark.. :)
Doing census mainly on Draenor; Raluf - Nimsay - Lusmo - Quixx - Sosyan - Garthog - Trubin - Zalistra - Zesmi and Djaang

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

Enjoy it while it lasted..
Country display removed from web upload (for now) as too many of our members ended up with UNKNOWN.
I haven't bothered editing the display on the Uniupload side.

Current status...
Web upload .. works up to about 2MB... I think I have the oops missed configuration fixed but need Metalbeast to verify and force a restart of the webserver (so it can use the new configuration.)

Uniupload .. works up to 2MB (compressed) which works out to about 18MB?? uncompressed. Needs same restart.

processing of files...
A Database privilege needed for certain steps of upload processing was not enabled.
This caused the processing to abort on most uploads (but not all), and killed the processing until the next kick start (hourly background process).
Metalbeast corrected that this morning.

Files that do get uploaded correctly, now process to completion. (At least as far as I have seen in the logs.)

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

sigh
I thought we had the configurations fixed.. but a web server restart (to force a re-read of the config files) failed to change the 2MB limit issue..
back to more digging on this new machine.

chad81
Posts: 9
Joined: Mon Feb 13, 2006 4:49 am

Post by chad81 »

That was likely what was causing my upload issues then, my file was 8.2MB. I purged my data now the upload works fine.

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

Balgair wrote: Edit, as I posted this I got a nice heap of php errors at the top of the waiting to redirect page - it redirected too fast for me to actually read them or copy anything, but something about needing to set something, maybe timezone? Didn't get anything when i tried a test post, typical!
Yes, I have spotted that a couple of times... it seems to happen when you need to take a bit of time to finish and submit longer posts.

not exactly sure what is going on.. but I expect something security wise has interfered.. but since it is just cosmetic.. it goes on the back burner for now.

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

bringoutyourdead wrote:Web upload .. works up to about 2MB... I think I have the oops missed configuration fixed but need Metalbeast to verify and force a restart of the webserver (so it can use the new configuration.)

Uniupload .. works up to 2MB (compressed) which works out to about 18MB?? uncompressed. Needs same restart.

processing of files...
A Database privilege needed for certain steps of upload processing was not enabled.
This caused the processing to abort on most uploads (but not all), and killed the processing until the next kick start (hourly background process).
Metalbeast corrected that this morning.

Files that do get uploaded correctly, now process to completion. (At least as far as I have seen in the logs.)
UpDate:
Modified settings and did multiple restarts.. diagnostics says settings are correct.. but system acts as if the maximum upload filesize limit hasn't updated and it still runs at default setting... sigh

file processing.. oh I guess I was wrong about that fix happening.
It took awhile.. but I finally found where and how.. and did the fix myself.
haven't seen that process killing error since the last reboot.
(means the uploaded files will clear the queue faster.)

chad81
Posts: 9
Joined: Mon Feb 13, 2006 4:49 am

Post by chad81 »

The system now accepts uploads over 2mb, but there is an error when processing them.

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

That has been an issue...
let me check the latest log to see if it continues.

sigh it was finishing processing well for more then 24hr.. and then at midnight last night. crunch.

[Long technical explanation on why I think this is happening... which I decided wasn't that interesting to users.]

I think I have a fix... more of a bandage then the solution.
but, shrug.. if it make the problem go away.. Metalbeast can figure out and apply the real solution.

Please continue census runs and uploading... I will continue to monitor and add the different bandages.. until we get the bandage on the correct wound.

User avatar
bringoutyourdead
Forums Admin & general flunky
Posts: 1432
Joined: Fri Nov 07, 2008 1:11 pm
Location: Texas, USA

Post by bringoutyourdead »

While helping the EU side prop up the low single digit realms back to having at least some data ...
I ran into the 8.2MB web upload limit.. so yup it is still there sigh.
Uniuploader allows you to get around the limit by compress the data for upload.

chad81
Posts: 9
Joined: Mon Feb 13, 2006 4:49 am

Post by chad81 »

I had the same problem, when my file exceeded 8.2MB my uploads were being rejected. I began using uniuploader myself.

Post Reply