Image issue after server migration

Yesterday due to some issues, I asked my hosting service provider to migrate to different server.

After this, I see that the icons/images in almost all part of the site's page are not displayed. Only a white images are dispalyed instead of the actual image.

For example, the Icons to be displayed in the New Members section is blank.

Please help me to find the issue in this.

  • Have you checked the data folder and its permissions?

    See this link for more help : http://docs.elgg.org/wiki/No_images

  • Thanks Webgalli for your quick response.

    I tried all the points mentioned in the link, but helped me. :(

    Make sure the data directory's path is correct in the Site Administration admin area. It should have a trailing slash.  - I have checked and its correct.

    The data directory should be readable and writeable by the web server user - Yes. The data directory mention in the Settigns is with permission of 777.

    Have updated the setting.php file with date_default_timezone_set('MY_TIME_ZONE')  too.

    I guess the last option mentioned in the link does not apply for me.

    Please help me on this to solve the problem

     

    BTW, I liked all your plugins, I am going to try them.

  • I have read some discussions on this issue in the ELGG Groups.

    I have checked the settings in the elgg_metastings and elgg_datalists tables. It looks fine.

    The data folder, which is usually out of the ELGG installation, is set to 777 permission for all files and sub-directories.

    Have executed upgrade.php too..

    I am really worrired about this. Please guide me to solve this problem.

  • When I click on any image, it says for example:

     The image “http://www.iyaffle.com/mod/file/thumbnail.php?file_guid=398&size=small” cannot be displayed because it contains errors. 

     

    Also all the profile icons properties are shown as

    http://www.iyaffle.com/_graphics/spacer.gif

  • I have found in v1.7.10 that "uncropped" icon images do not display in New Members. If you Edit the icon and crop it, it then displays. If you use the Gravitar plugin, the icon doesn't display until you crop it. Is this a bug?

     

  • Does it work for new uploads? If yes, is there any difference in file permissions/owner/group for the new files in comparison to the old files?

  • Uncropped images should display in new members on any version of Elgg.

    Server migrations can cause lost images if:

    1. The images are not copied to the new server

    2. The permissions are not set correctly (web server cannot read the images)

    3. The data root directory is not changed

    4. The filestore::dir_root metadata variable is not changed

    All of this is documented at http://docs.elgg.org/wiki/DuplicateInstallation

  • Hi Cash,

    Where does the images are stored? In the data folder provided in the Settings page?

    Due to some reason I am not able to change the permission of the views_simplecache subfolder to 777. Its currently in 755.

    The rest of the folders/files in the data directory is in 777 permission.

    Is that the reason?

  • Hi iionly,

    Editing or adding the new profile icons is fine now. The problem is with the old image files and the profile avatar icons.

    I have mentioned about the current file permission in the above post.

  • Maybe, you are not the owner of the directory ... ? try the chown -R . Google for it ... or you could contact your hosting provider ...