XF 2.3 Images not uploading properly?

PaulProe

Member
After an upgrade to 2.3.7, we are running into image issues. Users who have uploaded images correctly in the past, now when they upload, the only thing we are seeing is the file name.

Trying to troubleshoot the issue, I uploaded images, one as an embed, one as an attachment and both worked fine. I suspected a permissions issue so I ran analyze permissions on one of the users with the issue and nothing appeared wrong.

I logged on as the user ( we have the Logon as User plugin) and posted an image from my computer and it works fine. Thinking it was a user issue, I asked another admin to post a test picture.

He posted a picture and after the upload, it appeared fine. I checked the thread and it was not showing the image, just the file name. I questioned him, he refreshed his browser, then his image disappeared also, showing just the file name.

Our host runs ModSecurity but has been for quite some time without issues. I saw the thread on it so I went into the cPanel and disabled it. Made no difference

Any ideas on where to begin to figure this out?

Side question - should we roll back the 2.3.7 upgrade? is there a way to do that short of a database/forum folder restore?

Thanks

Paul
 
M@rc suggested a plugin which we had installed was the probable culprit, but deleting the plugin and its files did not resolve the issue

I saw where ModSecurity could be an issue but disabling it had no affect. Our host also whitelisted the necessary items to belt/suspender but that has made no difference either

The real confusing thing is I as the admin can upload images without issues. Yet another admin with identical permissions has issues. He uploads an image it appears till he refreshes the browser, then he gets the broken image file name which if he tries to follow, gets an error stating the file can not be found

Ideas?
 
Side question - should we roll back the 2.3.7 upgrade? is there a way to do that short of a database/forum folder restore?
This is not possible. You would have to restore a backup copy of the site before you did the upgrade. But, I don't think 2.3.7 is the issue... we (and many others) are using 2.3.7 without issues related to uploading attachments.

The real confusing thing is I as the admin can upload images without issues. Yet another admin with identical permissions has issues. He uploads an image it appears till he refreshes the browser, then he gets the broken image file name which if he tries to follow, gets an error stating the file can not be found
Are you testing with the same browser & browser version? For those who are having the issue, you may want look at the browser console for errors. (right-click, "inspect", F12 or Command+Option+J on Mac, in most cases)

And, I guess you aren't seeing any errors on the server? (Either XF error log or actual webserver error logs)
 
Back
Top Bottom