Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use chunked upload for large files #1

Open
s7eph4n opened this issue Jun 9, 2016 · 0 comments
Open

Use chunked upload for large files #1

s7eph4n opened this issue Jun 9, 2016 · 0 comments

Comments

@s7eph4n
Copy link
Contributor

s7eph4n commented Jun 9, 2016

If a file exeeds post_max_size or upload_max_filesize set in php.ini the upload will fail without proper error message.

It seems that PHP does not raise an error when the file is too large and ApiUpload is not explicitly testing this error condition, so no error message is generated.
MediaWiki's own $wgMaxUploadSize is checked however.

Workaround for the moment: Raise the php.ini settings above the largest expected file size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants