Hi @rauhami,
Are you logged in as admin when you are attempting to upload the file? If not, can you try that and see if it makes a difference?
Another thing would be to check the PHP error logs on the site to see if you can find an error message there that corresponds with the upload failing. That might give some more answers.
Finally, as a test you can try disabling the Firewall rule “file_upload Malicious File Upload (Patterns)”. There is another rule with a very similar name, so make sure you disable this exact one. Then try the upload again.
I would not recommend you keep this Firewall rule disabled forever, but it can be disabled for testing and as a temporary fix.
Hi,
Thanks for the suggestions and sorry for a later reply.
No help for disabling the setting you mentioned. But if i disable the firewall, everything works nice and smooth.
And now noticed that wp-admin is so much faster when firewall disabled. Makes me think if it’s somewhat WF/server related conflict…
Hi @rauhami,
The WordPress admin speed should not be affected by the Firewall. I would recommend you look at two things
1. Check your sites PHP error logs to see if there are any errors there that could be related. If your site does not have error logs you can enable WP_DEBUG to get a debug.log with error messages in it.
2. Check the browser console when you’re loading your admin pages to see if there are any files that fail to load, or if there are any JavaScript errors.
You could also try turning off all Firewall rules (instead of turning of the Firewall). If that works, you know it’s one of the Firewall rules and you just have to find which one. “file_upload Malicious File Upload (Patterns)” is the only one I know have caused issues with file uploads for some people in the past though.
Hi @rauhami,
We haven’t heard back from you in a while so I’ve gone ahead and marked this thread as resolved.
if you’re still having issues with Wordfence, please feel free to open another thread.
Thanks!