Announcement

Collapse
No announcement yet.

Image Issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Image Issue

    Hello again,

    After some time, I think that after a period of 2 months, I see that the images are like this. I need to input them again. I do this every 2 months.

    Click image for larger version

Name:	image.png
Views:	138
Size:	7.9 KB
ID:	108014
    Click image for larger version

Name:	image.png
Views:	93
Size:	6.0 KB
ID:	108015
    In the upload folder, I find the ID

    Click image for larger version

Name:	image.png
Views:	138
Size:	12.8 KB
ID:	108016​​

  • #2
    some questions about this:

    1. do you change anything in the mySQL Database in the mentioned period?
    2. do a right click on the broken image, copy the link and compare the ID in this link with the ID of the image in the upload folder. It should be the same.
    3. If it is not the same ID, that means, that the image is not actually referenced in the database. This might happen, if you for example recover your database with an older backup, where the image perhaps had another ID.
    4. Any hint in the log file?

    Comment


    • #3
      1 - No
      2 - ?entryPoint=image&id=66563d0d9ee98c3e6 Yes, the same ID.
      Click image for larger version

Name:	image.png
Views:	95
Size:	5.7 KB
ID:	108023
      3 - the same ID.
      4 -​ : No, nothing in the log journal.​
      Attached Files

      Comment


      • #4
        can you copy the file name of the image and paste here?

        Comment


        • #5
          "logoId":"66563d0d9ee98c3e6","logoName":null

          Comment


          • #6
            If I understand correctly, the name must be filled in. Is that the error? I accessed another image that works, and I see that the name is filled in with x.jpg​

            Comment


            • #7
              maybe the "null" name is caused by the filename. I asked for that, because espoCRM (as webservers in general) can cause problems with not well formed file names. For example, the filename should be in small letters, no spaces, no special chars etc.. I already had issues with not well formed file names. Because of that I guessed, it could be your problem.

              Comment


              • #8
                What is the solution ?

                Comment


                • shalmaxb
                  shalmaxb commented
                  Editing a comment
                  what is the filename of the image you upload?

              • #9
                Do you have "cleanupOrphanAttachments" set to true in the config? If the field is created manually, it can be that an attachment record gets no a parent or related record. The system then deletes the attachment with the cleanup job. Note that this parameter is disabled by default.

                Comment


                • BigBoss
                  BigBoss commented
                  Editing a comment
                  cleanupOrphanAttachments is already deactivated, and for the field it is created manually
              Working...
              X