Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-15493

User Profiles Photos not VIsible...

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.9, 1.9.1
    • 1.9.2
    • Accessibility
    • None
    • PHP 5.2.5 / MySQL 5.0 / Gentoo Linux / Moodle 1.9.1
    • MySQL
    • MOODLE_19_STABLE
    • 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

      Attachments

        Issue Links

          Activity

            People

              nicolasconnault Nicolas Connault
              sonu1234 sonu singh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Jul/08