I’ve recently set up a brand new droplet and one-click Wordpress installation. Everything is now working correctly (took me a while to get SSL active) but now I’m unable to upload anything to the site.
I’ve researched a bunch and changed all max upload limits etc. checked permissions, but yet to find a fix.
Here’s what happens…
Upload Themes & Plugins: Loads briefly, then takes me to page with “The link you followed has expired.”
Can’t see any errors in the console
Upload Media:
Following WP error message: Post-processing of the image failed. If this is a photo or a large image, please scale it down to 2500 pixels and upload it again.
Error in console:
load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.3.2:10 POST https://findafloorfitter.com/wp-admin/async-upload.php 403 (Forbidden)
Site is findafloorfitter.com
Thanks in advance for any help :)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello, @Lazar96
Can you please check your upload_max_filesize
value is set to at least 50MB? You can create a php info file in order to check the current values. Create the following file in your public_hmtl folder - phpinfo.php and put the following code inside it:
<?php
phpinfo();
?>
Then check for the current value of upload_max_filesize
and post_max_size
you can also check which is the configuration file - php.ini that is currently used and apply the changes there (if the site using the global php.ini file and you change the values for these settings this will make the changes globally for all sites). Ideally you would like to have the following values:
upload_max_filesize = 64M
post_max_size = 64M
Hope this helps! Let me know how it goes.
Regards, Alex