No new user pics (ver 1.6 2005060201)

No new user pics (ver 1.6 2005060201)

Ralf Hilgenstock - келді
Number of replies: 5
Core developers қатысушының суреті Particularly helpful Moodlers қатысушының суреті Translators қатысушының суреті
After an update of the kernel to Linux 2.4.31
(Apache/1.3.27 PHP 4.3.10)
we can't add new user pics or change elder pics of users.
Existing pics are shown correctly. Other moodle installations 1.4.x on the same server are  working correctly. Changing the slasharguments has no effect.
Any idea.

Ralf
In reply to Ralf Hilgenstock

Re: No new user pics (ver 1.6 2005060201)

David Scotson - келді

Did you mean version 1.5?

I was making some changes to the image upload scripts in CVS HEAD (i.e. 1.6) around then, but it seems odd that a kernal update would trigger any change, particularly one that only affected this version of Moodle.

What kind of errors do you get?

In reply to David Scotson

Re: No new user pics (ver 1.6 2005060201)

Ralf Hilgenstock - келді
Core developers қатысушының суреті Particularly helpful Moodlers қатысушының суреті Translators қатысушының суреті
Hi David,
It's version 1.6 (dev). I get no error message. After uploading the new picture I see the old picture. It doesn't change after updating the browsers view. New user can't add a picture. But we see a empty picture field from new users after they tried to add a picture . They have no more the smiley.

Ralf
In reply to David Scotson

Re: No new user pics (ver 1.6 2005060201)

Ralf Hilgenstock - келді
Core developers қатысушының суреті Particularly helpful Moodlers қатысушының суреті Translators қатысушының суреті

Hi David,

I made today again tests and found that the new uploaded pictures are stored as user100.jpg and user35.jpg. The old f1.jpg and f2.jpg are also in the folder.

Any idea?

Ralf

In reply to Ralf Hilgenstock

Re: No new user pics (ver 1.6 2005060201)

Martin Dougiamas - келді
Core developers қатысушының суреті Documentation writers қатысушының суреті Moodle HQ қатысушының суреті Particularly helpful Moodlers қатысушының суреті Plugin developers қатысушының суреті Testers қатысушының суреті
Looks like a coding mistake ... the files should be f1.jpg and f2.jpg
In reply to Martin Dougiamas

Re: No new user pics (ver 1.6 2005060201)

David Scotson - келді

Well, not a coding mistake as such, as I fully intended the files to be differently named in order to allow for a upgrade path.

Oddly, Ralf seems to have got the file that uploads the image to a different location, but not the file that (optionally) looks for them in that location, which I'm fairly sure I checked in within minutes of each other.

But, that's neither here nor there as, on Martin's suggestion, I've rolled back this code and added a different upgrade path that leaves the filenames as they are.

However, I'm unconvinced that people should be running Moodle from an arbritrary CVS HEAD. But if they are, then updating to the latest version will probably fix their problem (and quite possibly introduce others!)