By Lazar96
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 :)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.