XF 2.3 Attachments issue on 2.3.6

neon tetra

Member
Attachments are not getting uploaded on xf 2.3.6. Tried it on multiple browsers, from different accounts, different attachment extensions, disabled all add-ons and it just doesn't upload properly to display the thumbnail and get attached to the post.

Seeing no errors whatsoever to investigate this any other way.

PHP version 8.3.16

Please assist to resolve this.

View attachment 1.mov
 
What else did you do to prepare for the upgrade? Upgrade PHP? Change servers? Anything like that?

I would guess that this is something to do with an incompatible add-on or, alternatively, if the general environment has changed I'd look at maybe if you're using Imagick to process images and if so whether that is still available on the server.

You could also try switching to the GD processor to see if that resolves the issue.
 
What else did you do to prepare for the upgrade? Upgrade PHP? Change servers? Anything like that?

I would guess that this is something to do with an incompatible add-on or, alternatively, if the general environment has changed I'd look at maybe if you're using Imagick to process images and if so whether that is still available on the server.

You could also try switching to the GD processor to see if that resolves the issue.

This is on my test site but my live one is still on 2.2.17 and I only configured cloudfare after upgrading my test site to 2.3.

However, after your last post, I wondered about my upgrade process too and discovered that I am having the same issue on my live site too lol.

So I turned off modsecurity from cpanel and now I am able to attach files without any issue on both xf versions.

Can't keep the modsecurity disabled I reckon... so what do you recommend in this scenario?
 
This is on my test site but my live one is still on 2.2.17 and I only configured cloudfare after upgrading my test site to 2.3.

However, after your last post, I wondered about my upgrade process too and discovered that I am having the same issue on my live site too lol.

So I turned off modsecurity from cpanel and now I am able to attach files without any issue on both xf versions.

Can't keep the modsecurity disabled I reckon... so what do you recommend in this scenario?
 
In the .htaccess i fiend this.
But when i remove the # nothing changes.


# Mod_security can interfere with uploading of content such as attachments. If you
# cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
# SecFilterEngine Off
# SecFilterScanPOST Off
#</IfModule>

ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 405 default
ErrorDocument 406 default
ErrorDocument 500 default
ErrorDocument 501 default
ErrorDocument 503 default
 
Back
Top Bottom