Page 1 of 1

Problem: File exceeded upload_max_filesize.

Posted: Mon Mar 30, 2015 3:20 pm
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

Posted: Mon Mar 30, 2015 6:08 pm
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.

Posted: Mon Mar 30, 2015 6:15 pm
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.

Posted: Mon Mar 30, 2015 10:27 pm
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.

Posted: Mon Mar 30, 2015 10:53 pm
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.

Posted: Tue Mar 31, 2015 8:53 am
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!

Posted: Tue Mar 31, 2015 9:46 am
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.

Posted: Tue Mar 31, 2015 10:23 pm
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.

Posted: Tue Mar 31, 2015 11:15 pm
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.

Posted: Thu Apr 02, 2015 1:54 am
by FuxieDK
Wooooot.... When I uploaded last night, for the first time EVER I was reported to be in Denmark.. :)

Posted: Thu Apr 02, 2015 3:00 pm
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.)

Posted: Fri Apr 03, 2015 2:46 pm
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.

Posted: Fri Apr 03, 2015 9:55 pm
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.

Posted: Sat Apr 04, 2015 5:58 pm
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.

Posted: Sat Apr 04, 2015 6:07 pm
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.)

Posted: Wed Apr 08, 2015 10:59 am
by chad81
The system now accepts uploads over 2mb, but there is an error when processing them.

Posted: Wed Apr 08, 2015 12:24 pm
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.

Posted: Thu May 07, 2015 3:06 pm
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.

Posted: Mon May 11, 2015 9:49 am
by chad81
I had the same problem, when my file exceeded 8.2MB my uploads were being rejected. I began using uniuploader myself.