chamilo-lms icon indicating copy to clipboard operation
chamilo-lms copied to clipboard

Image uploaded to profile is not reflecting

Open rajeekum opened this issue 6 years ago • 4 comments

Describe Goto - UserProfile and upload image. I see i mage is not reflected in profile. To Reproduce Steps to reproduce the behavior:

  1. Go to 'Edit Profile", Browse Image and select your image to upload.
  2. After image is uploaded successfully, I don't see it's been reflected. Earlier it was working fine.
  3. when i try to see source of image app/upload/users/2/220/220_5ea16bc8d8c29_Kannu.jpg?rand=5ea16bfaf3332 404 Not Found The resource requested could not be found on this server!

Expected behavior Image should be uploaded and reflected in user profile.

Screenshots NA

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: chrome, firefox.

**Server

  • OS: Linux Ubuntu 18.04
  • Version of Chamilo: 1.11.10
  • Version of PHP: 7.2

rajeekum avatar Apr 23 '20 10:04 rajeekum

Define "earlier"... when was it working?

ywarnier avatar Apr 24 '20 13:04 ywarnier

Same release of Chamilo: 1.11.10. I am not sure, what went wrong as I didn't make any modifications.

rajeekum avatar Apr 25 '20 00:04 rajeekum

I tried to debug using inspect component. I am getting error as mentioned below. Files are present at /app/upload/users/1/103 attached screenshot for small_103_5ea3b964aa7a1_Kannu.jpg:1 Failed to load resource: the server responded with a status of 404 () Please note: I have performed Cache and temp Cleanup.

File_not_Available1

rajeekum avatar Apr 25 '20 16:04 rajeekum

Fixed this issues. Permission issue.

rajeekum avatar Apr 28 '20 17:04 rajeekum