XF 2.2 Error uploading attachments

MikeT

Member
Hi

2.213

I have an odd error when adding images to a post. The first image loads and displays just fine. If I then go to attach more images the thumbnail icon shows the loading bar and that seems to indicate it is uploading (takes longer on bigger image) but the thumbnail never appears and the image is not present.

xen1.png

The console shows
Code:
/attachments/upload?type=post&context[post_id]=3190296&hash=a43af69697e4040946c8c8a9a72dab23:1     Failed to load resource: the server responded with a status of 403 ()

There are no errors in AdminCP.

The attachments are stored on a DO Spaces bucket but as the first image loads and displays and all other historical images display just fine I assume all is OK there.

Any clues on where to look? What is it expecting to find that's throwing the 403?

Thanks
 
Last edited:
403 is a webserver forbidden error, most likely due to a server side security mechanism such as ModSecurity, mod_evasive, or similar.
It could even be something like the Wordfence add-on for WordPress.

Contact your host and ask them to whitelist whichever rules are being triggered, or to disable the mechanism.
 
Top Bottom