On a clean install of 4.0.5 images uploads fail regularly when uploaded via file manager.
Status bar indicates image upload is successful by reporting percentage of file uploaded, when it reached 100% - EE displays completely white screen with no errors visible. When navigating back by using the browser back buttons , file manager shows the file has not been uploaded.
When viewing page source on the blank screen code can be seen so it;s possible a CSS file has caused the page not to display an error message.
There is no consistency between the types of files that will cause the failure, some larger files upload while smaller ones fail. Files that fail do not exceed the max file upload size set in PHP, they also do not exceed the timeout limit.
The only error message that has been displayed and this is only once is:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function EllisLab\ExpressionEngine\Controller\Files\Files::upload(), 0 passed and exactly 1 expected in /home/wrwbrja980/public_html/system/ee/EllisLab/ExpressionEngine/Controller/Files/Files.php:128 Stack trace: #0 [internal function]: EllisLab\ExpressionEngine\Controller\Files\Files->upload() #1 /home/wrwbrja980/public_html/system/ee/EllisLab/ExpressionEngine/Core/Core.php(229): call_user_func_array(Array, Array) #2 /home/wrwbrja980/public_html/system/ee/EllisLab/ExpressionEngine/Core/Core.php(109): EllisLab\ExpressionEngine\Core\Core->runController(Array) #3 /home/wrwbrja980/public_html/system/ee/EllisLab/ExpressionEngine/Boot/boot.php(146): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request)) #4 /home/wrwbrja980/public_html/admin.php(147): require_once('/home/wrwbrja98...') #5 {main} thrown in /home/wrwbrja980/public_html/system/ee/EllisLab/ExpressionEngine/Controller/Files/Files.php on line 128
Server is running PHP Version 7.1.13.
Test images are between 2 and 14 mb in size.
No file size limits have been set in file upload preferences.
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```