When uploading a user profile photo in Suitecrm 8.8, the photo doesnāt not display. The photo uploads correctly to the upload directory but it is missing the png extension. Example: 4654c8df-0014-aae6-0838-67f69c1d5c09_photo
I have tried multiple .png and .jpg photos with different dimensions. It didnāt solve the problem.
There is no problem when uploading image to āCurrent Logoā in system settings, user interface.
Is this a bug or there is something wrong with my installation?
Are you trying to update the profile image? That does not work in the SuiteCRM. It will only show you the image name & if you click on it. It will download it for you in the v8.
In version 7, we could see the image in the user management, but still it will not show it in the profile icon on the top-right corner.
So, it is a bug and maybe someone already raise it on the GitHub.
This is the error. It looks like the fix is pretty easy for someone that understands this, thereās a missing field in the USER database table
Tue Aug 12 2025 at 11:13:54 [644014][1][FATAL] Query Failed: SELECT filename name FROM users WHERE users.id= ā1_photo10ā: MySQL error 1054: Unknown column āfilenameā in āfield listā
Thatās fine. We are trying to ascertain why the images wonāt show and the missing field in the DB seems to point to the problem.
Tue Aug 12 2025 at 11:13:54 [644014][1][FATAL] Query Failed: SELECT filename name FROM users WHERE users.id= ā1_photo10ā: MySQL error 1054: Unknown column āfilenameā in āfield listā
I thought I would rename the file in the upload directory to 1_photo10.
Thatās when the error shows in the log.
Sat Aug 16 2025 at 22:22:04 [312833][1][FATAL] Mysqli_query failed.
Sat Aug 16 2025 at 22:22:04 [312833][1][FATAL] Query Failed: SELECT filename name FROM users WHERE users.id= ā1_photo10ā: MySQL error 1054: Unknown column āfilenameā in āfield listā
That resolved the user profile photo. It now shows when i edit my profile. I would have thought it would also show in place of the placeholder on the top right but doesnāt, nor do I know if itās supposed to
But that didnt resolved the product issue and I added a comment there