Open janzen01 opened 3 years ago
My recent commits did not fix that issue. Need someone to look further into this.
@janzen01 I tested it and found out:
If you upload file in text editor, it causes error but if you upload file in special section in wp for uploading medias, everything is clear. So, I recommend you use second options in this moment and after we will fix it, I will let you know.
Interesting seems like the problem could arise from the API between the media library and the server? Will look further at how different these are. @petrkucerak
Please @petrkucerak test all plugins from blog
Any update on this? @petrkucerak your solution you showed here is not working.
Team @filiptronicek @kahy9
Uploading zip files 955 kB - Pass 7.04 MB - Error 3.01 MB - Error 2.03 MB - Error 1.89 MB - Pass 1.97 MB - Pass 2.00 MB - Error 1.99 MB - Pass => border is 2 MB
hosting --; we tested it on other wedos hostings
Maybe related:
We have now established that this is most likely due to the unfiltered_upload
permission in WordPress, which only admins by default have.
Ok, not so quick. We have checked by adding this permission to a user (me) and I still had the same error.
A quick summary from testing today: (with @petrkucerak & @kahy9 )
Administrator
role.wp-admin/includes/file.php
here:
// A properly uploaded file will pass this test. There should be no reason to override this one.
$test_uploaded_file = 'wp_handle_upload' === $action ? is_uploaded_file($file['tmp_name']) : @is_readable($file['tmp_name']);
Notions for a discussion :
require_once( ABSPATH . 'wp-admin/includes/file/php')
❔@petrkucerak This problem happened again with this file: Science Island 2021 - BBTNB.zip
I would be very happy if the problem will be fixed soon.
Hi, due to a problem discovered on Monday, I wanted to upload all the materials we have to the blog. Unfortunately, the blog does not accept .zip and .mcworld files for me. It reports an error during the check :(
Lumen Energetická výzva.zip