profile images , files , group images are missing after upgrade 1.7

we did an upgrade from 1.6  to  1.7 in our dev environment  . after the upgrade we migrated the data folder from the prod to dev . but all the profile images and group images  and files are missing .

please hlep me out   with any ideas to fix this issue

  • select distinct s1.string from elggmetastrings s1 join elggmetadata m on (s1.id = m.value_id) join elggmetastrings s2 on (s2.id = m.name_id and s2.string ="filestore::dir_root");

    this is the ouput

     

    '/Data/elgg_data/'

     

    '/opt/ibm/apache2.0/htdocs/uploadselgg/'

     

    '/data/elgg/'

     

    '/test/docroot/webdocroot/elgg_data/'

    '/qa/docroot/docroot5/webdocroot/elgg_data/'
    On the table elggmetastrings, find the row where the string isfilestore::dir_root
    '1550', 'filestore::dir_root'
    please suggest me my next steps . i am totally confused...
  • Maybe a very different reason, but I had the same issue and the problem was in a additional carriage return coming from a plugin. You could try disabling all non-core plugins and see if you get the images again.

  • Make sure you follow the upgrade instructions exactly--especially the part about running upgrade.php and copying htaccess_dist to .htaccess.

    MRA Welkers' suggestion is also a good idea.  If you edited any of the files with Notepad, you might also be encountering a BOM character problem.