Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.9, 1.9.1
-
Fix Version/s: 1.9.2
-
Component/s: Accessibility
-
Labels:None
-
Environment:PHP 5.2.5 / MySQL 5.0 / Gentoo Linux / Moodle 1.9.1
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
Some days before i have upgraded my moodle 1.8.2 to the latest moodle 1.9.1
And since then i am having problem in viewing the user images...
I browsed several forums but no success..
then i trid to upload a new image to 1 user .. and surprisingly i see that the user image i uploaded is visible now..
Then i looked into detail and went to the moodle data folder..
There i found some changes in the folder
in moodle 1.8.2 user photo was in folder
moodledata/user/240/f1.jpg ---------- here 240 is the userid of the user
but in moodle 1.9.1 it is
moodledata/user/0/240/f1.jpg --------------- here 240 is the user id..
I thought that this is the solution of all my problem..
so i mooved all my users folder into the
moodledata/user/0
but i was wrong .. the images are visible for a range of users ..
i looked in more detail and again i uploaded a new photo for USERID = 1016
and surprisingly it was saved into a new folder
moodledata/user/1000/1016
Now i have to again move all the folders mannually ...
but then also i will have no guaranty that all my user photos will be visible or not....
Here i want to ask that is there any automated script which takes cares of all the above things..
so that i do not have to do much efforts...
Before i thought that as i upgraded my moodle thus Moodle will take care of all the things but this not like that..
Help will be appreciated..
Thanks
sonu
Issue Links
| This issue duplicates: | ||||
| MDL-13957 | NOT FOUND ERRORS = /user/pix.php/2/f2.jpg after updating to 1.9 from 1.8 |
|
|
|
Hi sonu,
AFAIK the upgrade process should have copied all the user files from old dirs to new structure.
So something failed in your upgrade.... didn't you get any error?
Assigning this to Nico, that is the developer that did that... just in case he can give you some ideas... ciao