Hi, I’m having trouble with File Uploads recently on a new build site.
If I upload an image to a specific directory, the file does upload (file appears in the folder and thumbnails are generated), but the spinning indicator keeps spinning.
It gets even weirder when it’s only on certain directories. I can upload the same image to a different directory and have it work with no problems. What I’ve checked so far
- Checked permissions and owners (it will still warn me if it isn’t writable anyway)
- Deleted and re-added the same file upload directory
- That the paths are correct. I’ve tried relative paths and absolute paths. (they must be correct because the image does show in the right folder)
- Override the file upload paths in config / Not override the paths = no difference.
I thought the problem might be with the actual directory - so, for example I created a directory called “ads” and it had issues. I renamed the folder to “banners” and it worked with no issue. Tried on a folder called ‘user’ but no dice.
I have a theory it has issues with file upload directories / names i have used in the past but deleted. They are definitely getting removed from the upload table in the database, should I check somewhere else?