Problem with deleted user picture after Gravatar enabled

Problem with deleted user picture after Gravatar enabled

por Jean-Marc Doucet -
Número de respostas: 9
Foto de Particularly helpful Moodlers Foto de Testers

Hi Mary,

as admin I turn ON  a gravatar picture for users without profil picture.

I deleted my profil picture  and connect again (debug ON)

Debug info:
Error code: filenotfound
Stack trace:
  • line 495 of /lib/setuplib.php: moodle_exception thrown
  • line 1803 of /lib/filelib.php: call to print_error()
  • line 81 of /draftfile.php: call to send_file_not_found()

(Edited by Mary Evans - original submission Saturday, 23 July 2016, 1:02 PM)

Em resposta a 'Jean-Marc Doucet'

Re: [ADAPTABLE] THEME SUPPORT ONLY

por Mary Evans -
Foto de Core developers Foto de Documentation writers Foto de Peer reviewers Foto de Plugin developers Foto de Testers

Hi Jean-Marc,

I know these may sound silly questions to ask but here goes anyway...

  1. is the email that you use on your site registered with Gravatar?
  2. do you have a gravatar profile connected to that email address?
  3. did you save the Admin setting after enabling the Gravatar option for your site?
  4. after deleting your site profile picture did you save that setting?
  5. have you Purged all cache since doing 3 & 4?

If YES to all of the above I think it's more a timing thing as you need to allow the Moodle data to catch up. Also I don't think it is an Adaptable problem either, unless you do not get the same using Clean theme?

Cheers

Mary

Em resposta a 'Jean-Marc Doucet'

Re: [ADAPTABLE] THEME SUPPORT ONLY

por Fernando Acedo -
Foto de Plugin developers Foto de Testers

I don't see any relationship between Gravatars and themes. Anyway I just test it and works as expected.

Please, follow the steps indicated by Mary and test also with Clean.

But in my opinion is a wrong moodle installation.

I think this topic could be moved to the General forum because not related to Adaptable or any other theme issue.





Em resposta a 'Fernando Acedo'

Re: [ADAPTABLE] THEME SUPPORT ONLY

por Jean-Marc Doucet -
Foto de Particularly helpful Moodlers Foto de Testers

Hi Fernando

This informations are only in reponse  of the @Mary's reponse  here : https://moodle.org/mod/forum/discuss.php?d=331879&parent=1357378

I thought it might help

Em resposta a 'Jean-Marc Doucet'

Re: [ADAPTABLE] THEME SUPPORT ONLY

por Mary Evans -
Foto de Core developers Foto de Documentation writers Foto de Peer reviewers Foto de Plugin developers Foto de Testers

Jean-Marc,

The settings I am talking about in that discussion are Moodle Admin settings and nothing to do with your server. Anyway you did not answer me in that discussion.

Is that problem still happening? 

Mary

Em resposta a 'Jean-Marc Doucet'

Re: [ADAPTABLE] THEME SUPPORT ONLY

por Mary Evans -
Foto de Core developers Foto de Documentation writers Foto de Peer reviewers Foto de Plugin developers Foto de Testers

Hi,

I am just wondering is you changed this setting from the one that is set by default?

gravatardefaulturl
Default: mm

Gravatar needs a default image to display if it is unable to find a picture for a given user. Provide a full URL for an image. If you leave this setting empty, Moodle will attempt to use the most appropriate default image for the page you are viewing. Note also that Gravatar has a number of codes which can be used to generate default images.

I leave this setting as mm and works OK on my test servers.

Just a thought

Mary

Em resposta a 'Mary Evans'

Re: [ADAPTABLE] THEME SUPPORT ONLY

por Jean-Marc Doucet -
Foto de Particularly helpful Moodlers Foto de Testers

Yes i changed it. and it work well piscar o olho



Em resposta a 'Jean-Marc Doucet'

Re: [ADAPTABLE] THEME SUPPORT ONLY

por Mary Evans -
Foto de Core developers Foto de Documentation writers Foto de Peer reviewers Foto de Plugin developers Foto de Testers

Magnifique nouvelles!
À votre santé