Hi,
I run website on localhost using XAMPP, I create upload folder with these settings:
Upload file as text, pdf ok but when upload image, it notice:
Cannot Upload File
Thumbnail could not be created for the image. Please make sure the thumbnail directory is writable.
It create “_thumbs” folder inside “uploads” folder but not upload image.
Is it problem because folder’s atrributes is read-only? Because I can’t change this after save.
Thank!
P/S: EE 2 with PHP 5 working, but EE 5.2.6 with PHP 7.3.9 not working.
Windows file permissions for lamp settings can be really tricky. First off make sure you are running xamp with administrator privileges , easiest way is to right click on the short cut and choose run as administrator .
Then right click on your images folder and select properties , then go to security and check that your user or group has full permissions allowed for that folder .If it doesn’t edit it and give full permissions. All of this is dependent on you having full admin rights to the computer
If you can upload a small image but not a larger one, it’s highly likely it’s a server setting. Either allowed upload size, memory, allowed post size- something along those lines.
So- make sure you have plenty of php memory- check in phpinfo in the control panel (utilities- PHP info). I go at least 256, my local is on 500.
Also check: upload_max_filesize and post_max_size.
It really sounds like that’s the problem if you can upload smaller files.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.