10MB file upload limit from DA panel; please help!!!

DA31387

Verified User
Joined
Sep 21, 2011
Messages
56
My Php.ini file shows maximum upload file size at 1029MB, but I got a 10MB limit when trying files upload from DirectAdmin panel:
"Upload Files to /domains/cosmosurf.net/public_html/flash/modules/video/files Max Filesize : 10.0 MB". Can anyone help me correct that?
Thank you
 
PHP.ini directive post_max_size has nothing to do with directadmin, as directadmin has it's own limit, which you can change in directadmin:

http://admin.site-helper.com/settings.html

I know this comes up and please forgive the thread rez but why doesn't this show an error? I have experienced an issue trying to upload a database backup more than once until I figured out the answer. Spending 10-20 minutes trying to track this down is a bit frustrating, as simple of a setting as it is. Getting an ERR_CONN_TIMEOUT is not helpful.
 
@doublespaces, The reason DirectAdmin does not show a error message when you try to upload more then the upload limit, is because a bug in browsers. I have previous talked to DirectAdmin Support about it, and here is av copy of their conclusion:

Code:
I was able to reproduce this. DirectAdmin does actually send an error message, here's a sample header I was able to get by adding extra debug code to DA:

HTTP/1.1 404 Not found
Server: DirectAdmin Daemon v1.54.1 Registered to JBMC-Software.com
Connection: close
Content-Length: 19
Content-Type: text/html

filesize error<br>

But it does not show up in the browser.
It seems like a Chrome bug:
[url]https://bugs.chromium.org/p/chromium/issues/detail?id=174906[/url]

where the they Browser *should* be monitoring for a response while it's sending, but in this case it's not.
and it does not look like they're going to fix it anytime soon.

I've even change it to a header:
HTTP/1.1 413 Request Entry Too Large

for that case, but again, Chrome is not monitoring for it, so made no difference.

Anyway, it seems it's not a DA bug, but browser bug.
More info:
[url]https://stackoverflow.com/questions/18367824/how-to-cancel-http-upload-from-data-events[/url]

quote:
"Update: As of 4/15, Chrome may display your 413 HTML when you close the connection early. This only works when the browser is running on Linux and Mac OS X. 
On Windows, Chrome still displays ERR_CONNECTION_RESET network error rather than the HTML you sent. (IE 11 and Firefox 37 continue to just show a network
 error on all platforms.)"
 
Back
Top