Photo Image Broken

I have just ugraded to version 7.10.8, i have created a custom module using Person template, the photo field is broken and error message shown as “Error retrieving record. This record may be deleted or you may not be authorized to view it.”

Is there anything I have done wrong or this is due to some kind of permission setting?

You could try checking permissions, yes, specifically on the “upload” folder.

Here is some background reading:

https://pgorod.github.io/How-Photos-Stored/

The permissions on the parent folder, and the SetUID and SetGID bits, also count to determine which permissions are assigned to new files created in that folder.

Finally, for SuiteCRM sometimes (not always) the “default_permissions” defined in config.php also apply.